Class DisplayableChoiceRenderer<T extends Serializable>
- java.lang.Object
-
- com.evolveum.midpoint.gui.api.util.DisplayableChoiceRenderer<T>
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.markup.html.form.IChoiceRenderer<DisplayableValue<T>>
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
public class DisplayableChoiceRenderer<T extends Serializable> extends Object implements org.apache.wicket.markup.html.form.IChoiceRenderer<DisplayableValue<T>>
Created by Viliam Repan (lazyman).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DisplayableChoiceRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getDisplayValue(DisplayableValue val)
TODO This impl doesn't look good, label should take preference, that's why it's there for...String
getIdValue(DisplayableValue val, int index)
DisplayableValue<T>
getObject(String id, org.apache.wicket.model.IModel<? extends List<? extends DisplayableValue<T>>> choices)
-
-
-
Method Detail
-
getDisplayValue
public Object getDisplayValue(DisplayableValue val)
TODO This impl doesn't look good, label should take preference, that's why it's there for...- Specified by:
getDisplayValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<T extends Serializable>
-
getIdValue
public String getIdValue(DisplayableValue val, int index)
- 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>
-
-