T
- the type of values in this combo box modelpublic class SwingPropertyComboBoxModel<T> extends SwingFilteredComboBoxModel<T> implements PropertyComboBoxModel
Constructor and Description |
---|
SwingPropertyComboBoxModel(java.lang.String entityId,
EntityConnectionProvider connectionProvider,
ColumnProperty property,
T nullValue) |
SwingPropertyComboBoxModel(ValueCollectionProvider<T> valueProvider,
T nullValue) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<T> |
initializeContents() |
addFilteringListener, addItem, addListDataListener, addSelectionListener, allowSelectionChange, clear, contains, filterContents, fireContentsChanged, getAllItems, getElementAt, getFilterCondition, getFilteredItemCount, getFilteredItems, getNullValue, getSelectedItem, getSelectedValue, getSize, getSortComparator, getVisibleItemCount, getVisibleItems, isCleared, isFiltered, isFilterSelectedItem, isNullValueSelected, isSelectionEmpty, isVisible, refresh, removeFilteringListener, removeItem, removeListDataListener, removeSelectionListener, setContents, setFilterCondition, setFilterSelectedItem, setNullValue, setSelectedItem, setSortComparator, translateSelectionItem
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isCleared
clear, refresh
public SwingPropertyComboBoxModel(java.lang.String entityId, EntityConnectionProvider connectionProvider, ColumnProperty property, T nullValue)
entityId
- the ID of the underlying entityconnectionProvider
- a EntityConnectionProvider instanceproperty
- the underlying propertynullValue
- the value to use to represent a null valuepublic SwingPropertyComboBoxModel(ValueCollectionProvider<T> valueProvider, T nullValue)
valueProvider
- provides the values to show in this combo box modelnullValue
- the value to use to represent a null valueprotected final java.util.List<T> initializeContents()
initializeContents
in class SwingFilteredComboBoxModel<T>