Class ColorPickerSkin

All Implemented Interfaces:
Skin<ComboBoxBase<Color>>

public class ColorPickerSkin
extends ComboBoxPopupControl<Color>
Default skin implementation for the ColorPicker control.
Since:
9
See Also:
ColorPicker
  • Constructor Details

    • ColorPickerSkin

      public ColorPickerSkin​(ColorPicker control)
      Creates a new ColorPickerSkin instance, installing the necessary child nodes into the Control children list, as well as the necessary input mappings for handling key, mouse, etc events.
      Parameters:
      control - The control that this skin should be installed onto.
  • Method Details

    • getClassCssMetaData

      public static List<CssMetaData<? extends Styleable,​?>> getClassCssMetaData()
      Returns the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.
      Returns:
      the CssMetaData associated with this class, which may include the CssMetaData of its superclasses
    • getEditor

      protected TextField getEditor()
      ColorPicker does not use a main text field, so this method has been overridden to return null.
      Specified by:
      getEditor in class ComboBoxPopupControl<Color>
      Returns:
      the editor