Class BasicColorSelectorPanelUI

java.lang.Object
javax.swing.plaf.ComponentUI
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 panel JColorSelectorPanel.
  • Field Details

    • colorSelectorPanel

      protected JColorSelectorPanel colorSelectorPanel
    • captionLabel

      private JLabel captionLabel
    • colorSelectorContainer

      private JPanel colorSelectorContainer
  • Constructor Details

    • BasicColorSelectorPanelUI

      public BasicColorSelectorPanelUI()
  • Method Details

    • installUI

      public void installUI(JComponent c)
      Overrides:
      installUI in class ComponentUI
    • uninstallUI

      public void uninstallUI(JComponent c)
      Overrides:
      uninstallUI in class 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(Graphics g, JComponent c)
      Overrides:
      paint in class ComponentUI
    • paintBottomDivider

      protected abstract void paintBottomDivider(Graphics g, int x, int y, int width, int height)
    • paintCaptionBackground

      protected abstract void paintCaptionBackground(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.