ca.odell.glazedlists.swing
Class EventComboBoxModel<E>
- ComboBoxModel, EventListener, ListEventListener<E>, ListModel
public class EventComboBoxModel<E>
implements ComboBoxModel
EventComboBoxModel(EventList source) - Creates a new combo box model that contains the elements of the given
source and tracks further changes made to it.
|
EventComboBoxModel
public EventComboBoxModel(EventList source)
Creates a new combo box model that contains the elements of the given
source
and tracks further changes made to it.
getSelectedItem
public Object getSelectedItem()
Gets the currently selected item.
setSelectedItem
public void setSelectedItem(Object selected)
Sets the currently selected item.
The selection notification process is very much a hack. This fires
a ListDataEvent where the range is between -1 and -1. This is identical
to the notification process used by the
DefaultComboBoxModel
.
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by pbuilder at 2009-07-14 22:05