public class WhiteLabelingOptions extends AbstractResource
Modifier and Type | Field and Description |
---|---|
static String |
LEGAL_VERSION_1 |
static String |
LEGAL_VERSION_2 |
static String |
WHITE_LABELING_OPTIONS_HEADER_BACKGROUND_COLOR |
static String |
WHITE_LABELING_OPTIONS_KEY |
static String |
WHITE_LABELING_OPTIONS_LEGAL_VERSION |
static String |
WHITE_LABELING_OPTIONS_LINK_COLOR |
static String |
WHITE_LABELING_OPTIONS_PAGE_BACKGROUND_COLOR |
static String |
WHITE_LABELING_OPTIONS_PRIMARY_BUTTON_COLOR |
static String |
WHITE_LABELING_OPTIONS_PRIMARY_BUTTON_COLOR_HOVER |
static String |
WHITE_LABELING_OPTIONS_PRIMARY_BUTTON_TEXT_COLOR |
static String |
WHITE_LABELING_OPTIONS_PRIMARY_BUTTON_TEXT_COLOR_HOVER |
static String |
WHITE_LABELING_OPTIONS_SECONDARY_BUTTON_COLOR |
static String |
WHITE_LABELING_OPTIONS_SECONDARY_BUTTON_COLOR_HOVER |
static String |
WHITE_LABELING_OPTIONS_SECONDARY_BUTTON_TEXT_COLOR |
static String |
WHITE_LABELING_OPTIONS_SECONDARY_BUTTON_TEXT_COLOR_HOVER |
static String |
WHITE_LABELING_OPTIONS_TEXT_COLOR_1 |
static String |
WHITE_LABELING_OPTIONS_TEXT_COLOR_2 |
dataObj, warnings
Constructor and Description |
---|
WhiteLabelingOptions() |
WhiteLabelingOptions(org.json.JSONObject json) |
Modifier and Type | Method and Description |
---|---|
String |
getHeaderBackgroundColor()
Get the signer page header background color.
|
String |
getLinkColor()
Get the signer page link color.
|
String |
getPageBackgroundColor()
Get the signer page background color.
|
String |
getPrimaryButtonColor()
Get the signer page primary button color.
|
String |
getPrimaryButtonHoverColor()
Get the signer page primary button hover color.
|
String |
getPrimaryButtonTextColor()
Get the signer page primary button text color.
|
String |
getPrimaryButtonTextHoverColor()
Get the signer page primary button text hover color.
|
String |
getSecondaryButtonColor()
Get the signer page secondary button color.
|
String |
getSecondaryButtonHoverColor()
Get the signer page secondary button hover color.
|
String |
getSecondaryButtonTextColor()
Get the signer page secondary button text color.
|
String |
getSecondaryButtonTextHoverColor()
Get the signer page secondary button text hover color.
|
String |
getTextColor1()
Get the signer page text 1 color.
|
String |
getTextColor2()
Get the signer page text 2 color.
|
void |
setHeaderBackgroundColor(String color)
Set the signer page header background color.
|
void |
setLegalVersion(String version)
Set the legal terms version.
|
void |
setLinkColor(String color)
Set the signer page link color.
|
void |
setPageBackgroundColor(String color)
Set the signer page background color.
|
void |
setPrimaryButtonColor(String color)
Set the signer page primary button color.
|
void |
setPrimaryButtonHoverColor(String color)
Set the signer page primary button hover color.
|
void |
setPrimaryButtonTextColor(String color)
Set the signer page primary button text color.
|
void |
setPrimaryButtonTextHoverColor(String color)
Set the signer page primary button text hover color.
|
void |
setSecondaryButtonColor(String color)
Set the signer page secondary button color.
|
void |
setSecondaryButtonHoverColor(String color)
Set the signer page secondary button hover color.
|
void |
setSecondaryButtonTextColor(String color)
Set the signer page secondary button text color.
|
void |
setSecondaryButtonTextHoverColor(String color)
Set the signer page secondary button text hover color.
|
void |
setTextColor1(String color)
Set the signer page text 1 color.
|
void |
setTextColor2(String color)
Set the signer page text 2 color.
|
boolean |
validateColor(String hex)
Validate hex with regular expression
|
add, addToList, clearList, get, getBoolean, getConstructor, getDate, getInteger, getJSONObject, getList, getList, getLong, getString, getWarnings, has, hasString, set, toString, toString
public static final String WHITE_LABELING_OPTIONS_KEY
public static final String WHITE_LABELING_OPTIONS_PAGE_BACKGROUND_COLOR
public static final String WHITE_LABELING_OPTIONS_HEADER_BACKGROUND_COLOR
public static final String WHITE_LABELING_OPTIONS_TEXT_COLOR_1
public static final String WHITE_LABELING_OPTIONS_TEXT_COLOR_2
public static final String WHITE_LABELING_OPTIONS_LINK_COLOR
public static final String WHITE_LABELING_OPTIONS_PRIMARY_BUTTON_COLOR
public static final String WHITE_LABELING_OPTIONS_PRIMARY_BUTTON_TEXT_COLOR
public static final String WHITE_LABELING_OPTIONS_PRIMARY_BUTTON_COLOR_HOVER
public static final String WHITE_LABELING_OPTIONS_PRIMARY_BUTTON_TEXT_COLOR_HOVER
public static final String WHITE_LABELING_OPTIONS_SECONDARY_BUTTON_COLOR
public static final String WHITE_LABELING_OPTIONS_SECONDARY_BUTTON_TEXT_COLOR
public static final String WHITE_LABELING_OPTIONS_SECONDARY_BUTTON_COLOR_HOVER
public static final String WHITE_LABELING_OPTIONS_SECONDARY_BUTTON_TEXT_COLOR_HOVER
public static final String WHITE_LABELING_OPTIONS_LEGAL_VERSION
public static final String LEGAL_VERSION_1
public static final String LEGAL_VERSION_2
public WhiteLabelingOptions()
public WhiteLabelingOptions(org.json.JSONObject json) throws HelloSignException
HelloSignException
public boolean validateColor(String hex)
hex
- string for validationpublic String getPageBackgroundColor()
public void setPageBackgroundColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getHeaderBackgroundColor()
public void setHeaderBackgroundColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getTextColor1()
public void setTextColor1(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getTextColor2()
public void setTextColor2(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getLinkColor()
public void setLinkColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getPrimaryButtonColor()
public void setPrimaryButtonColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getPrimaryButtonTextColor()
public void setPrimaryButtonTextColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getPrimaryButtonHoverColor()
public void setPrimaryButtonHoverColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getPrimaryButtonTextHoverColor()
public void setPrimaryButtonTextHoverColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getSecondaryButtonColor()
public void setSecondaryButtonColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getSecondaryButtonTextColor()
public void setSecondaryButtonTextColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getSecondaryButtonHoverColor()
public void setSecondaryButtonHoverColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic String getSecondaryButtonTextHoverColor()
public void setSecondaryButtonTextHoverColor(String color) throws HelloSignException
color
- String hex color codeHelloSignException
- thrown if the color string is an invalid hex
stringpublic void setLegalVersion(String version)
version
- String use constants LEGAL_VERSION_1 or LEGAL_VERSION_2Copyright © 2017 HelloSign. All rights reserved.