Class ColorInfo
java.lang.Object
com.motivewave.platform.sdk.common.BaseInfo
com.motivewave.platform.sdk.common.ColorInfo
- All Implemented Interfaces:
Cloneable
Describes a color and if it is enabled.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ColorInfo
Constructor. Creates a ColorInfo object with the given color and enabled flag.- Parameters:
color
- colorenabled
- true if this setting is enabled
-
ColorInfo
public ColorInfo(javafx.scene.paint.Color color, boolean enabled) Constructor. Creates a ColorInfo object with the given color and enabled flag.- Parameters:
color
- colorenabled
- true if this setting is enabled
-
-
Method Details
-
getColor
Gets the color (as chosen by the user).- Returns:
- color (as chosen by the user)
-
getColorFX
public javafx.scene.paint.Color getColorFX()Gets the JavaFX version of the color (as chosen by the user).- Returns:
- color (as chosen by the user)
-
clone
Creates a clone (copy) of this object. -
toJson
-
fromJson
-