public abstract class Input extends FormControl
Modifier and Type | Field and Description |
---|---|
static String |
MY_URI |
static String |
PROP_INPUT_ALERT
A mandatory (in the sense of "best practice") property for defining a
message to be communicated with human users if the provided input by them
is erroneous.
|
static String |
PROP_IS_MANDATORY
A property that is set automatically by the dialog package as soon as an
input control is added to a
Submit control as mandatory input. |
PROP_CONTROL_LABEL, PROP_HELP, PROP_HINT, PROP_PARENT_CONTROL, PROP_REFERENCED_PPATH, PROP_VALUE_RESTRICTION
PROP_APPEARANCE
ANON_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
Modifier | Constructor and Description |
---|---|
protected |
Input() |
protected |
Input(String typeURI,
Group parent,
Label label,
PropertyPath ref,
MergedRestriction valueRestriction,
Object initialValue) |
Modifier and Type | Method and Description |
---|---|
String |
getAlertString() |
boolean |
isMandatory() |
void |
setAlertString(String value) |
boolean |
setProperty(String propURI,
Object value)
For usage by de-serializers.
|
boolean |
storeUserInput(Object value)
Tries to store the given value as user input and returns true if it
passes all the known restrictions, false otherwise.
|
getAncestorRepeat, getFormObject, getHelpString, getHintString, getLabel, getMaxLength, getParentGroup, getParentRepeat, getReferencedPPath, getRestrictions, getSuperGroups, getTypeURI, getValue, hasFocus, hasValue, isOfBooleanType, isOfPrimitiveType, isRepeatable, setHelpString, setHintString, toString
addAppearanceRecommendation, getAppearanceRecommendations
addType, getLocalName, getNamespace, getProperty, getPropertyURIs, getType, getTypes, getURI, hasQualifiedName, isAnon, numberOfProperties
addMultiLangProp, 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, unliteral
public static final String MY_URI
public static final String PROP_INPUT_ALERT
public static final String PROP_IS_MANDATORY
Submit
control as mandatory input. By
default, input controls are optional.protected Input()
protected Input(String typeURI, Group parent, Label label, PropertyPath ref, MergedRestriction valueRestriction, Object initialValue)
public String getAlertString()
PROP_INPUT_ALERT
public boolean isMandatory()
PROP_IS_MANDATORY
public void setAlertString(String value)
PROP_INPUT_ALERT
public boolean setProperty(String propURI, Object value)
FormControl
setProperty
in class FormControl
FormControl.setProperty(String, Object)
public boolean storeUserInput(Object value)
Copyright © 2018 universAAL Consortium. All rights reserved.