Class TextBoxCustomization
- java.lang.Object
-
- com.netcetera.threeds.sdk.api.ui.logic.Customization
-
- com.netcetera.threeds.sdk.api.ui.logic.TextBoxCustomization
-
- All Implemented Interfaces:
java.io.Serializable
public final class TextBoxCustomization extends Customization implements java.io.Serializable
Provides methods to pass TextBoxCustomization parameters to the 3DS SDK.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TextBoxCustomization()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetBorderColor()Provides border color value.intgetBorderWidth()Providers value for border width.intgetCornerRadius()Provides value for the corner radius.java.lang.StringgetDarkBorderColor()Deprecated.This is no longer supported since EMVCo Specification 2.3.1.voidsetBorderColor(java.lang.String borderColor)voidsetBorderWidth(int borderWidth)voidsetCornerRadius(int cornerRadius)voidsetDarkBorderColor(java.lang.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
-
-
-
-
Method Detail
-
getBorderWidth
public int getBorderWidth()
Providers value for border width.- Returns:
- int value of border width
-
setBorderWidth
public void setBorderWidth(int borderWidth) throws InvalidInputException- Parameters:
borderWidth-Integer- Throws:
InvalidInputException- if invalid input is provided.
-
getBorderColor
public java.lang.String getBorderColor()
Provides border color value.- Returns:
String
-
setBorderColor
public void setBorderColor(java.lang.String borderColor) throws InvalidInputException- 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
public void setCornerRadius(int cornerRadius) throws InvalidInputException- Parameters:
cornerRadius-Integerlarger or equal to 0.- Throws:
InvalidInputException- if invalid input is provided.
-
getDarkBorderColor
@Deprecated public java.lang.String 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 public void setDarkBorderColor(java.lang.String hexColorCode) throws InvalidInputExceptionDeprecated.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.
-
-