Class Customization
- java.lang.Object
-
- com.netcetera.threeds.sdk.api.ui.logic.Customization
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ButtonCustomization,LabelCustomization,TextBoxCustomization,ToolbarCustomization
public abstract class Customization extends java.lang.Object implements java.io.SerializableCustomization's superclass and provides methods to pass UI customization parameters to the 3DS SDK.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Customization()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetDarkTextColor()Deprecated.This is no longer supported since EMVCo Specification 2.3.1.java.lang.StringgetTextColor()Provides the text color value.java.lang.StringgetTextFontName()Provides the value for text font name.intgetTextFontSize()Provides the value for text font size is SP.voidsetDarkTextColor(java.lang.String hexColorCode)Deprecated.This is no longer supported since EMVCo Specification 2.3.1.voidsetTextColor(java.lang.String hexColorCode)voidsetTextFontName(java.lang.String textFontName)voidsetTextFontSize(int textFontSize)
-
-
-
Method Detail
-
getTextFontSize
public int getTextFontSize()
Provides the value for text font size is SP.- Returns:
- int value font size
-
setTextFontSize
public void setTextFontSize(int textFontSize) throws InvalidInputException- Parameters:
textFontSize- size of the text in SP.- Throws:
InvalidInputException- if invalid input is provided.
-
getTextColor
public java.lang.String getTextColor()
Provides the text color value.- Returns:
String
-
setTextColor
public void setTextColor(java.lang.String hexColorCode) throws InvalidInputException- Parameters:
hexColorCode- color value in hexadecimal format, example: #333333- Throws:
InvalidInputException- if invalid input is provided.
-
getTextFontName
public java.lang.String getTextFontName()
Provides the value for text font name.- Returns:
String
-
setTextFontName
public void setTextFontName(java.lang.String textFontName) throws InvalidInputException- Parameters:
textFontName-String- Throws:
InvalidInputException- if invalid input is provided.
-
getDarkTextColor
@Deprecated public java.lang.String getDarkTextColor()
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsegetTextColor()withUiCustomization.UiCustomizationType.DARKinstead.Provides the dark text color value.- Returns:
String
-
setDarkTextColor
@Deprecated public void setDarkTextColor(java.lang.String hexColorCode) throws InvalidInputExceptionDeprecated.This is no longer supported since EMVCo Specification 2.3.1. UsesetTextColor(String)withUiCustomization.UiCustomizationType.DARKinstead.Sets the dark text color.- Parameters:
hexColorCode- color value in hexadecimal format, example: #333333- Throws:
InvalidInputException- if invalid input is provided.
-
-