Class ToolbarCustomization
- java.lang.Object
-
- com.netcetera.threeds.sdk.api.ui.logic.Customization
-
- com.netcetera.threeds.sdk.api.ui.logic.ToolbarCustomization
-
- All Implemented Interfaces:
java.io.Serializable
public final class ToolbarCustomization extends Customization implements java.io.Serializable
The ToolbarCustomization class provides methods to pass ToolbarCustomization parameters to the 3DS SDK.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ToolbarCustomization()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetBackgroundColor()Provides value for background color.java.lang.StringgetButtonText()Provides value for button text.java.lang.StringgetDarkBackgroundColor()Deprecated.This is no longer supported since EMVCo Specification 2.3.1.java.lang.StringgetHeaderText()Provides value for header text.voidsetBackgroundColor(java.lang.String hexColorCode)voidsetButtonText(java.lang.String buttonText)voidsetDarkBackgroundColor(java.lang.String hexColorCode)Deprecated.This is no longer supported since EMVCo Specification 2.3.1.voidsetHeaderText(java.lang.String headerText)-
Methods inherited from class com.netcetera.threeds.sdk.api.ui.logic.Customization
getDarkTextColor, getTextColor, getTextFontName, getTextFontSize, setDarkTextColor, setTextColor, setTextFontName, setTextFontSize
-
-
-
-
Method Detail
-
getHeaderText
public java.lang.String getHeaderText()
Provides value for header text.- Returns:
String
-
setHeaderText
public void setHeaderText(java.lang.String headerText) throws InvalidInputException- Parameters:
headerText-String- Throws:
InvalidInputException- if headerText doesn't have a valid value.
-
getButtonText
public java.lang.String getButtonText()
Provides value for button text.- Returns:
String
-
setButtonText
public void setButtonText(java.lang.String buttonText) throws InvalidInputException- Parameters:
buttonText-String- Throws:
InvalidInputException- if buttonText doesn't have a valid value.
-
getBackgroundColor
public java.lang.String getBackgroundColor()
Provides value for background color.- Returns:
String
-
setBackgroundColor
public void setBackgroundColor(java.lang.String hexColorCode) throws InvalidInputException- Parameters:
hexColorCode-Stringin hexadecimal format, example: #999999- Throws:
InvalidInputException- if invalid value is passed.
-
getDarkBackgroundColor
@Deprecated public java.lang.String getDarkBackgroundColor()
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsegetBackgroundColor()withUiCustomization.UiCustomizationType.DARKinstead.Provides value for dark background color.- Returns:
String
-
setDarkBackgroundColor
@Deprecated public void setDarkBackgroundColor(java.lang.String hexColorCode) throws InvalidInputExceptionDeprecated.This is no longer supported since EMVCo Specification 2.3.1. UsesetBackgroundColor(String)withUiCustomization.UiCustomizationType.DARKinstead.Sets the dark background color of the toolbar.- Parameters:
hexColorCode-Stringin hexadecimal format, example: #999999- Throws:
InvalidInputException- if invalid value is passed.
-
-