Enum Class ColorName

java.lang.Object
java.lang.Enum<ColorName>
best.skn.utils.color.ColorName
All Implemented Interfaces:
Serializable, Comparable<ColorName>, Constable

public enum ColorName extends Enum<ColorName>
ColorName Enum for internal use in Color Class
Since:
2024-03-07
Version:
1.1.2
Author:
SKN
Use Case:
Java, Java Spring Boot
Dedicated To:
Trina, Logno, Atoshi and My Parents
  • Enum Constant Details

    • RESET

      public static final ColorName RESET
      Reset element
      Since:
      v1.1.0
    • BLACK

      public static final ColorName BLACK
      Black element
      Since:
      v1.1.0
    • RED

      public static final ColorName RED
      Red element
      Since:
      v1.1.0
    • GREEN

      public static final ColorName GREEN
      Green element
      Since:
      v1.1.0
    • YELLOW

      public static final ColorName YELLOW
      Yellow element
      Since:
      v1.1.0
    • BLUE

      public static final ColorName BLUE
      Blue element
      Since:
      v1.1.0
    • PURPLE

      public static final ColorName PURPLE
      Purple element
      Since:
      v1.1.0
    • CYAN

      public static final ColorName CYAN
      Cyan element
      Since:
      v1.1.0
    • WHITE

      public static final ColorName WHITE
      White element
      Since:
      v1.1.0
    • BLACK_BOLD

      public static final ColorName BLACK_BOLD
      Bold Black element
      Since:
      v1.1.0
    • RED_BOLD

      public static final ColorName RED_BOLD
      Bold Red element
      Since:
      v1.1.0
    • GREEN_BOLD

      public static final ColorName GREEN_BOLD
      Bold Green element
      Since:
      v1.1.0
    • YELLOW_BOLD

      public static final ColorName YELLOW_BOLD
      Bold Yellow element
      Since:
      v1.1.0
    • BLUE_BOLD

      public static final ColorName BLUE_BOLD
      Bold Blue element
      Since:
      v1.1.0
    • PURPLE_BOLD

      public static final ColorName PURPLE_BOLD
      Bold Purple element
      Since:
      v1.1.0
    • CYAN_BOLD

      public static final ColorName CYAN_BOLD
      Bold Cyan element
      Since:
      v1.1.0
    • WHITE_BOLD

      public static final ColorName WHITE_BOLD
      Bold White element
      Since:
      v1.1.0
  • Constructor Details

    • ColorName

      private ColorName()
  • Method Details

    • values

      public static ColorName[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ColorName valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null