public interface ListModel<E>
Listbox
and Grid use to get the content of items.
If the list model is used with sortable listbox or grid,
the developer must also implement Sortable.
To use with Listbox and other components that
supports the selection, Selectable must be implemented too.
For more information, please refer to ZK Developer's Reference: List Model
Grid,
Listbox,
ListitemRenderer,
Sortable,
Selectable| Modifier and Type | Method and Description |
|---|---|
void |
addListDataListener(ListDataListener l)
Adds a listener to the list that's notified each time a change
to the data model occurs.
|
E |
getElementAt(int index)
Returns the value at the specified index.
|
int |
getSize()
Returns the length of the list.
|
void |
removeListDataListener(ListDataListener l)
Removes a listener from the list that's notified each time
a change to the data model occurs.
|
E getElementAt(int index)
int getSize()
void addListDataListener(ListDataListener l)
void removeListDataListener(ListDataListener l)
Copyright © 2015. All rights reserved.