public class HeaderComboBoxModel extends AbstractListModel implements ComboBoxModel
| Modifier and Type | Field and Description |
|---|---|
protected IHeaderAction[] |
actions |
protected int |
column |
protected Object |
selectedObject |
protected JTable |
table |
protected List |
values |
listenerList| Constructor and Description |
|---|
HeaderComboBoxModel(JTable table,
int column,
IHeaderAction[] actions) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getElementAt(int index) |
Object |
getSelectedItem() |
int |
getSize() |
void |
setSelectedItem(Object anObject) |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListDataListener, removeListDataListenerprotected JTable table
protected int column
protected Object selectedObject
protected IHeaderAction[] actions
protected List values
public HeaderComboBoxModel(JTable table, int column, IHeaderAction[] actions)
public Object getElementAt(int index)
getElementAt in interface ListModelpublic Object getSelectedItem()
getSelectedItem in interface ComboBoxModelpublic void setSelectedItem(Object anObject)
setSelectedItem in interface ComboBoxModelCopyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.