Enum Color

    • Enum Constant Detail

      • BLANK_UNSPECIFIED

        public static final Color BLANK_UNSPECIFIED
        When used for a foreground color, this is mapped to Green for 3270 and 5250 host types and White for all other host types. When used as a background color, this is mapped to Black.
      • BLUE

        public static final Color BLUE
      • GREEN

        public static final Color GREEN
      • CYAN

        public static final Color CYAN
      • RED

        public static final Color RED
      • MAGENTA

        public static final Color MAGENTA
      • YELLOW

        public static final Color YELLOW
      • WHITE_NORMAL_INTENSITY

        public static final Color WHITE_NORMAL_INTENSITY
      • GRAY

        public static final Color GRAY
      • LIGHT_BLUE

        public static final Color LIGHT_BLUE
      • LIGHT_GREEN

        public static final Color LIGHT_GREEN
      • LIGHT_CYAN

        public static final Color LIGHT_CYAN
      • LIGHT_RED

        public static final Color LIGHT_RED
      • LIGHT_MAGENTA

        public static final Color LIGHT_MAGENTA
      • BLACK

        public static final Color BLACK
      • WHITE_HIGH_INTENSITY

        public static final Color WHITE_HIGH_INTENSITY
      • BROWN

        public static final Color BROWN
      • PINK

        public static final Color PINK
      • TURQUOISE

        public static final Color TURQUOISE
    • Method Detail

      • values

        public static Color[] 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 (Color c : Color.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Color 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