SynthColorChooserUI
public class BasicColorChooserUI extends ColorChooserUI
Modifier and Type | Class | Description |
---|---|---|
class |
BasicColorChooserUI.PropertyHandler |
This class should be treated as a "protected" inner class. |
Modifier and Type | Field | Description |
---|---|---|
protected JColorChooser |
chooser |
JColorChooser this BasicColorChooserUI is installed on. |
protected AbstractColorChooserPanel[] |
defaultChoosers |
The array of default color choosers. |
protected ChangeListener |
previewListener |
The instance of ChangeListener . |
protected PropertyChangeListener |
propertyChangeListener |
The instance of PropertyChangeListener . |
Constructor | Description |
---|---|
BasicColorChooserUI() |
Constructs a BasicColorChooserUI . |
Modifier and Type | Method | Description |
---|---|---|
protected AbstractColorChooserPanel[] |
createDefaultChoosers() |
Returns an array of default color choosers. |
protected PropertyChangeListener |
createPropertyChangeListener() |
Returns an instance of PropertyChangeListener . |
static ComponentUI |
createUI |
Returns a new instance of BasicColorChooserUI . |
protected void |
installDefaults() |
Installs default properties. |
protected void |
installListeners() |
Registers listeners. |
protected void |
installPreviewPanel() |
Installs preview panel. |
protected void |
uninstallDefaultChoosers() |
Uninstalls default color choosers. |
protected void |
uninstallDefaults() |
Uninstalls default properties. |
protected void |
uninstallListeners() |
Unregisters listeners. |
protected void |
uninstallPreviewPanel() |
Removes installed preview panel from the UI delegate. |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, installUI, paint, uninstallUI, update
protected JColorChooser chooser
protected AbstractColorChooserPanel[] defaultChoosers
protected ChangeListener previewListener
ChangeListener
.protected PropertyChangeListener propertyChangeListener
PropertyChangeListener
.public BasicColorChooserUI()
BasicColorChooserUI
.public static ComponentUI createUI(JComponent c)
BasicColorChooserUI
.c
- a componentBasicColorChooserUI
protected AbstractColorChooserPanel[] createDefaultChoosers()
protected void uninstallDefaultChoosers()
protected void installPreviewPanel()
protected void uninstallPreviewPanel()
protected void installDefaults()
protected void uninstallDefaults()
protected void installListeners()
protected PropertyChangeListener createPropertyChangeListener()
PropertyChangeListener
.PropertyChangeListener
protected void uninstallListeners()
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/swing/plaf/basic/BasicColorChooserUI.html