public class DataVariableChoice extends VariableChoice implements Storable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
editBeginSelected |
additionalTagFragments, className, content, editable, editBeginValue, enabled, format, FORMAT_KEY_INVISIBLE, FORMAT_KEY_VISIBLE, label, required, selected, selectedItemKey, visibleColumnName
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
DataVariableChoice(DataObject assignedDataObject,
java.lang.String name,
java.lang.String[] content)
Constructs a new data assigned variable choice.
|
DataVariableChoice(DataObject assignedDataObject,
java.lang.String name,
java.lang.String[][] content)
Constructs a new data assigned variable choice.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isModified()
Indicates whether the component's value differs from its initial value.
|
void |
loadValue()
Loads the component's database stored value.
|
void |
saveValue()
Stores the component's value.
|
fetchYourValueFromRequest, getCreationTag, getLabel, getSelectedIndex, getSelectedItem, getSelectedItemKey, isFilled, isRequirementUnfulfilled, isSpecialChoice, isValid, setAdditionalTagFragments, setClassName, setContent, setContent, setContent, setDefaultAdditionalTagFragments, setDefaultClassName, setDefaultNameForNoChoice, setEditable, setEnabled, setName, setRequired, setSelected, setSelectedIndex, setSelectedItemKey, setVisible
destroy, getName, setComment, setFocus, setPlaceHolder, setToolTipText, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFilled, isRequirementUnfulfilled, isValid, setRequired
destroy, getCreationTag, setComment, setToolTipText
public DataVariableChoice(DataObject assignedDataObject, java.lang.String name, java.lang.String[][] content)
assignedDataObject
- the assigned data objectname
- the name of the field to be used for markup parameterscontent
- the content of the data object with key and meaningpublic DataVariableChoice(DataObject assignedDataObject, java.lang.String name, java.lang.String[] content)
assignedDataObject
- the assigned data objectname
- the name of the field to be used for markup parameterscontent
- the content of the data object with content to be stored directly (not keyed)public void loadValue()
public boolean isModified()
isModified
in interface Storable
isModified
in class VariableChoice
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de