Package org.zkoss.bind.converter.sys
Class ListboxModelConverter
- java.lang.Object
-
- org.zkoss.bind.converter.sys.AbstractListModelConverter<Listbox>
-
- org.zkoss.bind.converter.sys.ListboxModelConverter
-
- All Implemented Interfaces:
java.io.Serializable
,Converter<java.lang.Object,java.lang.Object,Listbox>
public class ListboxModelConverter extends AbstractListModelConverter<Listbox>
TheConverter
implementation of the listbox for converting collection to ListModel and vice versa.- Since:
- 6.0.0
- Author:
- dennis
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.zkoss.bind.Converter
IGNORED_VALUE
-
-
Constructor Summary
Constructors Constructor Description ListboxModelConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ListModel<?>
getComponentModel(Listbox comp)
protected ListModel<?>
handleWrappedModel(BindContext ctx, Listbox comp, ListModel<?> model)
post processing the wrapped model. default return original one-
Methods inherited from class org.zkoss.bind.converter.sys.AbstractListModelConverter
coerceToBean, coerceToUi
-
-
-
-
Method Detail
-
getComponentModel
protected ListModel<?> getComponentModel(Listbox comp)
- Specified by:
getComponentModel
in classAbstractListModelConverter<Listbox>
- Parameters:
comp
- the component that has listmodel- Returns:
- null if no list model for the component
-
handleWrappedModel
protected ListModel<?> handleWrappedModel(BindContext ctx, Listbox comp, ListModel<?> model)
Description copied from class:AbstractListModelConverter
post processing the wrapped model. default return original one- Overrides:
handleWrappedModel
in classAbstractListModelConverter<Listbox>
- Parameters:
ctx
- the contextcomp
- the component of the convertermodel
- the wrapped model- Returns:
- the list model
-
-