public class FixListComboModel
extends java.lang.Object
implements javax.swing.ComboBoxModel
| Constructor and Description |
|---|
FixListComboModel(javax.swing.JList scrollList,
javax.swing.JList fixList,
boolean fixListBelow) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListDataListener(javax.swing.event.ListDataListener l)
Currently does nothing
|
java.lang.Object |
getElementAt(int index)
Select the item specifid by the index.
|
boolean |
getFixListBelow() |
java.lang.Object |
getSelectedItem() |
int |
getSize() |
void |
removeListDataListener(javax.swing.event.ListDataListener l)
Currently does nothing
|
void |
setFixListBelow(boolean fixListBelow) |
void |
setSelectedItem(java.lang.Object anItem)
Select the ite.
|
public FixListComboModel(javax.swing.JList scrollList,
javax.swing.JList fixList,
boolean fixListBelow)
public java.lang.Object getSelectedItem()
getSelectedItem in interface javax.swing.ComboBoxModelpublic void setSelectedItem(java.lang.Object anItem)
setSelectedItem in interface javax.swing.ComboBoxModelanItem - public java.lang.Object getElementAt(int index)
getElementAt in interface javax.swing.ListModelindex - public int getSize()
getSize in interface javax.swing.ListModelpublic boolean getFixListBelow()
public void setFixListBelow(boolean fixListBelow)
public void addListDataListener(javax.swing.event.ListDataListener l)
addListDataListener in interface javax.swing.ListModell - public void removeListDataListener(javax.swing.event.ListDataListener l)
removeListDataListener in interface javax.swing.ListModell -