Package com.adyen.threeds2.customization
Class SelectionItemCustomization
-
- All Implemented Interfaces:
-
java.io.Serializable
public final class SelectionItemCustomization extends Customization
This class provides methods for the App to pass selection item customization parameters to the 3DS SDK.
Created by Ran Haveshush on 01/10/2018.
-
-
Constructor Summary
Constructors Constructor Description SelectionItemCustomization()
-
Method Summary
Modifier and Type Method Description StringgetSelectionIndicatorTintColor()voidsetSelectionIndicatorTintColor(String hexColorCode)Sets the tint color of the selection indicator. StringgetHighlightedBackgroundColor()voidsetHighlightedBackgroundColor(String hexColorCode)Sets the highlighted background color of the selection item. StringgetBorderColor()voidsetBorderColor(String hexColorCode)Sets the color for the border. intgetBorderWidth()voidsetBorderWidth(int borderWidth)Sets the width of the border between the selection items. -
Methods inherited from class com.adyen.threeds2.customization.Customization
getTextColor, getTextFontName, getTextFontSize, parseHexColorCode, parseTypeface, setTextColor, setTextFontName, setTextFontSize -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSelectionIndicatorTintColor
String getSelectionIndicatorTintColor()
- Returns:
The tint color code of the selection indicator.
-
setSelectionIndicatorTintColor
void setSelectionIndicatorTintColor(String hexColorCode)
Sets the tint color of the selection indicator.
- Parameters:
hexColorCode- The color code in Hex format.
-
getHighlightedBackgroundColor
String getHighlightedBackgroundColor()
- Returns:
The highlighted background color code of the selection item.
-
setHighlightedBackgroundColor
void setHighlightedBackgroundColor(String hexColorCode)
Sets the highlighted background color of the selection item.
- Parameters:
hexColorCode- String represents the color code in Hex format.
-
getBorderColor
String getBorderColor()
- Returns:
The hex color code of the border.
-
setBorderColor
void setBorderColor(String hexColorCode)
Sets the color for the border.
- Parameters:
hexColorCode- The color code in Hex format.
-
getBorderWidth
int getBorderWidth()
- Returns:
The width of the border between the selection items.
-
setBorderWidth
void setBorderWidth(int borderWidth)
Sets the width of the border between the selection items.
- Parameters:
borderWidth- The width of the border.
-
-
-
-