public class ResultPagerComboBoxModel<T> extends AbstractListModel implements ComboBoxModel
| Modifier and Type | Field and Description |
|---|---|
static Object |
NULL |
listenerList| Constructor and Description |
|---|
ResultPagerComboBoxModel() |
ResultPagerComboBoxModel(ResultPager<T> pager) |
ResultPagerComboBoxModel(ResultPager<T> pager,
boolean allowNull) |
| Modifier and Type | Method and Description |
|---|---|
static <T> ComboBox |
create(ResultPager<T> codeTable,
boolean allowNull,
String... fieldNames) |
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
setPager(ResultPager<T> pager) |
void |
setSelectedItem(Object item) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerpublic static final Object NULL
public ResultPagerComboBoxModel()
public ResultPagerComboBoxModel(ResultPager<T> pager)
public ResultPagerComboBoxModel(ResultPager<T> pager, boolean allowNull)
public static <T> ComboBox create(ResultPager<T> codeTable, boolean allowNull, String... fieldNames)
public Object getElementAt(int index)
getElementAt in interface ListModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void setPager(ResultPager<T> pager)
public void setSelectedItem(Object item)
setSelectedItem in interface ComboBoxModelCopyright © 2015 Revolution Systems Inc.. All rights reserved.