uic.themes
Class UICRadioButtonUI

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 uic.themes.UICRadioButtonUI
Direct Known Subclasses:
UICCheckBoxUI

public class UICRadioButtonUI
extends BasicRadioButtonUI


Field Summary
 
Fields inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
icon
 
Fields inherited from class javax.swing.plaf.basic.BasicButtonUI
defaultTextIconGap, defaultTextShiftOffset
 
Constructor Summary
UICRadioButtonUI()
           
 
Method Summary
static ComponentUI createUI(JComponent c)
           
 Dimension getMaximumSize(JComponent c)
           
 Dimension getMinimumSize(JComponent c)
           
protected  Icon getNewIcon(FontMetrics fm)
           
 Dimension getPreferredSize(JComponent c)
           
protected  void installDefaults(AbstractButton b)
           
 void paint(Graphics g, JComponent c)
           
protected  void paintFocus(Graphics g, Rectangle textRect, Dimension size)
           
protected  void uninstallDefaults(AbstractButton b)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicRadioButtonUI
getDefaultIcon, getPropertyPrefix
 
Methods inherited from class javax.swing.plaf.basic.BasicToggleButtonUI
getTextShiftOffset, paintIcon
 
Methods inherited from class javax.swing.plaf.basic.BasicButtonUI
clearTextShiftOffset, createButtonListener, getDefaultTextIconGap, installKeyboardActions, installListeners, installUI, paintButtonPressed, paintFocus, paintIcon, paintText, paintText, setTextShiftOffset, uninstallKeyboardActions, uninstallListeners, 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

UICRadioButtonUI

public UICRadioButtonUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

getMaximumSize

public Dimension getMaximumSize(JComponent c)
Overrides:
getMaximumSize in class BasicButtonUI

getPreferredSize

public Dimension getPreferredSize(JComponent c)
Overrides:
getPreferredSize in class BasicRadioButtonUI

getMinimumSize

public Dimension getMinimumSize(JComponent c)
Overrides:
getMinimumSize in class BasicButtonUI

installDefaults

protected void installDefaults(AbstractButton b)
Overrides:
installDefaults in class BasicRadioButtonUI

uninstallDefaults

protected void uninstallDefaults(AbstractButton b)
Overrides:
uninstallDefaults in class BasicRadioButtonUI

getNewIcon

protected Icon getNewIcon(FontMetrics fm)

paint

public void paint(Graphics g,
                  JComponent c)
Overrides:
paint in class BasicRadioButtonUI

paintFocus

protected void paintFocus(Graphics g,
                          Rectangle textRect,
                          Dimension size)
Overrides:
paintFocus in class BasicRadioButtonUI


Copyright © 2002-2004 Thomas Zander Available under the Free Apache licence