Package org.praxislive.ide.core.ui.api
Enum Class TypeColor
- All Implemented Interfaces:
Serializable,Comparable<TypeColor>,Constable
Standard colours that can be assigned to various entities to differentiate
them by type (eg. port type or component type).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionThe selection colour variant to use for graphical elements.shade()The standard colour to use for graphical elements.text()The colour variant to use for text against the standard background colour.static TypeColorReturns the enum constant of this class with the specified name.static TypeColor[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Red
-
Orange
-
Yellow
-
Green
-
Cyan
-
Blue
-
Purple
-
Magenta
-
-
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
-
shade
The standard colour to use for graphical elements.- Returns:
- standard colour
-
selection
The selection colour variant to use for graphical elements.- Returns:
- selection colour
-
text
The colour variant to use for text against the standard background colour.- Returns:
- text colour
-