Class 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 Detail

      • LabelCustomization

        public LabelCustomization()
        Constructor.
    • 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 InvalidInputException
        Sets the color of the heading label text.
        Parameters:
        hexColorCode - String should 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 InvalidInputException
        Sets 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. Use getHeadingTextColor() with UiCustomization.UiCustomizationType.DARK instead.
        Provides the value for the dark heading text color.
        Returns:
        String