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