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:
  • Constructor Details

    • DisplayableValueChoiceRenderer

      public DisplayableValueChoiceRenderer(List<DisplayableValue> choices)
  • Method Details

    • getDisplayValue

      public String getDisplayValue(T object)
      Specified by:
      getDisplayValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<T>
    • getIdValue

      public String getIdValue(T object, int index)
      Specified by:
      getIdValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<T>
    • getObject

      public T getObject(String id, org.apache.wicket.model.IModel<? extends List<? extends T>> choices)
      Specified by:
      getObject in interface org.apache.wicket.markup.html.form.IChoiceRenderer<T>