Interface SelectionDialogBuilder.SingleSelector<T>

Type Parameters:
T - the value type
Enclosing interface:
SelectionDialogBuilder<T>

public static interface SelectionDialogBuilder.SingleSelector<T>
Provides the user with the ability to select a single value.
  • Method Summary

    Modifier and Type
    Method
    Description
    select(JComponent dialogOwner)
     
  • Method Details

    • select

      Optional<T> select(JComponent dialogOwner)
      Parameters:
      dialogOwner - the dialog owner
      Returns:
      the selected value, an empty Optional if nothing was selected
      Throws:
      CancelException - in case the user cancelled