Enum ColorMode

    • Enum Constant Detail

      • GRADIENT

        public static final ColorMode GRADIENT
        This is the default. The mode between "from" and "to" color will be a gradient.
      • FROM

        public static final ColorMode FROM
        The mode to enable to use the "from" color between items.
      • TO

        public static final ColorMode TO
        The mode to enable to use the "to" color between items.
    • Method Detail

      • values

        public static ColorMode[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ColorMode c : ColorMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ColorMode valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()
        Description copied from interface: Key
        Returns the name value of property
        Specified by:
        value in interface Key
        Returns:
        the name value of property