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 ComponentUIprotected intReturns the layout gap for button panel components.protected voidInstalls subcomponents on the associated color selector panel.protected voidInstalls defaults on the associated color selector panel.protected voidInstalls listeners on the associated color selector panel.voidvoidpaint(Graphics g, JComponent c) protected voidpaintBottomDivider(Graphics g, int x, int y, int width, int height) protected voidpaintCaptionBackground(Graphics g, int x, int y, int width, int height) protected voidUninstalls subcomponents from the associated color selector panel.protected voidUninstalls defaults from the associated color selector panel.protected voidUninstalls listeners from the associated color selector panel.voidMethods 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:
installUIin classComponentUI
-
uninstallUI
- Overrides:
uninstallUIin 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:
paintin classComponentUI
-
paintBottomDivider
-
paintCaptionBackground
-
getLayoutGap
protected int getLayoutGap()Returns the layout gap for button panel components.- Returns:
- The layout gap for button panel components.
-