Class SortableIdAndNameSearchableListBox<T extends Comparable<T>>

  • Type Parameters:
    T - type of the id
    All Implemented Interfaces:
    com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.logical.shared.HasValueChangeHandlers<T>, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.TakesValue<T>, com.google.gwt.user.client.ui.HasValue<T>, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, HasAutocomplete, HasAutofocus, HasPlaceholder, HasRequired, HasValidationMessageElement<T,​ValueBoxEditor<T>>, HasValidity, SortableIdAndName<T>, org.gwtproject.editor.client.Editor<T>, org.gwtproject.editor.client.HasEditorErrors<T>, org.gwtproject.editor.client.IsEditor<ValueBoxEditor<T>>, org.gwtproject.editor.client.TakesValue<T>

    public class SortableIdAndNameSearchableListBox<T extends Comparable<T>>
    extends IdAndNameSearchableListBox<T>
    implements SortableIdAndName<T>
    a list box with id and name which is sortable and returns id.
    Author:
    Manfred Tremmel
    • Constructor Detail

      • SortableIdAndNameSearchableListBox

        @SafeVarargs
        public SortableIdAndNameSearchableListBox​(ListSortEnum psort,
                                                  MessagesForValues<T> pmessages,
                                                  T... pids)
        widget ui constructor.
        Parameters:
        psort - the sort order of the countries
        pmessages - message resolver
        pids - ids to add to listBox
      • SortableIdAndNameSearchableListBox

        public SortableIdAndNameSearchableListBox​(ListSortEnum psort,
                                                  MessagesForValues<T> pmessages,
                                                  Collection<T> pids)
        widget ui constructor.
        Parameters:
        psort - the sort order of the countries
        pmessages - message resolver
        pids - ids to add to listBox