Class BasicColorSelectorPanelUI
- java.lang.Object
-
- javax.swing.plaf.ComponentUI
-
- javax.swing.plaf.PanelUI
-
- org.pushingpixels.radiance.component.internal.ui.common.popup.ColorSelectorPanelUI
-
- org.pushingpixels.radiance.component.internal.ui.common.popup.BasicColorSelectorPanelUI
-
- Direct Known Subclasses:
RadianceColorSelectorPanelUI
public abstract class BasicColorSelectorPanelUI extends ColorSelectorPanelUI
Basic UI for color selector panelJColorSelectorPanel.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classBasicColorSelectorPanelUI.PanelLayout
-
Field Summary
Fields Modifier and Type Field Description private javax.swing.JLabelcaptionLabelprivate javax.swing.JPanelcolorSelectorContainerprotected JColorSelectorPanelcolorSelectorPanel
-
Constructor Summary
Constructors Constructor Description BasicColorSelectorPanelUI()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract intgetLayoutGap()Returns the layout gap for button panel components.protected voidinstallComponents()Installs subcomponents on the associated color selector panel.protected voidinstallDefaults()Installs defaults on the associated color selector panel.protected voidinstallListeners()Installs listeners on the associated color selector panel.voidinstallUI(javax.swing.JComponent c)voidpaint(java.awt.Graphics g, javax.swing.JComponent c)protected abstract voidpaintBottomDivider(java.awt.Graphics g, int x, int y, int width, int height)protected abstract voidpaintCaptionBackground(java.awt.Graphics g, int x, int y, int width, int height)protected voiduninstallComponents()Uninstalls subcomponents from the associated color selector panel.protected voiduninstallDefaults()Uninstalls defaults from the associated color selector panel.protected voiduninstallListeners()Uninstalls listeners from the associated color selector panel.voiduninstallUI(javax.swing.JComponent c)
-
-
-
Field Detail
-
colorSelectorPanel
protected JColorSelectorPanel colorSelectorPanel
-
captionLabel
private javax.swing.JLabel captionLabel
-
colorSelectorContainer
private javax.swing.JPanel colorSelectorContainer
-
-
Method Detail
-
installUI
public void installUI(javax.swing.JComponent c)
- Overrides:
installUIin classjavax.swing.plaf.ComponentUI
-
uninstallUI
public void uninstallUI(javax.swing.JComponent c)
- Overrides:
uninstallUIin classjavax.swing.plaf.ComponentUI
-
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
public void paint(java.awt.Graphics g, javax.swing.JComponent c)- Overrides:
paintin classjavax.swing.plaf.ComponentUI
-
paintBottomDivider
protected abstract void paintBottomDivider(java.awt.Graphics g, int x, int y, int width, int height)
-
paintCaptionBackground
protected abstract void paintCaptionBackground(java.awt.Graphics g, int x, int y, int width, int height)
-
getLayoutGap
protected abstract int getLayoutGap()
Returns the layout gap for button panel components.- Returns:
- The layout gap for button panel components.
-
-