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 JsonFontfontprivate JsonColortextColorprivate JsonColorhighlightedTextColorprivate JsonColorbackgroundColorprivate JsonColorhighlightedBackgroundColor
-
Method Summary
Modifier and Type Method Description final JsonFontgetFont()The font of the button title. final UnitsetFont(JsonFont font)The font of the button title. final JsonColorgetTextColor()The color of the buttons title while not pressed. final UnitsetTextColor(JsonColor textColor)The color of the buttons title while not pressed. final JsonColorgetHighlightedTextColor()The color of the buttons title while pressed. final UnitsetHighlightedTextColor(JsonColor highlightedTextColor)The color of the buttons title while pressed. final JsonColorgetBackgroundColor()The background color of the button while not pressed. final UnitsetBackgroundColor(JsonColor backgroundColor)The background color of the button while not pressed. final JsonColorgetHighlightedBackgroundColor()The background color of the button while pressed. final UnitsetHighlightedBackgroundColor(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.
-
-
-
-