-
public final class DefaultStyle extends Style
-
-
Field Summary
Fields Modifier and Type Field Description private StringbackgroundColorprivate StringborderColorprivate ColorsbackgroundColorsprivate BackgroundGradientbackgroundGradientprivate GradientsbackgroundGradientsprivate BackgroundGradientborderGradientprivate GradientsborderGradientsprivate Stringheightprivate Stringwidthprivate Floatpaddingprivate StringmaxWidthprivate StringminWidthprivate StringmaxHeightprivate StringminHeightprivate FloatcornerRadiusprivate FloatborderWidthprivate ColorsborderColorsprivate StringhAlignprivate StringvAlignprivate Floatalphaprivate Floatthicknessprivate Stringcolorprivate Colorscolorsprivate Fontfontprivate Stringalignmentprivate Stringstrikeprivate Stringunderlineprivate StringcontentModeprivate Doubleproportionprivate StringunSelectedColorprivate ColorsunSelectedColorsprivate StringselectedColorprivate ColorsselectedColorsprivate Stringsize
-
Constructor Summary
Constructors Constructor Description DefaultStyle()
-
Method Summary
-
Methods inherited from class io.purchasely.views.presentation.models.DefaultStyle
backgroundColor, backgroundGradient, borderColor, borderGradient, color, 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(Colors backgroundColors)
-
getBackgroundGradient
BackgroundGradient getBackgroundGradient()
-
setBackgroundGradient
Unit setBackgroundGradient(BackgroundGradient backgroundGradient)
-
getBackgroundGradients
Gradients getBackgroundGradients()
-
setBackgroundGradients
Unit setBackgroundGradients(Gradients backgroundGradients)
-
getBorderGradient
BackgroundGradient getBorderGradient()
-
setBorderGradient
Unit setBorderGradient(BackgroundGradient borderGradient)
-
getBorderGradients
Gradients getBorderGradients()
-
setBorderGradients
Unit setBorderGradients(Gradients borderGradients)
-
getPadding
Float getPadding()
-
setPadding
Unit setPadding(Float padding)
-
getMaxWidth
String getMaxWidth()
-
setMaxWidth
Unit setMaxWidth(String maxWidth)
-
getMinWidth
String getMinWidth()
-
setMinWidth
Unit setMinWidth(String minWidth)
-
getMaxHeight
String getMaxHeight()
-
setMaxHeight
Unit setMaxHeight(String maxHeight)
-
getMinHeight
String getMinHeight()
-
setMinHeight
Unit setMinHeight(String minHeight)
-
getCornerRadius
Float getCornerRadius()
-
setCornerRadius
Unit setCornerRadius(Float cornerRadius)
-
getBorderWidth
Float getBorderWidth()
-
setBorderWidth
Unit setBorderWidth(Float borderWidth)
-
getBorderColors
Colors getBorderColors()
-
setBorderColors
Unit setBorderColors(Colors borderColors)
-
getThickness
Float getThickness()
-
setThickness
Unit setThickness(Float thickness)
-
getAlignment
String getAlignment()
-
setAlignment
Unit setAlignment(String alignment)
-
getUnderline
String getUnderline()
-
setUnderline
Unit setUnderline(String underline)
-
getContentMode
String getContentMode()
-
setContentMode
Unit setContentMode(String contentMode)
-
getProportion
Double getProportion()
-
setProportion
Unit setProportion(Double proportion)
-
getUnSelectedColor
String getUnSelectedColor()
-
setUnSelectedColor
Unit setUnSelectedColor(String unSelectedColor)
-
getUnSelectedColors
Colors getUnSelectedColors()
-
setUnSelectedColors
Unit setUnSelectedColors(Colors unSelectedColors)
-
getSelectedColor
String getSelectedColor()
-
setSelectedColor
Unit setSelectedColor(String selectedColor)
-
getSelectedColors
Colors getSelectedColors()
-
setSelectedColors
Unit setSelectedColors(Colors selectedColors)
-
-
-
-