Class ChoiceableChoiceRenderer<T extends Choiceable>

  • 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 ChoiceableChoiceRenderer<T extends Choiceable>
    extends Object
    implements org.apache.wicket.markup.html.form.IChoiceRenderer<T>
    See Also:
    Serialized Form
    • Constructor Detail

      • ChoiceableChoiceRenderer

        public ChoiceableChoiceRenderer()
    • Method Detail

      • getDisplayValue

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

        public String getIdValue​(T object,
                                 int index)
        Specified by:
        getIdValue in interface org.apache.wicket.markup.html.form.IChoiceRenderer<T extends Choiceable>
      • 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 extends Choiceable>