public class BasicColorSelectorPanelUI extends ColorSelectorPanelUI
JColorSelectorPanel
.Modifier and Type | Class | Description |
---|---|---|
protected class |
BasicColorSelectorPanelUI.PanelLayout |
Modifier and Type | Field | Description |
---|---|---|
protected JLabel |
captionLabel |
|
protected JPanel |
colorSelectorContainer |
|
protected JColorSelectorPanel |
colorSelectorPanel |
Constructor | Description |
---|---|
BasicColorSelectorPanelUI() |
Modifier and Type | Method | Description |
---|---|---|
static ComponentUI |
createUI(JComponent c) |
|
protected 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(JComponent c) |
|
void |
paint(Graphics g,
JComponent c) |
|
protected void |
paintBottomDivider(Graphics g,
int x,
int y,
int width,
int height) |
|
protected void |
paintCaptionBackground(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(JComponent c) |
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
protected JColorSelectorPanel colorSelectorPanel
protected JLabel captionLabel
protected JPanel colorSelectorContainer
public static ComponentUI createUI(JComponent c)
public void installUI(JComponent c)
installUI
in class ComponentUI
public void uninstallUI(JComponent c)
uninstallUI
in class ComponentUI
protected void installListeners()
protected void uninstallListeners()
protected void installDefaults()
protected void uninstallDefaults()
protected void installComponents()
protected void uninstallComponents()
public void paint(Graphics g, JComponent c)
paint
in class ComponentUI
protected void paintBottomDivider(Graphics g, int x, int y, int width, int height)
protected void paintCaptionBackground(Graphics g, int x, int y, int width, int height)
protected int getLayoutGap()