API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.plaf.basic. BasicColorChooserUI View Source
Author(s)
Tom Santos
Steve Wilson
Since
Version
1.48 11/17/05
Serial
Hierarchy
 Object
      ComponentUI
          ColorChooserUI
              BasicColorChooserUI
Implements
Subclasses
Description
public class BasicColorChooserUI
  Provides the basic look and feel for a JColorChooser.
See also:   
Constructors
public BasicColorChooserUI ()
Methods
Hide/Show inherited methods
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 AbstractColorChooserPanel createDefaultChoosers ()
protected PropertyChangeListener createPropertyChangeListener ()
publicstatic ComponentUI createUI (JComponent c) [Overrides ComponentUI]
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 ComponentUI]
  Returns the baseline.
public BaselineResizeBehavior getBaselineResizeBehavior (JComponent c) [Inherited From ComponentUI]
  Returns an enum indicating how the baseline of he component changes as the size changes.
public Dimension getMaximumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's maximum size appropriate for the look and feel.
public Dimension getMinimumSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's minimum size appropriate for the look and feel.
public Dimension getPreferredSize (JComponent c) [Inherited From ComponentUI]
  Returns the specified component's preferred size appropriate for the look and feel.
protected void installDefaults ()
protected void installListeners ()
protected void installPreviewPanel ()
public void installUI (JComponent c) [Overrides ComponentUI]
public void paint (Graphics g, JComponent c) [Inherited From ComponentUI]
  Paints the specified component appropriate for the look and feel.
protected void uninstallDefaultChoosers ()
protected void uninstallDefaults ()
protected void uninstallListeners ()
public void uninstallUI (JComponent c) [Overrides ComponentUI]
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 JColorChooser chooser
  JColorChooser this BasicColorChooserUI is installed on.
protected AbstractColorChooserPanel defaultChoosers
pack-private boolean isMultiPanel
protected ChangeListener previewListener
pack-private JComponent previewPanel
pack-private JPanel previewPanelHolder
protected PropertyChangeListener propertyChangeListener
pack-private JPanel singlePanel
pack-private JTabbedPane tabbedPane
Nested Classes
  BasicColorChooserUI.PropertyHandler
This inner class is marked "public" due to a compiler bug.
  BasicColorChooserUI.ColorTransferHandler
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar