Java Platform 1.2

javax.swing.plaf.basic
Class BasicColorChooserUI

java.lang.Object
  |
  +--javax.swing.plaf.ComponentUI
        |
        +--javax.swing.plaf.ColorChooserUI
              |
              +--javax.swing.plaf.basic.BasicColorChooserUI

public class BasicColorChooserUI
extends ColorChooserUI

Provides the basic look and feel for a JColorChooser.


Inner Class Summary
 class BasicColorChooserUI.PropertyHandler
          This inner class is marked "public" due to a compiler bug.
 
Field Summary
protected  AbstractColorChooserPanel[] defaultChoosers
           
protected  ChangeListener previewListener
           
protected  PropertyChangeListener propertyChangeListener
           
 
Constructor Summary
BasicColorChooserUI()
           
 
Method Summary
protected  AbstractColorChooserPanel[] createDefaultChoosers()
           
protected  PropertyChangeListener createPropertyChangeListener()
           
static ComponentUI createUI(JComponent c)
           
protected  void installDefaults()
           
protected  void installListeners()
           
protected  void installPreviewPanel()
           
 void installUI(JComponent c)
           
protected  void uninstallDefaultChoosers()
           
protected  void uninstallDefaults()
           
protected  void uninstallListeners()
           
 void uninstallUI(JComponent c)
           
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, getPreferredSize, paint, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultChoosers

protected AbstractColorChooserPanel[] defaultChoosers

previewListener

protected ChangeListener previewListener

propertyChangeListener

protected PropertyChangeListener propertyChangeListener
Constructor Detail

BasicColorChooserUI

public BasicColorChooserUI()
Method Detail

createUI

public static ComponentUI createUI(JComponent c)

createDefaultChoosers

protected AbstractColorChooserPanel[] createDefaultChoosers()

uninstallDefaultChoosers

protected void uninstallDefaultChoosers()

installUI

public void installUI(JComponent c)
Overrides:
installUI in class ComponentUI

uninstallUI

public void uninstallUI(JComponent c)
Overrides:
uninstallUI in class ComponentUI

installPreviewPanel

protected void installPreviewPanel()

installDefaults

protected void installDefaults()

uninstallDefaults

protected void uninstallDefaults()

installListeners

protected void installListeners()

createPropertyChangeListener

protected PropertyChangeListener createPropertyChangeListener()

uninstallListeners

protected void uninstallListeners()

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.