|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.zkplus.databind.ListModelConverter
public class ListModelConverter
The TypeConverter implmentation for converting collection to ListModel and vice versa.
| Field Summary |
|---|
| Fields inherited from interface org.zkoss.zkplus.databind.TypeConverter |
|---|
IGNORE |
| Constructor Summary | |
|---|---|
ListModelConverter()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
coerceToBean(java.lang.Object val,
Component comp)
Convert a BindingListModel to Set, Map, List, or BindingListModel (itself). |
java.lang.Object |
coerceToUi(java.lang.Object val,
Component comp)
Convert a Set, Map, List, Object[], Enum, or other kind of BindingListModel to associated BindingListModel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListModelConverter()
| Method Detail |
|---|
public java.lang.Object coerceToUi(java.lang.Object val,
Component comp)
BindingListModel.
coerceToUi in interface TypeConverterval - must be instanceof Set, Map, List, Object[], Enum Class, or other kind of BindingListModel implementation.comp - associated component
TypeConverter.IGNORE
if you want DataBinder to ignore the assignment.
public java.lang.Object coerceToBean(java.lang.Object val,
Component comp)
BindingListModel to Set, Map, List, or BindingListModel (itself).
coerceToBean in interface TypeConverterval - must be BindingListModelSet, BindingListModelList, BindingListModelMap, or other kind of BindingListModelcomp - associated component
TypeConverter.IGNORE
if you want DataBinder to ignore the assignment.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||