public final class ButtonCustomization extends Customization
Created by Ran Haveshush on 24/08/2018.
| Constructor and Description |
|---|
ButtonCustomization() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBackgroundColor() |
int |
getCornerRadius() |
void |
setBackgroundColor(java.lang.String hexColorCode)
Sets the background color of the button.
|
void |
setCornerRadius(int cornerRadius)
Sets the radius of the button corners.
|
getTextColor, getTextFontName, getTextFontSize, parseHexColorCode, parseTypeface, setTextColor, setTextFontName, setTextFontSizepublic java.lang.String getBackgroundColor()
public void setBackgroundColor(java.lang.String hexColorCode)
throws InvalidInputException
hexColorCode - The color code in Hex format. For example "#999999".InvalidInputException - This exception shall be thrown if an input parameter is invalid.public int getCornerRadius()
public void setCornerRadius(int cornerRadius)
throws InvalidInputException
cornerRadius - The radius for the button corners.InvalidInputException - This exception shall be thrown if an input parameter is invalid.