Class ListSelectionDialog<T>

    • Field Detail

      • cancelled

        protected boolean cancelled
    • Constructor Detail

      • ListSelectionDialog

        public ListSelectionDialog​(java.lang.String title,
                                   java.lang.String label,
                                   java.util.List<T> data,
                                   DataToStringConverter<T> searchConverter)
    • Method Detail

      • getStringListSelectionDialog

        public static ListSelectionDialog<java.lang.String> getStringListSelectionDialog​(java.lang.String title,
                                                                                         java.lang.String label,
                                                                                         java.util.List<java.lang.String> data)
      • cancelCallback

        protected void cancelCallback()
        Description copied from class: DialogComponentProvider
        The callback method for when the "Cancel" button is pressed. The default behavior is to call setVisible(false) and dispose() on the dialog.
        cancelCallback in class DialogComponentProvider
      • wasCancelled

        public boolean wasCancelled()
      • show

        public T show​(java.awt.Component parent)
      • getSelectedItem

        public T getSelectedItem()
      • browse

        protected void browse()
      • main

        public static void main​(java.lang.String[] args)