public class DataTextField extends MustTextField implements Storable
additionalTagFragments, className, editable, enabled, fontSize, maxlength, required, size
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
DataTextField(java.lang.String name,
DataObject assignedDataObject)
Constructs a new data text field with the specified name and assigned data object.
|
DataTextField(java.lang.String name,
int size,
DataObject assignedDataObject)
Constructs a new data text field with the specified name, value, size
and assigned data object.
|
DataTextField(java.lang.String name,
int size,
int maxlength,
DataObject assignedDataObject)
Constructs a new data text field with the specified name, value, size,
max length and assigned data object.
|
Modifier and Type | Method and Description |
---|---|
void |
loadValue()
Loads the component's database stored value.
|
void |
saveValue()
Stores the component's value.
|
fetchYourValueFromRequest, getCreationTag, getText, getTextOrNullIfEmpty, isFilled, isModified, isRequirementUnfulfilled, isValid, setAdditionalTagFragments, setClassName, setColumns, setDefaultAdditionalTagFragments, setDefaultClassName, setEditable, setEnabled, setFontSize, setMaxlength, setRequired, setText, toString
destroy, getName, setComment, setFocus, setPlaceHolder, setToolTipText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFilled, isModified, isRequirementUnfulfilled, isValid, setRequired
destroy, getCreationTag, setComment, setToolTipText
public DataTextField(java.lang.String name, DataObject assignedDataObject)
name
- the name of the field to be used for markup parametersassignedDataObject
- the assigned data objectpublic DataTextField(java.lang.String name, int size, DataObject assignedDataObject)
name
- the name of the field to be used for markup parameterssize
- rendering and input conrol relevant size of the text fieldassignedDataObject
- the assigned data objectpublic DataTextField(java.lang.String name, int size, int maxlength, DataObject assignedDataObject)
name
- the name of the field to be used for markup parameterssize
- rendering relevant size of the text fieldmaxlength
- input control relevant max length of the text fieldassignedDataObject
- the assigned data objectCopyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de