Package best.skn.utils
Enum Class ColorName
- All Implemented Interfaces:
Serializable,Comparable<ColorName>,Constable
ColorName Enum for internal use in Color Class
- Since:
- 26-02-2024
- Version:
- 1.0.0
- Author:
- SKN
- Dedicated To:
- Trina, Logno And Atoshi
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBlack elementBold Black elementBlue elementBold Blue elementCyan elementBold Cyan elementGreen elementBold Green elementPurple elementBold Purple elementRed elementBold Red elementReset elementWhite elementBold White elementYellow elementBold Yellow element -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
RESET
Reset element- Since:
- v1.0.0
-
BLACK
Black element- Since:
- v1.0.0
-
RED
Red element- Since:
- v1.0.0
-
GREEN
Green element- Since:
- v1.0.0
-
YELLOW
Yellow element- Since:
- v1.0.0
-
BLUE
Blue element- Since:
- v1.0.0
-
PURPLE
Purple element- Since:
- v1.0.0
-
CYAN
Cyan element- Since:
- v1.0.0
-
WHITE
White element- Since:
- v1.0.0
-
BLACK_BOLD
Bold Black element- Since:
- v1.0.0
-
RED_BOLD
Bold Red element- Since:
- v1.0.0
-
GREEN_BOLD
Bold Green element- Since:
- v1.0.0
-
YELLOW_BOLD
Bold Yellow element- Since:
- v1.0.0
-
BLUE_BOLD
Bold Blue element- Since:
- v1.0.0
-
PURPLE_BOLD
Bold Purple element- Since:
- v1.0.0
-
CYAN_BOLD
Bold Cyan element- Since:
- v1.0.0
-
WHITE_BOLD
Bold White element- Since:
- v1.0.0
-
-
Constructor Details
-
ColorName
private ColorName()
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-