public final class ButtonCustomization extends Customization implements java.io.Serializable
| Constructor and Description |
|---|
ButtonCustomization() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBackgroundColor()
Provides value for the background color.
|
int |
getCornerRadius()
Provides the value for corner radius.
|
java.lang.String |
getDarkBackgroundColor()
Provides value for the dark background color.
|
void |
setBackgroundColor(java.lang.String backgroundColor)
Sets the background color of the button.
|
void |
setCornerRadius(int cornerRadius)
Sets the radius of the button corners.
|
void |
setDarkBackgroundColor(java.lang.String hexColorCode)
Sets the dark background color of the button.
|
getDarkTextColor, getTextColor, getTextFontName, getTextFontSize, setDarkTextColor, setTextColor, setTextFontName, setTextFontSizepublic int getCornerRadius()
public void setCornerRadius(int cornerRadius)
throws InvalidInputException
cornerRadius - int value.InvalidInputException - if invalid input is provided.public java.lang.String getBackgroundColor()
Stringpublic void setBackgroundColor(java.lang.String backgroundColor)
throws InvalidInputException
backgroundColor - hex value of the color in the format: #333333InvalidInputException - is thrown when invalid input is provided.public void setDarkBackgroundColor(java.lang.String hexColorCode)
throws InvalidInputException
hexColorCode - hex value of the color in the format: #333333InvalidInputException - is thrown when invalid input is provided.public java.lang.String getDarkBackgroundColor()
String