站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Class BasicColorChooserUI - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

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()

JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.