public class DataTextField extends MustTextField implements DataTextComponent
additionalTagFragments, capitalization, className, contentChangeListener, controlLength, enterAction, maxColumns, maxlength, registerFlag, required, size
context, editable, enabled, lastEditability, lastVisibility, name, nonstandardPanel, nonstandardPosition, sessionData, toolTipText, visible
Constructor and Description |
---|
DataTextField(SessionData sessionData,
java.lang.String columnName,
DataObject assignedDataObject)
Constructs a new data text field with the specified name and assigned data object.
|
DataTextField(SessionData sessionData,
java.lang.String columnName,
int size,
DataObject assignedDataObject)
Constructs a new data text field with the specified name, value, size
and assigned data object.
|
DataTextField(SessionData sessionData,
java.lang.String columnName,
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 |
---|---|
DataObject |
getAssignedDataObject() |
void |
loadValue()
Loads the component's database stored value.
|
void |
saveValue()
Stores the component's value.
|
void |
setOnChoice() |
addContentChangeListener, addMoreCreationAspects, buildRemoteView, fetchValuesFromRequest, getApplication, getCreateTagElement, getText, getTextOrNullIfEmpty, hasFocus, isFilled, isModified, isRequirementUnfulfilled, isValid, perform, setApplication, setCapitalization, setColumns, setEditable, setEnterAction, setOnChoice, setRegisterFlag, setRequired, setText, setTextAsUserInput, setValues
destroy
beginAction, endAction, free, getContext, getName, getTranslation, isEnabled, isVisible, register, requestFocusInWindow, resetLastStatus, selectAll, setEnabled, setToolTipText, setVisible
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getText, setText
isFilled, isModified, isRequirementUnfulfilled, isValid, setRequired
requestFocusInWindow, selectAll, setValues
destroy, fetchValuesFromRequest, setToolTipText
buildRemoteView
public DataTextField(SessionData sessionData, java.lang.String columnName, DataObject assignedDataObject)
name
- the name of the fieldassignedDataObject
- the assigned data objectpublic DataTextField(SessionData sessionData, java.lang.String columnName, int size, DataObject assignedDataObject)
name
- the name of the fieldsize
- rendering and input control relevant size of the text fieldassignedDataObject
- the assigned data objectpublic DataTextField(SessionData sessionData, java.lang.String columnName, int size, int maxlength, DataObject assignedDataObject)
name
- the name of the fieldsize
- rendering relevant size of the text fieldmaxlength
- input control relevant max length of the text fieldassignedDataObject
- the assigned data objectpublic DataObject getAssignedDataObject()
getAssignedDataObject
in interface Storable
public void setOnChoice()
public void loadValue()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de