|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnextapp.echo.AbstractListModel
nextapp.echo.AbstractSelectFieldModel
public abstract class AbstractSelectFieldModel
A base class from which SelectFieldModel implementations are derived. This class provides event handling functionality and storage of the selected item. If storage of the selected item is not desired, the getSelectedItem() and setSelectedItem() fields may be overridden.
Field Summary |
---|
Fields inherited from class nextapp.echo.AbstractListModel |
---|
listenerList |
Constructor Summary | |
---|---|
AbstractSelectFieldModel()
|
Method Summary | |
---|---|
java.lang.Object |
getSelectedItem()
Returns the selected item. |
void |
setSelectedItem(java.lang.Object newValue)
Sets the selected item. |
Methods inherited from class nextapp.echo.AbstractListModel |
---|
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, removeListDataListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface nextapp.echo.ListModel |
---|
addListDataListener, get, removeListDataListener, size |
Constructor Detail |
---|
public AbstractSelectFieldModel()
Method Detail |
---|
public java.lang.Object getSelectedItem()
getSelectedItem
in interface SelectFieldModel
public void setSelectedItem(java.lang.Object newValue)
setSelectedItem
in interface SelectFieldModel
newValue
- The new selected item.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |