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 JsonColor
screenBackgroundColor
private JsonColor
dialogBackgroundColor
private JsonBlurEffect
dialogBackgroundEffect
private Double
cornerRadius
private JsonColor
titleColor
private JsonFont
titleFont
private JsonColor
messageColor
private JsonFont
messageFont
private JsonColor
separatorColor
private Double
separatorWidth
-
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 JsonColor
getScreenBackgroundColor()
The Color of the screen-covering backdrop view. final Unit
setScreenBackgroundColor(JsonColor screenBackgroundColor)
The Color of the screen-covering backdrop view. final JsonColor
getDialogBackgroundColor()
The general background color of the actual dialog view. final Unit
setDialogBackgroundColor(JsonColor dialogBackgroundColor)
The general background color of the actual dialog view. final JsonBlurEffect
getDialogBackgroundEffect()
The visual effect of the dialogs background. final Unit
setDialogBackgroundEffect(JsonBlurEffect dialogBackgroundEffect)
The visual effect of the dialogs background. final Double
getCornerRadius()
The corner radius of the dialog. final Unit
setCornerRadius(Double cornerRadius)
The corner radius of the dialog. final JsonColor
getTitleColor()
The color of the dialogs title. final Unit
setTitleColor(JsonColor titleColor)
The color of the dialogs title. final JsonFont
getTitleFont()
The font of the dialogs title final Unit
setTitleFont(JsonFont titleFont)
The font of the dialogs title final JsonColor
getMessageColor()
The color of the dialogs message. final Unit
setMessageColor(JsonColor messageColor)
The color of the dialogs message. final JsonFont
getMessageFont()
The font of the dialogs message. final Unit
setMessageFont(JsonFont messageFont)
The font of the dialogs message. final JsonColor
getSeparatorColor()
The color of the separators around the dialogs button area. final Unit
setSeparatorColor(JsonColor separatorColor)
The color of the separators around the dialogs button area. final Double
getSeparatorWidth()
The width of the separators in points. final Unit
setSeparatorWidth(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.
-
-
-
-