public class Customization
extends java.lang.Object
Created by Ran Haveshush on 24/08/2018.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getTextColor() |
java.lang.String |
getTextFontName() |
int |
getTextFontSize() |
static java.lang.Integer |
parseHexColorCode(java.lang.String hexColorCode) |
static android.graphics.Typeface |
parseTypeface(android.content.Context context,
java.lang.String fontName) |
void |
setTextColor(java.lang.String hexColorCode)
Sets the text color for a UI element.
|
void |
setTextFontName(java.lang.String fontName)
Sets the text font type for a UI element.
|
void |
setTextFontSize(int fontSize)
Sets the text font size for a UI element.
|
public static java.lang.Integer parseHexColorCode(java.lang.String hexColorCode)
public static android.graphics.Typeface parseTypeface(android.content.Context context,
java.lang.String fontName)
public java.lang.String getTextColor()
public void setTextColor(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 java.lang.String getTextFontName()
public void setTextFontName(java.lang.String fontName)
throws InvalidInputException
fontName - The text font type name for the UI element.InvalidInputException - This exception shall be thrown if an input parameter is invalid.public int getTextFontSize()
public void setTextFontSize(int fontSize)
throws InvalidInputException
fontSize - The text font size for the UI element.InvalidInputException - This exception shall be thrown if an input parameter is invalid.