| org.zkoss.zul.ListSubModel
All known Subclasses: org.zkoss.zul.SimpleListModel,
ListSubModel | public interface ListSubModel (Code) | | An extra interface that can be implemented with
ListModel to control
the extract of the combobox.
author: jumperchen since: 3.0.2 |
Method Summary | |
public ListModel | getSubModel(Object value, int nRows) Returns the subset of list model data that the subset data is extract
from combobox's list model data. |
getSubModel | public ListModel getSubModel(Object value, int nRows)(Code) | | Returns the subset of list model data that the subset data is extract
from combobox's list model data. It is ususally used for implmentation of
auto-complete.
Parameters: value - the object is used to find that the content is consistent within list model data. Parameters: nRows - the number of rows suggested to return (as thereturned ListModel instance). It's a suggestion for developer tofollow.If nonpositive, it means the maximal allowed rows is decided by the implementation of ListSubmodel. since: 3.0.2 |
|
|