API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf. ComponentUI View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      ComponentUI
Implements
Subclasses
Description
publicabstract abstract class ComponentUI
  The base class for all UI delegate objects in the Swing pluggable look and feel architecture.
See also:    JComponent UIManager
Constructors
public ComponentUI ()
  Sole constructor.
Methods
Hide/Show inherited methods
public boolean contains (JComponent c, int x, int y)
  Returns true if the specified x,y location is contained within the look and feel's defined shape of the specified component.
publicstatic ComponentUI createUI (JComponent c)
  Returns an instance of the UI delegate for the specified component.
public Accessible getAccessibleChild (JComponent c, int i)
  Returns the ith Accessible child of the object.
public int getAccessibleChildrenCount (JComponent c)
  Returns the number of accessible children in the object.
public int getBaseline (JComponent c, int width, int height)
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c)
  Returns an enum indicating how the baseline of he component changes as the size changes.
public Dimension getMaximumSize (JComponent c)
  Returns the specified component's maximum size appropriate for the look and feel.
public Dimension getMinimumSize (JComponent c)
  Returns the specified component's minimum size appropriate for the look and feel.
public Dimension getPreferredSize (JComponent c)
  Returns the specified component's preferred size appropriate for the look and feel.
public void installUI (JComponent c)
  Configures the specified component appropriate for the look and feel.
public void paint (Graphics g, JComponent c)
  Paints the specified component appropriate for the look and feel.
public void uninstallUI (JComponent c)
  Reverses configuration which was done on the specified component during installUI.
public void update (Graphics g, JComponent c)
  Notifies this UI delegate that it's time to paint the specified component.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar