API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.metal. MetalCheckBoxUI View Source
Author(s)
Michael C. Albers
Since
Version
1.19 11/17/05
Serial
Hierarchy
 Object
      ComponentUI
          ButtonUI
              BasicButtonUI
                  BasicToggleButtonUI
                      BasicRadioButtonUI
                          MetalRadioButtonUI
                              MetalCheckBoxUI
Implements
Subclasses
Description
public class MetalCheckBoxUI
  CheckboxUI implementation for MetalCheckboxUI
See also:   
Constructors
public MetalCheckBoxUI ()
Methods
Hide/Show inherited methods
protected void clearTextShiftOffset () [Inherited From BasicButtonUI]
public boolean contains (JComponent c, int x, int y) [Inherited From ComponentUI]
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
protected BasicButtonListener createButtonListener (AbstractButton b) [Inherited From BasicButtonUI]
publicstatic ComponentUI createUI (JComponent b) [Overrides MetalRadioButtonUI]
public Accessible getAccessibleChild (JComponent c, int i) [Inherited From ComponentUI]
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c) [Inherited From ComponentUI]
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height) [Inherited From BasicButtonUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From BasicButtonUI]
  Returns an enum indicating how the baseline of the component changes as the size changes.
public Icon getDefaultIcon () [Inherited From BasicRadioButtonUI]
public int getDefaultTextIconGap (AbstractButton b) [Inherited From BasicButtonUI]
protected Color getDisabledTextColor () [Inherited From MetalRadioButtonUI]
protected Color getFocusColor () [Inherited From MetalRadioButtonUI]
public Dimension getMaximumSize (JComponent c) [Inherited From BasicButtonUI]
public Dimension getMinimumSize (JComponent c) [Inherited From BasicButtonUI]
public Dimension getPreferredSize (JComponent c) [Inherited From BasicRadioButtonUI]
The preferred size of the radio button
public String getPropertyPrefix () [Overrides BasicRadioButtonUI]
protected Color getSelectColor () [Inherited From MetalRadioButtonUI]
protected int getTextShiftOffset () [Inherited From BasicToggleButtonUI]
Overriden so that the text will not be rendered as shifted for Toggle buttons and subclasses.
public void installDefaults (AbstractButton b) [Overrides MetalRadioButtonUI]
protected void installKeyboardActions (AbstractButton b) [Inherited From BasicButtonUI]
protected void installListeners (AbstractButton b) [Inherited From BasicButtonUI]
public void installUI (JComponent c) [Inherited From BasicButtonUI]
publicsynchronized void paint (Graphics g, JComponent c) [Inherited From MetalRadioButtonUI]
protected void paintButtonPressed (Graphics g, AbstractButton b) [Inherited From BasicButtonUI]
protected void paintFocus (Graphics g, AbstractButton b, Rectangle viewRect, Rectangle textRect, Rectangle iconRect) [Inherited From BasicButtonUI]
protected void paintFocus (Graphics g, Rectangle t, Dimension d) [Inherited From MetalRadioButtonUI]
protected void paintIcon (Graphics g, AbstractButton b, Rectangle iconRect) [Inherited From BasicToggleButtonUI]
protected void paintIcon (Graphics g, JComponent c, Rectangle iconRect) [Inherited From BasicButtonUI]
protected void paintText (Graphics g, AbstractButton b, Rectangle textRect, String text) [Inherited From BasicButtonUI]
  Method which renders the text of the current button.
protected void paintText (Graphics g, JComponent c, Rectangle textRect, String text) [Inherited From BasicButtonUI]
  As of Java 2 platform v 1.4 this method should not be used or overriden.
protected void setTextShiftOffset () [Inherited From BasicButtonUI]
protected void uninstallDefaults (AbstractButton b) [Overrides MetalRadioButtonUI]
protected void uninstallKeyboardActions (AbstractButton b) [Inherited From BasicButtonUI]
protected void uninstallListeners (AbstractButton b) [Inherited From BasicButtonUI]
public void uninstallUI (JComponent c) [Inherited From BasicButtonUI]
public void update (Graphics g, JComponent c) [Inherited From ComponentUI]
  Notifies this UI delegate that it's time to paint the specified component.
Fields
Hide/Show inherited fields
protected int defaultTextIconGap [Inherited From BasicButtonUI]
protected int defaultTextShiftOffset [Inherited From BasicButtonUI]
protected Color disabledTextColor [Inherited From MetalRadioButtonUI]
protected Color focusColor [Inherited From MetalRadioButtonUI]
protected Icon icon [Inherited From BasicRadioButtonUI]
protected Color selectColor [Inherited From MetalRadioButtonUI]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar