Class 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 Detail

      • DisplayableValueChoiceRenderer

        public DisplayableValueChoiceRenderer​(List<DisplayableValue> choices)
    • Method Detail

      • 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>