Class JsonDialogButtonStyle
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class JsonDialogButtonStyle implements Parcelable
Configuration for the dialogs/alerts OK button style.
-
-
Field Summary
Fields Modifier and Type Field Description private JsonFont
font
private JsonColor
textColor
private JsonColor
highlightedTextColor
private JsonColor
backgroundColor
private JsonColor
highlightedBackgroundColor
-
Method Summary
Modifier and Type Method Description final JsonFont
getFont()
The font of the button title. final Unit
setFont(JsonFont font)
The font of the button title. final JsonColor
getTextColor()
The color of the buttons title while not pressed. final Unit
setTextColor(JsonColor textColor)
The color of the buttons title while not pressed. final JsonColor
getHighlightedTextColor()
The color of the buttons title while pressed. final Unit
setHighlightedTextColor(JsonColor highlightedTextColor)
The color of the buttons title while pressed. final JsonColor
getBackgroundColor()
The background color of the button while not pressed. final Unit
setBackgroundColor(JsonColor backgroundColor)
The background color of the button while not pressed. final JsonColor
getHighlightedBackgroundColor()
The background color of the button while pressed. final Unit
setHighlightedBackgroundColor(JsonColor highlightedBackgroundColor)
The background color of the button while pressed. -
-
Method Detail
-
getTextColor
final JsonColor getTextColor()
The color of the buttons title while not pressed.
-
setTextColor
final Unit setTextColor(JsonColor textColor)
The color of the buttons title while not pressed.
-
getHighlightedTextColor
final JsonColor getHighlightedTextColor()
The color of the buttons title while pressed.
-
setHighlightedTextColor
final Unit setHighlightedTextColor(JsonColor highlightedTextColor)
The color of the buttons title while pressed.
-
getBackgroundColor
final JsonColor getBackgroundColor()
The background color of the button while not pressed.
-
setBackgroundColor
final Unit setBackgroundColor(JsonColor backgroundColor)
The background color of the button while not pressed.
-
getHighlightedBackgroundColor
final JsonColor getHighlightedBackgroundColor()
The background color of the button while pressed.
-
setHighlightedBackgroundColor
final Unit setHighlightedBackgroundColor(JsonColor highlightedBackgroundColor)
The background color of the button while pressed.
-
-
-
-