|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zkplus.databind.BindingListModelListModel
public class BindingListModelListModel
This is the BindingListModel as a ListModel to be used with
Listbox, Grid,
and DataBinder.
Add or remove the contents of this model as a ListModel would cause the associated Listbox or Grid to change accordingly.
| Field Summary | |
|---|---|
protected ListModel |
_model
|
| Constructor Summary | |
|---|---|
BindingListModelListModel(ListModel model)
|
|
| Method Summary | |
|---|---|
void |
addListDataListener(ListDataListener l)
Adds a listener to the list that's notified each time a change to the data model occurs. |
java.lang.Object |
getElementAt(int index)
Returns the value at the specified index. |
ListModel |
getInnerModel()
|
int |
getSize()
Returns the length of the list. |
int |
indexOf(java.lang.Object obj)
Returns index of the given object inside a ListModel. |
void |
removeListDataListener(ListDataListener l)
Removes a listener from the list that's notified each time a change to the data model occurs. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ListModel _model
| Constructor Detail |
|---|
public BindingListModelListModel(ListModel model)
| Method Detail |
|---|
public int indexOf(java.lang.Object obj)
BindingListModel
indexOf in interface BindingListModelpublic java.lang.Object getElementAt(int index)
ListModel
getElementAt in interface ListModelpublic int getSize()
ListModel
getSize in interface ListModelpublic void addListDataListener(ListDataListener l)
ListModel
addListDataListener in interface ListModelpublic void removeListDataListener(ListDataListener l)
ListModel
removeListDataListener in interface ListModelpublic ListModel getInnerModel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||