- All Implemented Interfaces:
ColorTheme,Serializable,Comparable<Theme>,Constable
public enum Theme extends Enum<Theme> implements ColorTheme
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description BLUEBLUE_BLACKDARK_GREENGREENGREEN_BLACKGREEN_GRAYGREEN_REDLIGHT_GREENORANGE_BLACKYELLOW_BLACK -
Method Summary
Modifier and Type Method Description javafx.scene.paint.ColorgetBackgroundColor()javafx.scene.paint.ColorgetLineColor()javafx.scene.paint.ColorgetRasterColor()javafx.scene.paint.ColorgetTextColor()static ThemevalueOf(String name)Returns the enum constant of this type with the specified name.static Theme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BLUE
-
BLUE_BLACK
-
DARK_GREEN
-
GREEN
-
GREEN_BLACK
-
GREEN_GRAY
-
GREEN_RED
-
LIGHT_GREEN
-
ORANGE_BLACK
-
YELLOW_BLACK
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getBackgroundColor
public javafx.scene.paint.Color getBackgroundColor()- Specified by:
getBackgroundColorin interfaceColorTheme
-
getLineColor
public javafx.scene.paint.Color getLineColor()- Specified by:
getLineColorin interfaceColorTheme
-
getRasterColor
public javafx.scene.paint.Color getRasterColor()- Specified by:
getRasterColorin interfaceColorTheme
-
getTextColor
public javafx.scene.paint.Color getTextColor()- Specified by:
getTextColorin interfaceColorTheme
-