org.zkoss.zul
Interface ListSubModel<E>
- All Known Implementing Classes:
- SimpleListModel
public interface ListSubModel<E>
An extra interface that can be implemented with ListModel
to control
the extract of the combobox.
- Since:
- 3.0.2
- Author:
- jumperchen
Method Summary |
ListModel<E> |
getSubModel(java.lang.Object value,
int nRows)
Returns the subset of list model data that the subset data is extract
from combobox's list model data. |
getSubModel
ListModel<E> getSubModel(java.lang.Object value,
int nRows)
- Returns the subset of list model data that the subset data is extract
from combobox's list model data. It is usually used for implementation of
auto-complete.
- Parameters:
value
- the object is used to find that the content is consistent
within list model data.nRows
- the number of rows suggested to return (as the
returned ListModel instance). It's a suggestion for developer to
follow.
If non-positive, it means the maximal allowed rows is decided by the
implementation of ListSubmodel.- Since:
- 3.0.2
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.