| java.lang.Object org.zkoss.zkplus.databind.ListModelConverter
ListModelConverter | public class ListModelConverter implements TypeConverter(Code) | | The
TypeConverter implmentation for converting collection to ListModel and vice versa.
author: Henri Chen |
Method Summary | |
public Object | coerceToBean(Object val, Component comp) Convert a
BindingListModel to Set, Map, List, or BindingListModel (itself). | public Object | coerceToUi(Object val, Component comp) Convert a Set, Map, List, Object[], Enum, or other kind of BindingListModel to associated
BindingListModel . |
coerceToBean | public Object coerceToBean(Object val, Component comp)(Code) | | Convert a
BindingListModel to Set, Map, List, or BindingListModel (itself).
Parameters: val - must be BindingListModelSet, BindingListModelList, BindingListModelMap, or other kind of BindingListModel |
coerceToUi | public Object coerceToUi(Object val, Component comp)(Code) | | Convert a Set, Map, List, Object[], Enum, or other kind of BindingListModel to associated
BindingListModel .
Parameters: val - must be instanceof Set, Map, List, Object[], Enum Class, or other kind of BindingListModel implementation. |
|
|