Package pi.resources.color
Enum Class PredefinedColorScheme
- All Implemented Interfaces:
Serializable,Comparable<PredefinedColorScheme>,Constable
Dieser Aufzählungstyp sammelt die Farbschemata, die die Engine Pi anbietet.
Standardmäßig verwendet die Engine das
GNOME-Farbschema.
- Author:
- Josef Friedrich
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEin Farbschema nach den Farben des Android Material-Designs .Ein Farbschema nach den Farben der GNOME Human Interface Guidelines.Ein Farbschema nach den Farben der IOS Human Interface Guidelines von Apple.Ein Farbschema, das einige vordefinierten statischen Farbattribute der JAVA-Color-Klasse verwendet.Ein Farbschema nach der Farbpalette von Tailwind CSS. -
Method Summary
Modifier and TypeMethodDescriptionGibt das Farbschema zurück.static PredefinedColorSchemeReturns the enum constant of this class with the specified name.static PredefinedColorScheme[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GNOME
Ein Farbschema nach den Farben der GNOME Human Interface Guidelines.
-
JAVA
Ein Farbschema, das einige vordefinierten statischen Farbattribute der JAVA-Color-Klasse verwendet.
-
ANDROID
Ein Farbschema nach den Farben des Android Material-Designs .
-
IOS
Ein Farbschema nach den Farben der IOS Human Interface Guidelines von Apple.
-
TAILWIND
-
-
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
-
getScheme
Gibt das Farbschema zurück.- Returns:
- Das Farbschema.
-