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:
Serializable,Converter<Object,Object, Searchbox>
The
Converter implementation of the Searchbox for converting collection to ListModel and vice versa.- Since:
- 9.0.0
- Author:
- rudyhuang
- See Also:
-
Field Summary
Fields inherited from interface org.zkoss.bind.Converter
IGNORED_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ListModel<?>getComponentModel(Searchbox comp) protected ListModel<?>handleWrappedModel(BindContext ctx, Searchbox 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
-
SearchboxModelConverter
public SearchboxModelConverter()
-
-
Method Details
-
getComponentModel
- Specified by:
getComponentModelin classAbstractListModelConverter<Searchbox>- 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<Searchbox>- Parameters:
ctx- the contextcomp- the component of the convertermodel- the wrapped model- Returns:
- the list model
-