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, removeListDataListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addListDataListener, removeListDataListener
protected 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 ListModel
public Object getSelectedItem()
getSelectedItem
in interface ComboBoxModel
public void setSelectedItem(Object anObject)
setSelectedItem
in interface ComboBoxModel
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.