Class AutoCompleteDisplayableValueConverter<T>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.component.input.AutoCompleteDisplayableValueConverter<T>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.convert.IConverter<T>
,org.apache.wicket.util.io.IClusterable
public class AutoCompleteDisplayableValueConverter<T> extends Object implements org.apache.wicket.util.convert.IConverter<T>
- Author:
- skublik
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AutoCompleteDisplayableValueConverter(org.apache.wicket.model.IModel<? extends List<DisplayableValue<T>>> values)
AutoCompleteDisplayableValueConverter(org.apache.wicket.model.IModel<? extends List<DisplayableValue<T>>> values, boolean strict)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
convertToObject(String value, Locale locale)
String
convertToString(T key, Locale locale)
protected String
keyToString(T key)
protected boolean
matchValues(T key, T value)
protected T
valueToObject(String value)
-
-
-
Constructor Detail
-
AutoCompleteDisplayableValueConverter
public AutoCompleteDisplayableValueConverter(org.apache.wicket.model.IModel<? extends List<DisplayableValue<T>>> values)
-
AutoCompleteDisplayableValueConverter
public AutoCompleteDisplayableValueConverter(org.apache.wicket.model.IModel<? extends List<DisplayableValue<T>>> values, boolean strict)
-
-
Method Detail
-
convertToObject
public T convertToObject(String value, Locale locale) throws org.apache.wicket.util.convert.ConversionException
- Specified by:
convertToObject
in interfaceorg.apache.wicket.util.convert.IConverter<T>
- Throws:
org.apache.wicket.util.convert.ConversionException
-
convertToString
public String convertToString(T key, Locale locale)
- Specified by:
convertToString
in interfaceorg.apache.wicket.util.convert.IConverter<T>
-
-