public class DataComboBox extends HalfDataComboBox implements Storable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
editBeginSelected |
protected Identifier |
editBeginValue |
additionalTagFragments, contentDataObject, enabled, identifierTable, label, required, selected, visibleColumnName, whereCondition
comment, focus, name, placeholder, toolTipText
Constructor and Description |
---|
DataComboBox(SessionData sessionData,
DataObject assignedDataObject,
java.lang.String name,
DataObject contentDataObject,
java.lang.String visibleColumnName)
Creates a database connected and dynamically data filled combo box.
|
DataComboBox(SessionData sessionData,
DataObject assignedDataObject,
java.lang.String name,
DataObject contentDataObject,
java.lang.String visibleColumnName,
java.lang.String label,
java.lang.String orderByColumnName,
java.lang.String nameForNoChoice)
Creates a database connected and dynamically data filled combo box.
|
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.
|
addItem, dataChangePerformed, destroy, fetchYourValueFromRequest, finalize, free, getCreationTag, getLabel, getSelectedIdentifier, getSelectedItem, isFilled, isRequirementUnfulfilled, isSpecialChoice, isValid, reduceContent, setAdditionalTagFragments, setDefaultAdditionalTagFragments, setEnabled, setRequired, setSelected, setSelectedIdentifier
getName, setComment, setFocus, setPlaceHolder, setToolTipText, toString
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
isFilled, isRequirementUnfulfilled, isValid, setRequired
destroy, getCreationTag, setComment, setToolTipText
protected Identifier editBeginValue
protected java.lang.String editBeginSelected
public DataComboBox(SessionData sessionData, DataObject assignedDataObject, java.lang.String name, DataObject contentDataObject, java.lang.String visibleColumnName)
sessionData
- the session's public dataassignedDataObject
- the data object to trigger the selectionname
- the name of the combo boxcontentDataObject
- the data object to fill the contentvisibleColumnName
- the name of the column to be displayedpublic DataComboBox(SessionData sessionData, DataObject assignedDataObject, java.lang.String name, DataObject contentDataObject, java.lang.String visibleColumnName, java.lang.String label, java.lang.String orderByColumnName, java.lang.String nameForNoChoice)
sessionData
- the session's public dataassignedDataObject
- the data object to trigger the selectionname
- the name of the combo boxcontentDataObject
- the data object to fill the contentvisibleColumnName
- the name of the column to be displayedlabel
- the label of the combo boxorderByColumnName
- the sorting column name of the content data objectnameForNoChoice
- the expression to be used to indicate "no choice"public void loadValue()
public boolean isModified()
isModified
in interface Storable
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de