Package is.codion.swing.framework.model
Class EntityComboBoxConditionModel
java.lang.Object
is.codion.framework.model.AbstractForeignKeyConditionModel
is.codion.swing.framework.model.EntityComboBoxConditionModel
- All Implemented Interfaces:
ColumnConditionModel<ForeignKey,
Entity>
A
ColumnConditionModel
based on a EntityComboBoxModel
.
For instances use the entityComboBoxConditionModel(ForeignKey, EntityComboBoxModel)
factory method.-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.common.model.table.ColumnConditionModel
ColumnConditionModel.AutomaticWildcard, ColumnConditionModel.Builder<C,
T>, ColumnConditionModel.Factory<C> -
Field Summary
Fields inherited from interface is.codion.common.model.table.ColumnConditionModel
AUTOMATIC_WILDCARD, CASE_SENSITIVE
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityComboBoxConditionModel
entityComboBoxConditionModel
(ForeignKey foreignKey, EntityComboBoxModel comboBoxModel) Instantiates aEntityComboBoxConditionModel
instancevoid
refresh()
Refreshes the underlying combo box model.Methods inherited from class is.codion.framework.model.AbstractForeignKeyConditionModel
accepts, addChangeListener, autoEnable, automaticWildcard, caseSensitive, clear, columnClass, columnIdentifier, dateTimePattern, enabled, equalValues, format, getEqualValue, getEqualValues, getLowerBound, getUpperBound, locked, lowerBoundValue, operator, operators, removeChangeListener, setEqualValue, setEqualValues, setLowerBound, setUpperBound, upperBoundValue, wildcard
-
Method Details
-
refresh
public void refresh()Refreshes the underlying combo box model. -
comboBoxModel
- Returns:
- the
EntityComboBoxModel
used by thisEntityComboBoxConditionModel
-
entityComboBoxConditionModel
public static EntityComboBoxConditionModel entityComboBoxConditionModel(ForeignKey foreignKey, EntityComboBoxModel comboBoxModel) Instantiates aEntityComboBoxConditionModel
instance- Parameters:
foreignKey
- the foreign keycomboBoxModel
- aEntityComboBoxModel
- Returns:
- a new
EntityComboBoxConditionModel
instance
-