Class DisplayableValueChoiceRenderer<T>
- java.lang.Object
-
- com.evolveum.midpoint.web.component.input.DisplayableValueChoiceRenderer<T>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.markup.html.form.IChoiceRenderer<T>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class DisplayableValueChoiceRenderer<T> extends Object implements org.apache.wicket.markup.html.form.IChoiceRenderer<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisplayableValueChoiceRenderer(List<DisplayableValue> choices)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayValue(T object)
String
getIdValue(T object, int index)
T
getObject(String id, org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
-
-
-
Constructor Detail
-
DisplayableValueChoiceRenderer
public DisplayableValueChoiceRenderer(List<DisplayableValue> choices)
-
-
Method Detail
-
getDisplayValue
public String getDisplayValue(T object)
- Specified by:
getDisplayValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<T>
-
getIdValue
public String getIdValue(T object, int index)
- Specified by:
getIdValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<T>
-
-