public class DataIntField extends MustIntField implements Storable
Modifier and Type | Field and Description |
---|---|
protected int |
defaultValue |
protected java.lang.String |
editBeginValue |
additionalTagFragments, className, editable, enabled, fontSize, maxlength, required, size
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
DataIntField(java.lang.String name,
DataObject assignedDataObject)
Constructs a new integer text field with the specified name and assigned data object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isFilled()
Indicates whether the component has a value.
|
boolean |
isModified()
Indicates whether the component's value differs from its initial value.
|
boolean |
isRequirementUnfulfilled()
Returns true if the component's value is mandatory but not filled.
|
void |
loadValue()
Loads the component's database stored value.
|
void |
saveValue()
Stores the component's value.
|
getCreationTag, getIntValue, isValid, setDefaultClassName, setInputRange, setIntValue, setMaximumValue, setMinimumValue
fetchYourValueFromRequest, getText, getTextOrNullIfEmpty, setAdditionalTagFragments, setClassName, setColumns, setDefaultAdditionalTagFragments, setEditable, setEnabled, setFontSize, setMaxlength, setRequired, setText, toString
destroy, getName, setComment, setFocus, setPlaceHolder, setToolTipText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isValid, setRequired
destroy, getCreationTag, setComment, setToolTipText
protected int defaultValue
protected java.lang.String editBeginValue
public DataIntField(java.lang.String name, DataObject assignedDataObject)
name
- the name of the field to be used for markup parametersassignedDataObject
- the assigned data objectpublic void loadValue()
public boolean isFilled()
isFilled
in interface Storable
isFilled
in class MustTextField
public boolean isModified()
isModified
in interface Storable
isModified
in class MustTextField
public boolean isRequirementUnfulfilled()
isRequirementUnfulfilled
in interface Storable
isRequirementUnfulfilled
in class MustTextField
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de