|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.dmonix.gui.models.SortableListModel
org.dmonix.gui.models.SortableComboBoxModel
This is a basic non-sorted combobox list model with the added possibility to sort the model at any time.
Copyright: Copyright (c) 2004
Company: dmonix.org
| Field Summary |
| Fields inherited from class org.dmonix.gui.models.SortableListModel |
data, listeners |
| Constructor Summary | |
SortableComboBoxModel()
|
|
| Method Summary | |
java.lang.Object |
getSelectedItem()
Returns the currently selected item |
void |
setSelectedItem(java.lang.Object o)
Selects the requested object in this model. |
| Methods inherited from class org.dmonix.gui.models.SortableListModel |
addElement, addListDataListener, clear, elements, ensureCapacity, fireEvent, getElementAt, getSize, removeElement, removeElementAt, removeListDataListener, setComparator, sort, toArray, toArray, trimToSize |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.swing.ListModel |
addListDataListener, getElementAt, getSize, removeListDataListener |
| Constructor Detail |
public SortableComboBoxModel()
| Method Detail |
public void setSelectedItem(java.lang.Object o)
setSelectedItem in interface javax.swing.ComboBoxModelo - The itempublic java.lang.Object getSelectedItem()
getSelectedItem in interface javax.swing.ComboBoxModel
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||