public class Creditcard extends AbstractFormFieldComponent
/libs/foundation/components/form/creditcard in the repository for implementation details.| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_APPLYCCTYPEFILTER |
static String |
PROP_NAME |
static String |
PROP_READONLY |
static String |
PROP_REQUIRED |
static String |
PROP_SHOWCCV |
static String |
PROP_TITLE |
static String |
RESOURCE_TYPE |
OPT_CONSTRAINT_TYPE_DATE, OPT_CONSTRAINT_TYPE_EMAIL, OPT_CONSTRAINT_TYPE_NAME, OPT_CONSTRAINT_TYPE_NUMERIC, PROP_CONSTRAINT_MESSAGE, PROP_CONSTRAINT_TYPE, PROP_DEFAULT_VALUE, PROP_DESCRIPTION, PROP_ELEMENT_NAME, PROP_HIDE_TITLE, PROP_REQUIRED_MESSAGE, PROP_STYLING_CSSchangeProperties, client, componentPath, DEFAULT_LOCATION, jsonNode, location, pagePath| Constructor and Description |
|---|
Creditcard(ComponentClient client,
String pagePath,
String location,
String nameHint)
The constructor stores all the component path information like parentPage, name etc.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getResourceType()
The resource type for the component, e.g.
|
getCreateFormEntity, getElementName, setConstraint, setDefaultValue, setDescription, setElementName, setHideTitle, setStylingCss, setTitle, setUseConstraintcreate, getClient, getComponentNode, getComponentPath, getFirstChild, getLocation, getName, getNext, getNextNodePath, getPagePath, getParentPath, getPrevious, getPreviousNodePath, getProperty, getPropertyAsString, getPropertyAsStringArray, reorder, save, setProperty, setPropertypublic static final String RESOURCE_TYPE
public static final String PROP_TITLE
public static final String PROP_NAME
public static final String PROP_REQUIRED
public static final String PROP_READONLY
public static final String PROP_APPLYCCTYPEFILTER
public static final String PROP_SHOWCCV
public Creditcard(ComponentClient client, String pagePath, String location, String nameHint) throws org.apache.sling.testing.clients.ClientException
client - The ComponentClient that's creating
this instance.pagePath - path to the page that will contain the component.location - relative location to the parent node inside the page that will contain the component node.nameHint - name to be used for the component node. Might get altered by the server if a naming conflict
occurs. The AbstractComponent.getName() method will return the correct name after AbstractComponent.create(String, int...)
has been called.org.apache.sling.testing.clients.ClientException - if the request failspublic String getResourceType()
AbstractComponentsling:resourceType property of the node.getResourceType in class AbstractComponentCopyright © 2018. All rights reserved.