Class JSAbstractColorExtraTabPanel


  • public abstract class JSAbstractColorExtraTabPanel
    extends JSPanel
    The abstract panel to add extra tabs to the JSColorPanel
    Author:
    gianpiero.diblasi
    • Constructor Detail

      • JSAbstractColorExtraTabPanel

        public JSAbstractColorExtraTabPanel()
    • Method Detail

      • getSelectedColor

        public abstract Color getSelectedColor()
        Returns the selected color
        Returns:
        The selected color
      • setSelectedColor

        public abstract void setSelectedColor​(Color color)
        Sets the selected color
        Parameters:
        color - The selected color
      • getValueIsAdjusting

        public abstract boolean getValueIsAdjusting()
        Returns if the selected color is "adjusting"
        Returns:
        true if the selected color is adjusting, false otherwise
      • addChangeListener

        public void addChangeListener​(ChangeListener listener)
        Adds a change listener
        Parameters:
        listener - The listener
      • onchange

        protected void onchange()
        to call to invoke a change event