
| Modifier and Type | Field and Description |
|---|---|
static String |
MY_URI |
static String |
PROP_IS_SECRET
To be set by applications if the field value, e.g.
|
static String |
PROP_MAX_LENGTH
To be set by applications (recommended) to declare a general restriction
on the number of characters in the string representation of any
acceptable value for the corresponding input field.
|
PROP_INPUT_ALERT, PROP_IS_MANDATORYPROP_CONTROL_LABEL, PROP_HELP, PROP_HINT, PROP_PARENT_CONTROL, PROP_REFERENCED_PPATH, PROP_VALUE_RESTRICTIONPROP_APPEARANCEANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, NAMESPACE_PREFIX, ns_delim_index, PROP_INVOLVED_HUMAN_USER, PROP_RDF_FIRST, PROP_RDF_REST, PROP_RDF_TYPE, PROP_RDFS_COMMENT, PROP_RDFS_LABEL, PROP_SERIALIZATION_FULL, PROP_SERIALIZATION_OPTIONAL, PROP_SERIALIZATION_REDUCED, PROP_SERIALIZATION_UNDEFINED, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, SERVICE_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uri, VOCABULARY_NAMESPACE| Constructor and Description |
|---|
InputField()
For exclusive use by de-serializers.
|
InputField(Group parent,
Label label,
PropertyPath ref,
MergedRestriction valueRestriction,
Object initialValue)
Constructs a new input field.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxLength()
Overrides the default implementation in
FormControl.getMaxLength() in order to consider a possibly
available value for PROP_MAX_LENGTH at first. |
boolean |
isSecret() |
void |
setMaxLength(int maxLength) |
boolean |
setProperty(String propURI,
Object value)
For usage by de-serializers.
|
void |
setSecret() |
getAlertString, isMandatory, setAlertString, storeUserInputgetAncestorRepeat, getFormObject, getHelpString, getHintString, getLabel, getParentGroup, getParentRepeat, getReferencedPPath, getRestrictions, getSuperGroups, getTypeURI, getValue, hasFocus, hasValue, isOfBooleanType, isOfPrimitiveType, isRepeatable, setHelpString, setHintString, toStringaddAppearanceRecommendation, getAppearanceRecommendationsaddType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfPropertiesaddMultiLangProp, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getOrConstructLabel, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, isWellFormed, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toStringRecursive, toStringRecursive, unliteralpublic static final String MY_URI
public static final String PROP_IS_SECRET
public static final String PROP_MAX_LENGTH
public InputField()
public InputField(Group parent, Label label, PropertyPath ref, MergedRestriction valueRestriction, Object initialValue)
parent - The mandatory parent group as the direct container of this
input field. See FormControl.PROP_PARENT_CONTROL.label - The optional Label to be associated with this input
field. See FormControl.PROP_CONTROL_LABEL.ref - See FormControl.PROP_REFERENCED_PPATH; mandatory.valueRestriction - See FormControl.PROP_VALUE_RESTRICTION; optional.initialValue - The optional initial value to be stored in form data under the
path given for the above ref parameter.public int getMaxLength()
FormControl.getMaxLength() in order to consider a possibly
available value for PROP_MAX_LENGTH at first.getMaxLength in class FormControlpublic boolean isSecret()
PROP_IS_SECRETpublic void setMaxLength(int maxLength)
PROP_MAX_LENGTHpublic boolean setProperty(String propURI, Object value)
FormControlsetProperty in class InputInput.setProperty(String, Object)public void setSecret()
PROP_IS_SECRETCopyright © 2018 universAAL Consortium. All rights reserved.