SubstanceColorSelectorPanelUIpublic abstract class BasicColorSelectorPanelUI extends ColorSelectorPanelUI
JColorSelectorPanel.| Modifier and Type | Class | Description |
|---|---|---|
protected class |
BasicColorSelectorPanelUI.PanelLayout |
| Modifier and Type | Field | Description |
|---|---|---|
protected javax.swing.JLabel |
captionLabel |
|
protected javax.swing.JPanel |
colorSelectorContainer |
|
protected JColorSelectorPanel |
colorSelectorPanel |
| Constructor | Description |
|---|---|
BasicColorSelectorPanelUI() |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract int |
getLayoutGap() |
Returns the layout gap for button panel components.
|
protected void |
installComponents() |
Installs subcomponents on the associated color selector panel.
|
protected void |
installDefaults() |
Installs defaults on the associated color selector panel.
|
protected void |
installListeners() |
Installs listeners on the associated color selector panel.
|
void |
installUI(javax.swing.JComponent c) |
|
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c) |
|
protected abstract void |
paintBottomDivider(java.awt.Graphics g,
int x,
int y,
int width,
int height) |
|
protected abstract void |
paintCaptionBackground(java.awt.Graphics g,
int x,
int y,
int width,
int height) |
|
protected void |
uninstallComponents() |
Uninstalls subcomponents from the associated color selector panel.
|
protected void |
uninstallDefaults() |
Uninstalls defaults from the associated color selector panel.
|
protected void |
uninstallListeners() |
Uninstalls listeners from the associated color selector panel.
|
void |
uninstallUI(javax.swing.JComponent c) |
protected JColorSelectorPanel colorSelectorPanel
protected javax.swing.JLabel captionLabel
protected javax.swing.JPanel colorSelectorContainer
public void installUI(javax.swing.JComponent c)
installUI in class javax.swing.plaf.ComponentUIpublic void uninstallUI(javax.swing.JComponent c)
uninstallUI in class javax.swing.plaf.ComponentUIprotected void installListeners()
protected void uninstallListeners()
protected void installDefaults()
protected void uninstallDefaults()
protected void installComponents()
protected void uninstallComponents()
public void paint(java.awt.Graphics g,
javax.swing.JComponent c)
paint in class javax.swing.plaf.ComponentUIprotected abstract void paintBottomDivider(java.awt.Graphics g,
int x,
int y,
int width,
int height)
protected abstract void paintCaptionBackground(java.awt.Graphics g,
int x,
int y,
int width,
int height)
protected abstract int getLayoutGap()