Class DisplayableRenderer<T extends Serializable>
java.lang.Object
org.apache.wicket.util.convert.converter.AbstractConverter<DisplayableValue<T>>
com.evolveum.midpoint.web.component.search.DisplayableRenderer<T>
- All Implemented Interfaces:
Serializable
,org.apache.wicket.markup.html.form.IChoiceRenderer<DisplayableValue<T>>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.convert.IConverter<DisplayableValue<T>>
,org.apache.wicket.util.io.IClusterable
public class DisplayableRenderer<T extends Serializable>
extends org.apache.wicket.util.convert.converter.AbstractConverter<DisplayableValue<T>>
implements org.apache.wicket.markup.html.form.IChoiceRenderer<DisplayableValue<T>>
- Author:
- Viliam Repan (lazyman)
- See Also:
-
Constructor Summary
ConstructorDescriptionDisplayableRenderer
(org.apache.wicket.model.IModel<List<DisplayableValue<T>>> allChoices) -
Method Summary
Modifier and TypeMethodDescriptionconvertToObject
(String value, Locale locale) getDisplayValue
(DisplayableValue<T> object) getIdValue
(DisplayableValue<T> object, int index) getObject
(String id, org.apache.wicket.model.IModel<? extends List<? extends DisplayableValue<T>>> choices) protected Class<DisplayableValue<T>>
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractConverter
convertToString, newConversionException, parse
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.wicket.markup.html.form.IChoiceRenderer
detach
-
Constructor Details
-
DisplayableRenderer
-
-
Method Details
-
getTargetType
- Specified by:
getTargetType
in classorg.apache.wicket.util.convert.converter.AbstractConverter<DisplayableValue<T extends Serializable>>
-
getDisplayValue
- Specified by:
getDisplayValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<T extends Serializable>
-
getIdValue
- Specified by:
getIdValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<T extends Serializable>
-
getObject
public DisplayableValue<T> getObject(String id, org.apache.wicket.model.IModel<? extends List<? extends DisplayableValue<T>>> choices) - Specified by:
getObject
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<T extends Serializable>
-
convertToObject
public DisplayableValue<T> convertToObject(String value, Locale locale) throws org.apache.wicket.util.convert.ConversionException - Specified by:
convertToObject
in interfaceorg.apache.wicket.util.convert.IConverter<T extends Serializable>
- Throws:
org.apache.wicket.util.convert.ConversionException
-