Class Crayons

    • Constructor Detail

      • Crayons

        public Crayons()
        Creates a new instance.
    • Method Detail

      • createCrayonsImage

        protected Image createCrayonsImage()
      • createCrayons

        protected org.pushingpixels.substance.internal.contrib.randelshofer.quaqua.colorchooser.Crayons.Crayon[] createCrayons()
        Creates the crayons.
        Returns:
        Array of crayons in z-order from bottom to top.
      • setColor

        public void setColor​(Color newValue)
        Sets the current color. This results in a selection of a crayon, if a crayon with the same RGB values exists.
      • getColor

        public Color getColor()
        Returns the current color.