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:
Serializable,Converter<Object,Object, Listbox>
The
Converter implementation of the listbox for converting collection to ListModel and vice versa.- Since:
- 6.0.0
- Author:
- dennis
- See Also:
-
Field Summary
Fields inherited from interface org.zkoss.bind.Converter
IGNORED_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ListModel<?>getComponentModel(Listbox comp) protected ListModel<?>handleWrappedModel(BindContext ctx, Listbox comp, ListModel<?> model) post processing the wrapped model. default return original oneMethods inherited from class org.zkoss.bind.converter.sys.AbstractListModelConverter
coerceToBean, coerceToUi
-
Constructor Details
-
ListboxModelConverter
public ListboxModelConverter()
-
-
Method Details
-
getComponentModel
- Specified by:
getComponentModelin classAbstractListModelConverter<Listbox>- Parameters:
comp- the component that has listmodel- Returns:
- null if no list model for the component
-
handleWrappedModel
Description copied from class:AbstractListModelConverterpost processing the wrapped model. default return original one- Overrides:
handleWrappedModelin classAbstractListModelConverter<Listbox>- Parameters:
ctx- the contextcomp- the component of the convertermodel- the wrapped model- Returns:
- the list model
-