org.tentackle.plaf.tinylaf
Class TTinyRadioButtonUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ButtonUI
          extended by javax.swing.plaf.basic.BasicButtonUI
              extended by javax.swing.plaf.basic.BasicToggleButtonUI
                  extended by javax.swing.plaf.basic.BasicRadioButtonUI
                      extended by javax.swing.plaf.metal.MetalRadioButtonUI
                          extended by de.muntjak.tinylookandfeel.TinyRadioButtonUI
                              extended by org.tentackle.plaf.tinylaf.TTinyRadioButtonUI

public class TTinyRadioButtonUI
extends de.muntjak.tinylookandfeel.TinyRadioButtonUI

UI for JRadioButton/FormRadioButton.

Author:
harald

Field Summary
 
Fields inherited from class javax.swing.plaf.metal.MetalRadioButtonUI
disabledTextColor, focusColor, selectColor
 
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
TTinyRadioButtonUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
protected  void installListeners(AbstractButton b)
           
 void paint(Graphics g, JComponent c)
          paint the radio button
protected  void paintFocus(Graphics g, Rectangle t, Dimension d)
           
protected  void uninstallListeners(AbstractButton b)
           
 
Methods inherited from class de.muntjak.tinylookandfeel.TinyRadioButtonUI
getRadioButton, installUI
 
Methods inherited from class javax.swing.plaf.metal.MetalRadioButtonUI
getDisabledTextColor, getFocusColor, getSelectColor, installDefaults, uninstallDefaults
 
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPreferredSize, getPropertyPrefix
 
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getBaseline, getBaselineResizeBehavior, getDefaultTextIconGap, getMaximumSize, getMinimumSize, installKeyboardActions, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TTinyRadioButtonUI

public TTinyRadioButtonUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

paint

public void paint(Graphics g,
                  JComponent c)
Description copied from class: javax.swing.plaf.basic.BasicRadioButtonUI
paint the radio button

Overrides:
paint in class MetalRadioButtonUI
Parameters:
g - the Graphics context in which to paint
c - the component being painted; this argument is often ignored, but might be used if the UI object is stateless and shared by multiple components
See Also:
ComponentUI.update(java.awt.Graphics, javax.swing.JComponent)

paintFocus

protected void paintFocus(Graphics g,
                          Rectangle t,
                          Dimension d)
Overrides:
paintFocus in class de.muntjak.tinylookandfeel.TinyRadioButtonUI

installListeners

protected void installListeners(AbstractButton b)
Overrides:
installListeners in class BasicButtonUI

uninstallListeners

protected void uninstallListeners(AbstractButton b)
Overrides:
uninstallListeners in class BasicButtonUI


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de