
public class TextArea extends Input
| Modifier and Type | Field and Description |
|---|---|
static String |
MY_URI |
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 |
|---|
TextArea()
For exclusive use of de-serializers.
|
TextArea(Group parent,
Label label,
PropertyPath ref,
MergedRestriction valueRestriction,
String initialValue)
For exclusive use of applications.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getMaxLength()
Overrides the default implementation as a text area normally has no upper
limit on number of characters.
|
String |
getTypeURI()
Overrides the default implementation by constantly returning xsd:string.
|
boolean |
storeUserInput(Object value)
Overrides the default implementation to accept only strings.
|
getAlertString, isMandatory, setAlertString, setPropertygetAncestorRepeat, getFormObject, getHelpString, getHintString, getLabel, getParentGroup, getParentRepeat, getReferencedPPath, getRestrictions, getSuperGroups, 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 TextArea()
public TextArea(Group parent, Label label, PropertyPath ref, MergedRestriction valueRestriction, String initialValue)
parent - The mandatory parent group as the direct container of this
text area. See FormControl.PROP_PARENT_CONTROL.label - The optional Label to be associated with this text
area. 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()
getMaxLength in class FormControlpublic String getTypeURI()
getTypeURI in class FormControlpublic boolean storeUserInput(Object value)
storeUserInput in class InputCopyright © 2018 universAAL Consortium. All rights reserved.