Class DisplayableChoiceRenderer<T>
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 Object
implements org.apache.wicket.markup.html.form.IChoiceRenderer<DisplayableValue<T>>
Created by Viliam Repan (lazyman).
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTODO This impl doesn't look good, label should take preference, that's why it's there for...getIdValue
(DisplayableValue val, int index) getObject
(String id, org.apache.wicket.model.IModel<? extends List<? extends DisplayableValue<T>>> choices) 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
-
DisplayableChoiceRenderer
public DisplayableChoiceRenderer()
-
-
Method Details
-
getDisplayValue
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>
-
getIdValue
- Specified by:
getIdValue
in interfaceorg.apache.wicket.markup.html.form.IChoiceRenderer<T>
-
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>
-