Package com.adyen.threeds2.customization
Class Customization
-
- All Implemented Interfaces:
-
java.io.Serializable
public class Customization implements Serializable
This class serves as a superclass for the specific customization classes.
Created by Ran Haveshush on 24/08/2018.
-
-
Method Summary
Modifier and Type Method Description static Integer
parseHexColorCode(String hexColorCode)
static Typeface
parseTypeface(Context context, String fontName)
String
getTextColor()
void
setTextColor(String hexColorCode)
Sets the text color for a UI element. String
getTextFontName()
void
setTextFontName(String fontName)
Sets the text font type for a UI element. int
getTextFontSize()
void
setTextFontSize(int fontSize)
Sets the text font size for a UI element. -
-
Method Detail
-
parseHexColorCode
static Integer parseHexColorCode(String hexColorCode)
-
parseTypeface
static Typeface parseTypeface(Context context, String fontName)
-
getTextColor
String getTextColor()
- Returns:
The color code of the text.
-
setTextColor
void setTextColor(String hexColorCode)
Sets the text color for a UI element.
- Parameters:
hexColorCode
- The color code in Hex format.
-
getTextFontName
String getTextFontName()
- Returns:
The text font type name.
-
setTextFontName
void setTextFontName(String fontName)
Sets the text font type for a UI element.
- Parameters:
fontName
- The text font type name for the UI element.
-
getTextFontSize
int getTextFontSize()
- Returns:
The text font size.
-
setTextFontSize
void setTextFontSize(int fontSize)
Sets the text font size for a UI element.
- Parameters:
fontSize
- The text font size for the UI element.
-
-
-
-