Class JsonDialogStyle
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class JsonDialogStyle implements Parcelable
Configuration for the dialog/alert style
-
-
Field Summary
Fields Modifier and Type Field Description private JsonColorscreenBackgroundColorprivate JsonColordialogBackgroundColorprivate JsonBlurEffectdialogBackgroundEffectprivate DoublecornerRadiusprivate JsonColortitleColorprivate JsonFonttitleFontprivate JsonColormessageColorprivate JsonFontmessageFontprivate JsonColorseparatorColorprivate DoubleseparatorWidth
-
Constructor Summary
Constructors Constructor Description JsonDialogStyle(JsonColor screenBackgroundColor, JsonColor dialogBackgroundColor, JsonBlurEffect dialogBackgroundEffect, Double cornerRadius, JsonColor titleColor, JsonFont titleFont, JsonColor messageColor, JsonFont messageFont, JsonColor separatorColor, Double separatorWidth)
-
Method Summary
Modifier and Type Method Description final JsonColorgetScreenBackgroundColor()The Color of the screen-covering backdrop view. final UnitsetScreenBackgroundColor(JsonColor screenBackgroundColor)The Color of the screen-covering backdrop view. final JsonColorgetDialogBackgroundColor()The general background color of the actual dialog view. final UnitsetDialogBackgroundColor(JsonColor dialogBackgroundColor)The general background color of the actual dialog view. final JsonBlurEffectgetDialogBackgroundEffect()The visual effect of the dialogs background. final UnitsetDialogBackgroundEffect(JsonBlurEffect dialogBackgroundEffect)The visual effect of the dialogs background. final DoublegetCornerRadius()The corner radius of the dialog. final UnitsetCornerRadius(Double cornerRadius)The corner radius of the dialog. final JsonColorgetTitleColor()The color of the dialogs title. final UnitsetTitleColor(JsonColor titleColor)The color of the dialogs title. final JsonFontgetTitleFont()The font of the dialogs title final UnitsetTitleFont(JsonFont titleFont)The font of the dialogs title final JsonColorgetMessageColor()The color of the dialogs message. final UnitsetMessageColor(JsonColor messageColor)The color of the dialogs message. final JsonFontgetMessageFont()The font of the dialogs message. final UnitsetMessageFont(JsonFont messageFont)The font of the dialogs message. final JsonColorgetSeparatorColor()The color of the separators around the dialogs button area. final UnitsetSeparatorColor(JsonColor separatorColor)The color of the separators around the dialogs button area. final DoublegetSeparatorWidth()The width of the separators in points. final UnitsetSeparatorWidth(Double separatorWidth)The width of the separators in points. -
-
Method Detail
-
getScreenBackgroundColor
final JsonColor getScreenBackgroundColor()
The Color of the screen-covering backdrop view.
-
setScreenBackgroundColor
final Unit setScreenBackgroundColor(JsonColor screenBackgroundColor)
The Color of the screen-covering backdrop view.
-
getDialogBackgroundColor
final JsonColor getDialogBackgroundColor()
The general background color of the actual dialog view.
-
setDialogBackgroundColor
final Unit setDialogBackgroundColor(JsonColor dialogBackgroundColor)
The general background color of the actual dialog view.
-
getDialogBackgroundEffect
final JsonBlurEffect getDialogBackgroundEffect()
The visual effect of the dialogs background.
-
setDialogBackgroundEffect
final Unit setDialogBackgroundEffect(JsonBlurEffect dialogBackgroundEffect)
The visual effect of the dialogs background.
-
getCornerRadius
final Double getCornerRadius()
The corner radius of the dialog.
-
setCornerRadius
final Unit setCornerRadius(Double cornerRadius)
The corner radius of the dialog.
-
getTitleColor
final JsonColor getTitleColor()
The color of the dialogs title.
-
setTitleColor
final Unit setTitleColor(JsonColor titleColor)
The color of the dialogs title.
-
getTitleFont
final JsonFont getTitleFont()
The font of the dialogs title
-
setTitleFont
final Unit setTitleFont(JsonFont titleFont)
The font of the dialogs title
-
getMessageColor
final JsonColor getMessageColor()
The color of the dialogs message.
-
setMessageColor
final Unit setMessageColor(JsonColor messageColor)
The color of the dialogs message.
-
getMessageFont
final JsonFont getMessageFont()
The font of the dialogs message.
-
setMessageFont
final Unit setMessageFont(JsonFont messageFont)
The font of the dialogs message.
-
getSeparatorColor
final JsonColor getSeparatorColor()
The color of the separators around the dialogs button area.
-
setSeparatorColor
final Unit setSeparatorColor(JsonColor separatorColor)
The color of the separators around the dialogs button area.
-
getSeparatorWidth
final Double getSeparatorWidth()
The width of the separators in points.
-
setSeparatorWidth
final Unit setSeparatorWidth(Double separatorWidth)
The width of the separators in points.
-
-
-
-