Interface MultiChooserWidget<T>

All Superinterfaces:
ChooserWidget<T>

public interface MultiChooserWidget<T> extends ChooserWidget<T>
Author:
Per-Erik
  • Method Details

    • findChosenValues

      void findChosenValues(ChooserCallback<T> callback)
      Finds the currently chosen values, never null, possibly an empty list. Note that thread switching might occur but it is not mandatory. The callback's methods must however always be called on the event dispatch thread. This method is semantically equal to ChooserWidget.findChosenValue except that it calls its callback with all selected values and not just the lead selection. This method is also allowed to call its callback with an empty list.
      Parameters:
      callback - the callback that gets invoked when all currently selected values have been fetched (if fetching is needed).
      See Also:
    • setPreselectedValues

      void setPreselectedValues(Collection<T> preselected)
      Sets pre-selected values.
      Parameters:
      preselected - a collection of values to be selected.