-
public final class DefaultStyle extends Style
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DefaultStyle()
-
Method Summary
Modifier and Type Method Description StringgetBackgroundColor()UnitsetBackgroundColor(String backgroundColor)StringgetBorderColor()UnitsetBorderColor(String borderColor)ColorsgetBackgroundColors()UnitsetBackgroundColors(@SerialName(value = background_colors) Colors backgroundColors)BackgroundGradientgetBackgroundGradient()UnitsetBackgroundGradient(@SerialName(value = background_gradient) BackgroundGradient backgroundGradient)GradientsgetBackgroundGradients()UnitsetBackgroundGradients(@SerialName(value = background_gradients) Gradients backgroundGradients)BackgroundGradientgetBorderGradient()UnitsetBorderGradient(@SerialName(value = border_gradient) BackgroundGradient borderGradient)GradientsgetBorderGradients()UnitsetBorderGradients(@SerialName(value = border_gradients) Gradients borderGradients)StringgetHeight()UnitsetHeight(@SerialName(value = height) String height)StringgetWidth()UnitsetWidth(@SerialName(value = width) String width)FloatgetPadding()UnitsetPadding(@SerialName(value = padding) Float padding)FloatgetPaddingTop()UnitsetPaddingTop(@SerialName(value = padding_top) Float paddingTop)FloatgetPaddingBottom()UnitsetPaddingBottom(@SerialName(value = padding_bottom) Float paddingBottom)FloatgetPaddingLeft()UnitsetPaddingLeft(@SerialName(value = padding_left) Float paddingLeft)FloatgetPaddingRight()UnitsetPaddingRight(@SerialName(value = padding_right) Float paddingRight)FloatgetMarginTop()UnitsetMarginTop(@SerialName(value = margin_top) Float marginTop)FloatgetMarginBottom()UnitsetMarginBottom(@SerialName(value = margin_bottom) Float marginBottom)FloatgetMarginLeft()UnitsetMarginLeft(@SerialName(value = margin_left) Float marginLeft)FloatgetMarginRight()UnitsetMarginRight(@SerialName(value = margin_right) Float marginRight)StringgetMaxWidth()UnitsetMaxWidth(@SerialName(value = max_width) String maxWidth)StringgetMinWidth()UnitsetMinWidth(@SerialName(value = min_width) String minWidth)StringgetMaxHeight()UnitsetMaxHeight(@SerialName(value = max_height) String maxHeight)StringgetMinHeight()UnitsetMinHeight(@SerialName(value = min_height) String minHeight)FloatgetCornerRadius()UnitsetCornerRadius(@SerialName(value = corner_radius) Float cornerRadius)FloatgetBorderWidth()UnitsetBorderWidth(@SerialName(value = border_width) Float borderWidth)ColorsgetBorderColors()UnitsetBorderColors(@SerialName(value = border_colors) Colors borderColors)StringgetHAlign()UnitsetHAlign(@SerialName(value = h_align) String hAlign)StringgetVAlign()UnitsetVAlign(@SerialName(value = v_align) String vAlign)FloatgetAlpha()UnitsetAlpha(@SerialName(value = alpha) Float alpha)FloatgetThickness()UnitsetThickness(@SerialName(value = thickness) Float thickness)StringgetColor()UnitsetColor(@SerialName(value = color) String color)ColorsgetColors()UnitsetColors(@SerialName(value = colors) Colors colors)FontgetFont()UnitsetFont(@SerialName(value = font) Font font)StringgetAlignment()UnitsetAlignment(@SerialName(value = alignment) String alignment)StringgetStrike()UnitsetStrike(@SerialName(value = strike) String strike)StringgetUnderline()UnitsetUnderline(@SerialName(value = underline) String underline)StringgetContentMode()UnitsetContentMode(@SerialName(value = content_mode) String contentMode)DoublegetProportion()UnitsetProportion(@SerialName(value = proportion) Double proportion)StringgetUnSelectedColor()UnitsetUnSelectedColor(@SerialName(value = unselected_color) String unSelectedColor)ColorsgetUnSelectedColors()UnitsetUnSelectedColors(@SerialName(value = unselected_colors) Colors unSelectedColors)StringgetSelectedColor()UnitsetSelectedColor(@SerialName(value = selected_color) String selectedColor)ColorsgetSelectedColors()UnitsetSelectedColors(@SerialName(value = selected_colors) Colors selectedColors)StringgetSize()UnitsetSize(@SerialName(value = size) String size)-
Methods inherited from class io.purchasely.views.presentation.models.DefaultStyle
backgroundColor, backgroundGradient, borderColor, borderGradient, color, hasPadding, selectedColor, toString, unSelectedColor -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getBackgroundColor
String getBackgroundColor()
-
setBackgroundColor
Unit setBackgroundColor(String backgroundColor)
-
getBorderColor
String getBorderColor()
-
setBorderColor
Unit setBorderColor(String borderColor)
-
getBackgroundColors
Colors getBackgroundColors()
-
setBackgroundColors
Unit setBackgroundColors(@SerialName(value = background_colors) Colors backgroundColors)
-
getBackgroundGradient
BackgroundGradient getBackgroundGradient()
-
setBackgroundGradient
Unit setBackgroundGradient(@SerialName(value = background_gradient) BackgroundGradient backgroundGradient)
-
getBackgroundGradients
Gradients getBackgroundGradients()
-
setBackgroundGradients
Unit setBackgroundGradients(@SerialName(value = background_gradients) Gradients backgroundGradients)
-
getBorderGradient
BackgroundGradient getBorderGradient()
-
setBorderGradient
Unit setBorderGradient(@SerialName(value = border_gradient) BackgroundGradient borderGradient)
-
getBorderGradients
Gradients getBorderGradients()
-
setBorderGradients
Unit setBorderGradients(@SerialName(value = border_gradients) Gradients borderGradients)
-
getPadding
Float getPadding()
-
setPadding
Unit setPadding(@SerialName(value = padding) Float padding)
-
getPaddingTop
Float getPaddingTop()
-
setPaddingTop
Unit setPaddingTop(@SerialName(value = padding_top) Float paddingTop)
-
getPaddingBottom
Float getPaddingBottom()
-
setPaddingBottom
Unit setPaddingBottom(@SerialName(value = padding_bottom) Float paddingBottom)
-
getPaddingLeft
Float getPaddingLeft()
-
setPaddingLeft
Unit setPaddingLeft(@SerialName(value = padding_left) Float paddingLeft)
-
getPaddingRight
Float getPaddingRight()
-
setPaddingRight
Unit setPaddingRight(@SerialName(value = padding_right) Float paddingRight)
-
getMarginTop
Float getMarginTop()
-
setMarginTop
Unit setMarginTop(@SerialName(value = margin_top) Float marginTop)
-
getMarginBottom
Float getMarginBottom()
-
setMarginBottom
Unit setMarginBottom(@SerialName(value = margin_bottom) Float marginBottom)
-
getMarginLeft
Float getMarginLeft()
-
setMarginLeft
Unit setMarginLeft(@SerialName(value = margin_left) Float marginLeft)
-
getMarginRight
Float getMarginRight()
-
setMarginRight
Unit setMarginRight(@SerialName(value = margin_right) Float marginRight)
-
getMaxWidth
String getMaxWidth()
-
setMaxWidth
Unit setMaxWidth(@SerialName(value = max_width) String maxWidth)
-
getMinWidth
String getMinWidth()
-
setMinWidth
Unit setMinWidth(@SerialName(value = min_width) String minWidth)
-
getMaxHeight
String getMaxHeight()
-
setMaxHeight
Unit setMaxHeight(@SerialName(value = max_height) String maxHeight)
-
getMinHeight
String getMinHeight()
-
setMinHeight
Unit setMinHeight(@SerialName(value = min_height) String minHeight)
-
getCornerRadius
Float getCornerRadius()
-
setCornerRadius
Unit setCornerRadius(@SerialName(value = corner_radius) Float cornerRadius)
-
getBorderWidth
Float getBorderWidth()
-
setBorderWidth
Unit setBorderWidth(@SerialName(value = border_width) Float borderWidth)
-
getBorderColors
Colors getBorderColors()
-
setBorderColors
Unit setBorderColors(@SerialName(value = border_colors) Colors borderColors)
-
getThickness
Float getThickness()
-
setThickness
Unit setThickness(@SerialName(value = thickness) Float thickness)
-
getAlignment
String getAlignment()
-
setAlignment
Unit setAlignment(@SerialName(value = alignment) String alignment)
-
getUnderline
String getUnderline()
-
setUnderline
Unit setUnderline(@SerialName(value = underline) String underline)
-
getContentMode
String getContentMode()
-
setContentMode
Unit setContentMode(@SerialName(value = content_mode) String contentMode)
-
getProportion
Double getProportion()
-
setProportion
Unit setProportion(@SerialName(value = proportion) Double proportion)
-
getUnSelectedColor
String getUnSelectedColor()
-
setUnSelectedColor
Unit setUnSelectedColor(@SerialName(value = unselected_color) String unSelectedColor)
-
getUnSelectedColors
Colors getUnSelectedColors()
-
setUnSelectedColors
Unit setUnSelectedColors(@SerialName(value = unselected_colors) Colors unSelectedColors)
-
getSelectedColor
String getSelectedColor()
-
setSelectedColor
Unit setSelectedColor(@SerialName(value = selected_color) String selectedColor)
-
getSelectedColors
Colors getSelectedColors()
-
setSelectedColors
Unit setSelectedColors(@SerialName(value = selected_colors) Colors selectedColors)
-
-
-
-