public class InputFieldModel extends InputModel
fcProps| Constructor and Description |
|---|
InputFieldModel(InputField fe,
HTMLUserGenerator render) |
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
generateInputHTML()
the representation for InputField can either be
a checkbox if the
FormControl.getValue() is a boolean type
a text if the FormControl.getValue() is a String and not
secret
a password if the FormControl.getValue() is String and it is
secret
a datetime-local if the FormControl.getValue() is a
XMLGregorianCalendar
a ?? if the FormControl.getValue() is a Duration
a number if the FormControl.getValue() is a Integer
a number if the FormControl.getValue() is a Long
a number if the FormControl.getValue() is a Float
a number if the FormControl.getValue() is a Double
a ?? if the FormControl.getValue() is a Locale
|
static void |
setInputTypeProperties(Properties prop,
Object val)
Add properties to input properties.
|
boolean |
updateInput(String[] strings) |
generateHTMLWithoutLabel, isErroneousOrMissingcorrespondsTo, generateHTML, getLabelModel, getTitle, isInDialog, isInIOGroup, isInMainMenu, isInMessage, isInStandardGroup, isInSubDialog, isInSubmitGroup, isOfTypeaddSRCProp, getCachedURL, getFormElement, getRenderer, singleTag, tag, tagpublic InputFieldModel(InputField fe, HTMLUserGenerator render)
fe - render - public boolean updateInput(String[] strings)
updateInput in class InputModelstrings - the parameters recovered by the servletpublic StringBuffer generateInputHTML()
FormControl.getValue() is a boolean type
FormControl.getValue() is a String and not
secret
FormControl.getValue() is String and it is
secret
FormControl.getValue() is a
XMLGregorianCalendar
FormControl.getValue() is a Duration
FormControl.getValue() is a Integer
FormControl.getValue() is a Long
FormControl.getValue() is a Float
FormControl.getValue() is a Double
FormControl.getValue() is a Locale
generateInputHTML in class InputModelpublic static void setInputTypeProperties(Properties prop, Object val)
prop - the properties to editval - the value to work with.Copyright © 2018 universAAL Consortium. All rights reserved.