Class LabelCustomization
- java.lang.Object
-
- com.netcetera.threeds.sdk.api.ui.logic.Customization
-
- com.netcetera.threeds.sdk.api.ui.logic.LabelCustomization
-
- All Implemented Interfaces:
java.io.Serializable
public final class LabelCustomization extends Customization implements java.io.Serializable
Provides methods for passing LabelCustomization parameters to the 3DS SDK.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LabelCustomization()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetHeadingDarkTextColor()Deprecated.This is no longer supported since EMVCo Specification 2.3.1.java.lang.StringgetHeadingTextColor()Provides the value for the heading text color.java.lang.StringgetHeadingTextFontName()Provides the value for heading text font name.intgetHeadingTextFontSize()Provides the value for heading text font size is SP.voidsetHeadingDarkTextColor(java.lang.String hexColorCode)Deprecated.This is no longer supported since EMVCo Specification 2.3.1.voidsetHeadingTextColor(java.lang.String hexColorCode)Sets the color of the heading label text.voidsetHeadingTextFontName(java.lang.String headingTextFontName)voidsetHeadingTextFontSize(int headingTextFontSize)Sets the font size of the heading label text in SP.-
Methods inherited from class com.netcetera.threeds.sdk.api.ui.logic.Customization
getDarkTextColor, getTextColor, getTextFontName, getTextFontSize, setDarkTextColor, setTextColor, setTextFontName, setTextFontSize
-
-
-
-
Method Detail
-
getHeadingTextColor
public java.lang.String getHeadingTextColor()
Provides the value for the heading text color.- Returns:
String
-
setHeadingTextColor
public void setHeadingTextColor(java.lang.String hexColorCode) throws InvalidInputExceptionSets the color of the heading label text.- Parameters:
hexColorCode-Stringshould be hexadecimal format, example: #999999- Throws:
InvalidInputException- if invalid input is provided.
-
getHeadingTextFontName
public java.lang.String getHeadingTextFontName()
Provides the value for heading text font name.- Returns:
String
-
setHeadingTextFontName
public void setHeadingTextFontName(java.lang.String headingTextFontName) throws InvalidInputException- Parameters:
headingTextFontName-String- Throws:
InvalidInputException- if invalid input is provided.
-
getHeadingTextFontSize
public int getHeadingTextFontSize()
Provides the value for heading text font size is SP.- Returns:
- int value of text font size
-
setHeadingTextFontSize
public void setHeadingTextFontSize(int headingTextFontSize) throws InvalidInputExceptionSets the font size of the heading label text in SP.- Parameters:
headingTextFontSize- int value of heading text font size in SP.- Throws:
InvalidInputException- if invalid input is provided.
-
getHeadingDarkTextColor
@Deprecated public java.lang.String getHeadingDarkTextColor()
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsegetHeadingTextColor()withUiCustomization.UiCustomizationType.DARKinstead.Provides the value for the dark heading text color.- Returns:
String
-
setHeadingDarkTextColor
@Deprecated public void setHeadingDarkTextColor(java.lang.String hexColorCode) throws InvalidInputExceptionDeprecated.This is no longer supported since EMVCo Specification 2.3.1. UsesetHeadingTextColor(String)withUiCustomization.UiCustomizationType.DARKinstead.Sets the dark color of the heading label text.- Parameters:
hexColorCode-Stringshould be hexadecimal format, example: #999999- Throws:
InvalidInputException- if invalid input is provided.
-
-