Class FontInfo
java.lang.Object
com.motivewave.platform.sdk.common.BaseInfo
com.motivewave.platform.sdk.common.FontInfo
- All Implemented Interfaces:
Cloneable
Describes settings information for a font and optional text/background colors.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a clone (copy) of this object.boolean
Compares the give object with this object and returns true if they are equal.static FontInfo
Gets the background color for displaying this font.getColor()
Gets the text color for displaying this font.getFont()
Gets the font.getValue()
-
Constructor Details
-
FontInfo
Constructor- Parameters:
font
- fontcolor
- text color
-
FontInfo
Constructor- Parameters:
font
- fontcolor
- text colorenabled
- true if this font is enabled
-
FontInfo
Constructor- Parameters:
font
- fontcolor
- text colorbgColor
- background colorenabled
- true if this font is enabled
-
FontInfo
Constructor- Parameters:
enabled
- true if this font is enabledfont
- fontcolor
- text colorbgColor
- background color
-
-
Method Details
-
getValue
-
getFont
Gets the font.- Returns:
- font
-
getColor
Gets the text color for displaying this font.- Returns:
- text color for displaying this font
-
getBgColor
Gets the background color for displaying this font.- Returns:
- background color for displaying this font
-
equals
Compares the give object with this object and returns true if they are equal. -
clone
Creates a clone (copy) of this object. -
toJson
-
fromJson
-