public class DataTextCheck extends RadioButtonGroup implements Storable
additionalTagFragments, className, editBeginIndex
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
DataTextCheck(DataObject dO,
java.lang.String columnName,
int[] keys,
java.lang.String[] meaning)
Constructs a new group of radio buttons.
|
DataTextCheck(DataObject dO,
java.lang.String columnName,
java.lang.String[] keys,
java.lang.String[] meaning)
Constructs a new group of radio buttons.
|
Modifier and Type | Method and Description |
---|---|
DataObject |
getAssignedDataObject()
Returns the assigned data object.
|
boolean |
isFilled()
Indicates whether the component has a value.
|
boolean |
isModified()
Indicates whether the component's value differs from its initial value.
|
boolean |
isRequirementUnfulfilled()
Indicates whether the component's value is mandatory but not filled.
|
boolean |
isValid()
Indicates whether the component's value is valid.
|
void |
loadValue()
Loads the component's database stored value.
|
void |
saveValue()
Stores the component's value.
|
void |
selectAll()
Selects all input of the component, if it is supported - e.g. in JTextField.
|
void |
setRequired(boolean required)
Determines whether input is required (mandatory).
|
destroy, fetchYourValueFromRequest, getCreationTag, getSelectedIndex, getSelectedKey, selectFirstEnabledItem, setAdditionalTagFragments, setClassName, setDefaultAdditionalTagFragments, setDefaultClassName, setEnabled, setEnabled, setLinks, setSelectedIndex, setSelectedKey
getName, setComment, setFocus, setPlaceHolder, setToolTipText, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
destroy, getCreationTag, setComment, setToolTipText
public DataTextCheck(DataObject dO, java.lang.String columnName, int[] keys, java.lang.String[] meaning)
dO
- the data object to assign tocolumnName
- the name of the column the text field is to assign tokeys
- the valid keys to be stored in the assigned tablemeaning
- the meaning of the keys to be displayed as check textpublic DataTextCheck(DataObject dO, java.lang.String columnName, java.lang.String[] keys, java.lang.String[] meaning)
dO
- the data object to assign tocolumnName
- the name of the column the text field is to assign tokeys
- the valid keys to be stored in the assigned tablemeaning
- the meaning of the keys to be displayed as check textpublic DataObject getAssignedDataObject()
public void setRequired(boolean required)
setRequired
in interface Storable
required
- if true, input is mandatory; otherwise, input is not mandatorypublic void selectAll()
public void loadValue()
public boolean isFilled()
public boolean isModified()
isModified
in interface Storable
isModified
in class RadioButtonGroup
public boolean isValid()
public boolean isRequirementUnfulfilled()
isRequirementUnfulfilled
in interface Storable
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de