Class TextBoxCustomization
java.lang.Object
com.netcetera.threeds.sdk.api.ui.logic.Customization
com.netcetera.threeds.sdk.api.ui.logic.TextBoxCustomization
- All Implemented Interfaces:
Serializable
Provides methods to pass TextBoxCustomization parameters to the 3DS SDK.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides border color value.intProviders value for border width.intProvides value for the corner radius.Deprecated.This is no longer supported since EMVCo Specification 2.3.1.voidsetBorderColor(String borderColor) voidsetBorderWidth(int borderWidth) voidsetCornerRadius(int cornerRadius) voidsetDarkBorderColor(String hexColorCode) Deprecated.This is no longer supported since EMVCo Specification 2.3.1.Methods inherited from class com.netcetera.threeds.sdk.api.ui.logic.Customization
getDarkTextColor, getTextColor, getTextFontName, getTextFontSize, setDarkTextColor, setTextColor, setTextFontName, setTextFontSize
-
Constructor Details
-
TextBoxCustomization
public TextBoxCustomization()Constructor.
-
-
Method Details
-
getBorderWidth
public int getBorderWidth()Providers value for border width.- Returns:
- int value of border width
-
setBorderWidth
- Parameters:
borderWidth-Integer- Throws:
InvalidInputException- if invalid input is provided.
-
getBorderColor
Provides border color value.- Returns:
String
-
setBorderColor
- Parameters:
borderColor-Stringin hexadecimal format, example: #333333.- Throws:
InvalidInputException- if invalid input is provided.
-
getCornerRadius
public int getCornerRadius()Provides value for the corner radius.- Returns:
- int value of corner radius
-
setCornerRadius
- Parameters:
cornerRadius-Integerlarger or equal to 0.- Throws:
InvalidInputException- if invalid input is provided.
-
getDarkBorderColor
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsegetBorderColor()withUiCustomization.UiCustomizationType.DARKinstead.Provides dark border color value.- Returns:
String
-
setDarkBorderColor
Deprecated.This is no longer supported since EMVCo Specification 2.3.1. UsesetBorderColor(String)withUiCustomization.UiCustomizationType.DARKinstead.Sets the dark border color of the text box.- Parameters:
hexColorCode-Stringin hexadecimal format, example: #333333.- Throws:
InvalidInputException- if invalid input is provided.
-