Class BackgroundCustomization
-
- All Implemented Interfaces:
public final class BackgroundCustomizationUse this class to set the background style of a specified user interface element.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerbackgroundColorprivate IntegercornerRadiusprivate IntegerborderColorprivate IntegerborderWidthprivate IntegerbgElevation
-
Method Summary
Modifier and Type Method Description final IntegergetBackgroundColor()final UnitsetBackgroundColor(Integer backgroundColor)final IntegergetCornerRadius()final UnitsetCornerRadius(Integer cornerRadius)final IntegergetBorderColor()final UnitsetBorderColor(Integer borderColor)final IntegergetBorderWidth()final UnitsetBorderWidth(Integer borderWidth)final IntegergetBgElevation()final UnitsetBgElevation(Integer bgElevation)-
-
Constructor Detail
-
BackgroundCustomization
BackgroundCustomization(Integer backgroundColor, Integer cornerRadius, Integer borderColor, Integer borderWidth, Integer bgElevation)
- Parameters:
backgroundColor- Background colour resource reference.cornerRadius- Button corner radius resource reference.borderColor- Border colour resource reference.borderWidth- Border width resource reference.bgElevation- Button elevation resource reference.
-
-
Method Detail
-
getBackgroundColor
final Integer getBackgroundColor()
-
setBackgroundColor
final Unit setBackgroundColor(Integer backgroundColor)
- Parameters:
backgroundColor- Background colour resource reference.
-
getCornerRadius
final Integer getCornerRadius()
-
setCornerRadius
final Unit setCornerRadius(Integer cornerRadius)
- Parameters:
cornerRadius- Button corner radius resource reference.
-
getBorderColor
final Integer getBorderColor()
-
setBorderColor
final Unit setBorderColor(Integer borderColor)
- Parameters:
borderColor- Border colour resource reference.
-
getBorderWidth
final Integer getBorderWidth()
-
setBorderWidth
final Unit setBorderWidth(Integer borderWidth)
- Parameters:
borderWidth- Border width resource reference.
-
getBgElevation
final Integer getBgElevation()
-
setBgElevation
final Unit setBgElevation(Integer bgElevation)
- Parameters:
bgElevation- Button elevation resource reference.
-
-
-
-