Home » openjdk-7 » javax » swing » plaf » basic » [javadoc | source]
javax.swing.plaf.basic
public class: BasicToggleButtonUI [javadoc | source]
java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.ButtonUI
         javax.swing.plaf.basic.BasicButtonUI
            javax.swing.plaf.basic.BasicToggleButtonUI

Direct Known Subclasses:
    BasicCheckBoxUI, MetalRadioButtonUI, BasicRadioButtonUI, MetalToggleButtonUI, MetalCheckBoxUI

BasicToggleButton implementation

Fields inherited from javax.swing.plaf.basic.BasicButtonUI:
defaultTextIconGap,  defaultTextShiftOffset
Method from javax.swing.plaf.basic.BasicToggleButtonUI Summary:
createUI,   getPropertyPrefix,   getTextShiftOffset,   paint,   paintIcon
Methods from javax.swing.plaf.basic.BasicButtonUI:
clearTextShiftOffset,   createButtonListener,   createUI,   getBaseline,   getBaselineResizeBehavior,   getDefaultTextIconGap,   getMaximumSize,   getMinimumSize,   getPreferredSize,   getPropertyPrefix,   getTextShiftOffset,   installDefaults,   installKeyboardActions,   installListeners,   installUI,   paint,   paintButtonPressed,   paintFocus,   paintIcon,   paintText,   paintText,   setTextShiftOffset,   uninstallDefaults,   uninstallKeyboardActions,   uninstallListeners,   uninstallUI
Methods from javax.swing.plaf.ComponentUI:
contains,   createUI,   getAccessibleChild,   getAccessibleChildrenCount,   getBaseline,   getBaselineResizeBehavior,   getMaximumSize,   getMinimumSize,   getPreferredSize,   installUI,   paint,   uninstallUI,   update
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.plaf.basic.BasicToggleButtonUI Detail:
 public static ComponentUI createUI(JComponent b) 
 protected String getPropertyPrefix() 
 protected int getTextShiftOffset() 
    Overriden so that the text will not be rendered as shifted for Toggle buttons and subclasses.
 public  void paint(Graphics g,
    JComponent c) 
 protected  void paintIcon(Graphics g,
    AbstractButton b,
    Rectangle iconRect)