| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| private class | |
| public class | BasicColorChooserUI.
This class should be treated as a "protected" inner class. |
| Modifier and Type | Field and Description |
|---|---|
| protected JColorChooser | chooser
JColorChooser this BasicColorChooserUI is installed on. |
| protected AbstractColorChooserPanel[] | defaultChoosers
The array of default color choosers. |
| private static TransferHandler | |
| private BasicColorChooserUI. | |
| pack-priv boolean | |
| protected ChangeListener | previewListener
The instance of |
| pack-priv JComponent | |
| pack-priv JPanel | |
| protected PropertyChangeListener | propertyChangeListener
The instance of |
| pack-priv JPanel | |
| pack-priv JTabbedPane |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AbstractColorChooserPanel[] | Returns: an array of default color choosersReturns an array of default color choosers. |
| protected PropertyChangeListener | Returns: an instance ofPropertyChangeListenerReturns an instance of |
| public static ComponentUI | Returns: a new instance ofBasicColorChooserUIa component c)Hides javax. Returns a new instance of |
| private BasicColorChooserUI. | |
| protected void | |
| protected void | |
| protected void | |
| public void | installUI(JComponent c)
Overrides javax. Configures the specified component appropriately for the look and feel. |
| private void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| public void | uninstallUI(JComponent c)
Overrides javax. Reverses configuration which was done on the specified component during
|
| chooser | back to summary |
|---|---|
| protected JColorChooser chooser JColorChooser this BasicColorChooserUI is installed on.
| |
| defaultChoosers | back to summary |
|---|---|
| protected AbstractColorChooserPanel[] defaultChoosers The array of default color choosers. | |
| defaultTransferHandler | back to summary |
|---|---|
| private static TransferHandler defaultTransferHandler | |
| handler | back to summary |
|---|---|
| private BasicColorChooserUI. | |
| isMultiPanel | back to summary |
|---|---|
| pack-priv boolean isMultiPanel | |
| previewListener | back to summary |
|---|---|
| protected ChangeListener previewListener The instance of | |
| previewPanel | back to summary |
|---|---|
| pack-priv JComponent previewPanel | |
| previewPanelHolder | back to summary |
|---|---|
| pack-priv JPanel previewPanelHolder | |
| propertyChangeListener | back to summary |
|---|---|
| protected PropertyChangeListener propertyChangeListener The instance of | |
| singlePanel | back to summary |
|---|---|
| pack-priv JPanel singlePanel | |
| tabbedPane | back to summary |
|---|---|
| pack-priv JTabbedPane tabbedPane | |
| BasicColorChooserUI | back to summary |
|---|---|
| public BasicColorChooserUI() Constructs a | |
| createDefaultChoosers | back to summary |
|---|---|
| protected AbstractColorChooserPanel[] createDefaultChoosers() Returns an array of default color choosers.
| |
| createPropertyChangeListener | back to summary |
|---|---|
| protected PropertyChangeListener createPropertyChangeListener() Returns an instance of
| |
| createUI | back to summary |
|---|---|
| public static ComponentUI createUI(JComponent c) Hides javax. Returns a new instance of
| |
| getHandler | back to summary |
|---|---|
| private BasicColorChooserUI. | |
| installDefaults | back to summary |
|---|---|
| protected void installDefaults() Installs default properties. | |
| installListeners | back to summary |
|---|---|
| protected void installListeners() Registers listeners. | |
| installPreviewPanel | back to summary |
|---|---|
| protected void installPreviewPanel() Installs preview panel. | |
| installUI | back to summary |
|---|---|
| public void installUI(JComponent c) Overrides javax. Doc from javax. Configures the specified component appropriately for the look and feel.
This method is invoked when the
| |
| selectionChanged | back to summary |
|---|---|
| private void selectionChanged(ColorSelectionModel model) | |
| uninstallDefaultChoosers | back to summary |
|---|---|
| protected void uninstallDefaultChoosers() Uninstalls default color choosers. | |
| uninstallDefaults | back to summary |
|---|---|
| protected void uninstallDefaults() Uninstalls default properties. | |
| uninstallListeners | back to summary |
|---|---|
| protected void uninstallListeners() Unregisters listeners. | |
| uninstallPreviewPanel | back to summary |
|---|---|
| protected void uninstallPreviewPanel() Removes installed preview panel from the UI delegate.
| |
| uninstallUI | back to summary |
|---|---|
| public void uninstallUI(JComponent c) Overrides javax. Doc from javax. Reverses configuration which was done on the specified component during
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| ColorTransferHandler | back to summary |
|---|---|
| pack-priv ColorTransferHandler() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | mouseClicked(MouseEvent evt)
Implements java. Invoked when the mouse button has been clicked (pressed and released) on a component. |
| public void | mouseEntered(MouseEvent evt)
Implements java. Invoked when the mouse enters a component. |
| public void | mouseExited(MouseEvent evt)
Implements java. Invoked when the mouse exits a component. |
| public void | mousePressed(MouseEvent evt)
Implements java. Invoked when a mouse button has been pressed on a component. |
| public void | mouseReleased(MouseEvent evt)
Implements java. Invoked when a mouse button has been released on a component. |
| public void | propertyChange(PropertyChangeEvent evt)
Implements java. This method gets called when a bound property is changed. |
| public void | stateChanged(ChangeEvent evt)
Implements javax. Invoked when the target of the listener has changed its state. |
| Handler | back to summary |
|---|---|
| private Handler() | |
| mouseClicked | back to summary |
|---|---|
| public void mouseClicked(MouseEvent evt) Implements java. Doc from java. Invoked when the mouse button has been clicked (pressed and released) on a component. | |
| mouseEntered | back to summary |
|---|---|
| public void mouseEntered(MouseEvent evt) Implements java. Doc from java. Invoked when the mouse enters a component. | |
| mouseExited | back to summary |
|---|---|
| public void mouseExited(MouseEvent evt) Implements java. Doc from java. Invoked when the mouse exits a component. | |
| mousePressed | back to summary |
|---|---|
| public void mousePressed(MouseEvent evt) Implements java. Doc from java. Invoked when a mouse button has been pressed on a component. | |
| mouseReleased | back to summary |
|---|---|
| public void mouseReleased(MouseEvent evt) Implements java. Doc from java. Invoked when a mouse button has been released on a component. | |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent evt) Implements java. Doc from java. This method gets called when a bound property is changed. | |
| stateChanged | back to summary |
|---|---|
| public void stateChanged(ChangeEvent evt) Implements javax. Doc from javax. Invoked when the target of the listener has changed its state. | |
BasicColorChooserUI.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | propertyChange(PropertyChangeEvent e)
Implements java. This method gets called when a bound property is changed. |
| PropertyHandler | back to summary |
|---|---|
| public PropertyHandler() Constructs a | |
| propertyChange | back to summary |
|---|---|
| public void propertyChange(PropertyChangeEvent e) Implements java. Doc from java. This method gets called when a bound property is changed. | |