org.universAAL.middleware.ui.rdf
Class TextArea
java.lang.Object
org.universAAL.middleware.rdf.Resource
org.universAAL.middleware.rdf.FinalizedResource
org.universAAL.middleware.ui.rdf.FormElement
org.universAAL.middleware.ui.rdf.FormControl
org.universAAL.middleware.ui.rdf.Input
org.universAAL.middleware.ui.rdf.TextArea
public class TextArea
- extends Input
An input control for getting larger text input.
- Author:
- mtazari, Carsten Stockloew
Fields inherited from class org.universAAL.middleware.rdf.Resource |
ANON_URI_PREFIX, blockAddingTypes, isXMLLiteral, ns_delim_index, 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, PROP_uAAL_INVOLVED_HUMAN_USER, props, RDF_EMPTY_LIST, RDF_NAMESPACE, RDFS_NAMESPACE, TYPE_RDF_LIST, TYPE_RDFS_CLASS, uAAL_NAMESPACE_PREFIX, uAAL_SERVICE_NAMESPACE, uAAL_VOCABULARY_NAMESPACE, uri |
Method Summary |
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. |
Methods inherited from class org.universAAL.middleware.ui.rdf.FormControl |
getAncestorRepeat, getFormObject, getHelpString, getHintString, getLabel, getParentGroup, getParentRepeat, getReferencedPPath, getRestrictions, getSuperGroups, getValue, hasFocus, hasValue, isOfBooleanType, isOfPrimitiveType, isRepeatable, setHelpString, setHintString, toString |
Methods inherited from class org.universAAL.middleware.rdf.FinalizedResource |
addType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfProperties |
Methods inherited from class org.universAAL.middleware.rdf.Resource |
addMultiLangProp, asList, asList, asRDFList, changeProperty, copy, deepCopy, equals, generateAnonURI, getDefaultLang, getFilename, getMultiLangProp, getOrConstructLabel, getPropSerializationType, getResource, getResourceComment, getResourceLabel, getStaticFieldValue, hashCode, hasProperty, isAnon, isBlockingAddingTypes, isClosedCollection, isQualifiedName, isWellFormed, literal, representsQualifiedURI, serializesAsXMLLiteral, setPropertyPath, setPropertyPath, setPropertyPathFromOffset, setResourceComment, setResourceLabel, toStringRecursive, toStringRecursive, unliteral |
MY_URI
public static final String MY_URI
- See Also:
- Constant Field Values
TextArea
public TextArea()
- For exclusive use of de-serializers.
TextArea
public TextArea(Group parent,
Label label,
PropertyPath ref,
MergedRestriction valueRestriction,
String initialValue)
- For exclusive use of applications.
- Parameters:
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.
getMaxLength
public int getMaxLength()
- Overrides the default implementation as a text area normally has no upper
limit on number of characters.
- Overrides:
getMaxLength
in class FormControl
getTypeURI
public String getTypeURI()
- Overrides the default implementation by constantly returning xsd:string.
- Overrides:
getTypeURI
in class FormControl
storeUserInput
public boolean storeUserInput(Object value)
- Overrides the default implementation to accept only strings.
- Overrides:
storeUserInput
in class Input
Copyright © 2014 universAAL Consortium. All Rights Reserved.