Class BasicColorSelectorPanelUI
java.lang.Object
javax.swing.plaf.ComponentUI
org.pushingpixels.flamingo.internal.ui.common.popup.ColorSelectorPanelUI
org.pushingpixels.flamingo.internal.ui.common.popup.BasicColorSelectorPanelUI
Basic UI for color selector panel
JColorSelectorPanel
.-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentUI
protected int
Returns the layout gap for button panel components.protected void
Installs subcomponents on the associated color selector panel.protected void
Installs defaults on the associated color selector panel.protected void
Installs listeners on the associated color selector panel.void
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
Uninstalls subcomponents from the associated color selector panel.protected void
Uninstalls defaults from the associated color selector panel.protected void
Uninstalls listeners from the associated color selector panel.void
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize, update
-
Field Details
-
colorSelectorPanel
-
captionLabel
-
colorSelectorContainer
-
-
Constructor Details
-
BasicColorSelectorPanelUI
public BasicColorSelectorPanelUI()
-
-
Method Details
-
createUI
-
installUI
- Overrides:
installUI
in classComponentUI
-
uninstallUI
- Overrides:
uninstallUI
in classComponentUI
-
installListeners
protected void installListeners()Installs listeners on the associated color selector panel. -
uninstallListeners
protected void uninstallListeners()Uninstalls listeners from the associated color selector panel. -
installDefaults
protected void installDefaults()Installs defaults on the associated color selector panel. -
uninstallDefaults
protected void uninstallDefaults()Uninstalls defaults from the associated color selector panel. -
installComponents
protected void installComponents()Installs subcomponents on the associated color selector panel. -
uninstallComponents
protected void uninstallComponents()Uninstalls subcomponents from the associated color selector panel. -
paint
- Overrides:
paint
in classComponentUI
-
paintBottomDivider
-
paintCaptionBackground
-
getLayoutGap
protected int getLayoutGap()Returns the layout gap for button panel components.- Returns:
- The layout gap for button panel components.
-