Class BaseColorTextField.CustomColorTextField

    • Constructor Detail

      • CustomColorTextField

        public CustomColorTextField()
        Constructs a new TextField.
      • CustomColorTextField

        public CustomColorTextField​(Color initial)
        Constructs a new TextField.
        Parameters:
        initial - the initial color
    • Method Detail

      • setColor

        public void setColor​(Color value)
        Sets the color.
        Parameters:
        value - the color
      • getColor

        public Color getColor()
        Returns the current color.
        Returns:
        the color
      • chooseColor

        public void chooseColor()
        Pops up dialog to select color.