Save This Page
Home » openjdk-7 » javax » swing » plaf » synth » [javadoc | source]
javax.swing.plaf.synth
class: SynthButtonUI [javadoc | source]
java.lang.Object
   javax.swing.plaf.ComponentUI
      javax.swing.plaf.ButtonUI
         javax.swing.plaf.basic.BasicButtonUI
            javax.swing.plaf.synth.SynthButtonUI

All Implemented Interfaces:
    SynthUI, PropertyChangeListener

Direct Known Subclasses:
    SynthCheckBoxUI, SynthRadioButtonUI, SynthArrowButtonUI, SynthToggleButtonUI

Synth's ButtonUI implementation.
Fields inherited from javax.swing.plaf.basic.BasicButtonUI:
defaultTextIconGap,  defaultTextShiftOffset
Method from javax.swing.plaf.synth.SynthButtonUI Summary:
createUI,   getBaseline,   getContext,   getContext,   getDefaultIcon,   getIcon,   getMaximumSize,   getMinimumSize,   getPreferredSize,   getSizingIcon,   getTextShiftOffset,   installDefaults,   installListeners,   paint,   paint,   paintBackground,   paintBorder,   propertyChange,   uninstallDefaults,   uninstallListeners,   update,   updateStyle
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.synth.SynthButtonUI Detail:
 public static ComponentUI createUI(JComponent c) 
 public int getBaseline(JComponent c,
    int width,
    int height) 
 public SynthContext getContext(JComponent c) 
 SynthContext getContext(JComponent c,
    int state) 
 protected Icon getDefaultIcon(AbstractButton b) 
    Returns the default icon. This should NOT callback to the JComponent.
 protected Icon getIcon(AbstractButton b) 
    Returns the Icon to use in painting the button.
 public Dimension getMaximumSize(JComponent c) 
 public Dimension getMinimumSize(JComponent c) 
 public Dimension getPreferredSize(JComponent c) 
 protected Icon getSizingIcon(AbstractButton b) 
    Returns the Icon used in calculating the pref/min/max size.
 protected int getTextShiftOffset(SynthContext state) 
    Returns the amount to shift the text/icon when painting.
 protected  void installDefaults(AbstractButton b) 
 protected  void installListeners(AbstractButton b) 
 public  void paint(Graphics g,
    JComponent c) 
 protected  void paint(SynthContext context,
    Graphics g) 
  void paintBackground(SynthContext context,
    Graphics g,
    JComponent c) 
 public  void paintBorder(SynthContext context,
    Graphics g,
    int x,
    int y,
    int w,
    int h) 
 public  void propertyChange(PropertyChangeEvent e) 
 protected  void uninstallDefaults(AbstractButton b) 
 protected  void uninstallListeners(AbstractButton b) 
 public  void update(Graphics g,
    JComponent c) 
  void updateStyle(AbstractButton b)