| nextapp.echo2.app.list.ListModel
All known Subclasses: nextapp.echo2.app.list.AbstractListModel,
ListModel | public interface ListModel extends Serializable(Code) | | A data model for list type components (SelectFields and ListBoxes).
|
addListDataListener | public void addListDataListener(ListDataListener l)(Code) | | Adds a ListDataListener to the model.
ListDataListener s are notified whenever the model
changes.
Parameters: l - the ListDataListener to add |
get | public Object get(int index)(Code) | | Returns the value at the specified index in the list.
Parameters: index - the index the value |
removeListDataListener | public void removeListDataListener(ListDataListener l)(Code) | | Removes a ListDataListener from the model.
ListDataListener are notified whenever the model changes.
Parameters: l - the ListDataListener to remove |
size | public int size()(Code) | | Returns the size of the list.
the size |
|
|