public final class ToolbarCustomization extends Customization
Created by Ran Haveshush on 24/08/2018.
| Constructor and Description |
|---|
ToolbarCustomization() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBackgroundColor() |
java.lang.String |
getButtonText() |
java.lang.String |
getHeaderText() |
void |
setBackgroundColor(java.lang.String hexColorCode)
Sets the background color of the toolbar.
|
void |
setButtonText(java.lang.String buttonText)
Sets the button text of the toolbar.
|
void |
setHeaderText(java.lang.String headerText)
Sets the header text of the toolbar.
|
getTextColor, getTextFontName, getTextFontSize, parseHexColorCode, parseTypeface, setTextColor, setTextFontName, setTextFontSizepublic java.lang.String getBackgroundColor()
public void setBackgroundColor(java.lang.String hexColorCode)
throws InvalidInputException
hexColorCode - The colour code in Hex format. For example "#999999".InvalidInputException - This exception shall be thrown if an input parameter is invalid.public java.lang.String getHeaderText()
public void setHeaderText(java.lang.String headerText)
throws InvalidInputException
headerText - The header text for the toolbar.InvalidInputException - This exception shall be thrown if an input parameter is invalid.public java.lang.String getButtonText()
public void setButtonText(java.lang.String buttonText)
throws InvalidInputException
buttonText - The button text for the toolbar. For example, "Cancel".InvalidInputException - This exception shall be thrown if an input parameter is invalid.