Interface SelectionDialogBuilder<T>

    • Method Detail

      • singleSelection

        SelectionDialogBuilder<T> singleSelection​(boolean singleSelection)
        Parameters:
        singleSelection - if true then the selection is restricted to a single value
        Returns:
        this SelectionDialogBuilder instance
      • defaultSelection

        SelectionDialogBuilder<T> defaultSelection​(T defaultSelection)
        Parameters:
        defaultSelection - the item selected by default
        Returns:
        this SelectionDialogBuilder instance
      • defaultSelection

        SelectionDialogBuilder<T> defaultSelection​(Collection<T> defaultSelection)
        Parameters:
        defaultSelection - the items selected by default
        Returns:
        this SelectionDialogBuilder instance
      • select

        Collection<T> select()
        Returns:
        the selected values, an empty Collection if none was selected