Class ListSelectionTableDialog<T>

    • Constructor Detail

      • ListSelectionTableDialog

        public ListSelectionTableDialog​(java.lang.String title,
                                        java.util.List<T> list)
      • ListSelectionTableDialog

        public ListSelectionTableDialog​(java.lang.String title,
                                        RowObjectTableModel<T> model)
    • Method Detail

      • getSelectedItem

        public T getSelectedItem()
      • getSelectedItems

        public java.util.List<T> getSelectedItems()
      • show

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

        public java.util.List<T> showSelectMultiple​(java.awt.Component parent)
      • setMultiSelectionMode

        @Deprecated
        public void setMultiSelectionMode​(boolean enable)
        Deprecated.
        to be removed sometime after the 9.3 release
        Calling this method does does not work correctly when used with show(Component) or showSelectMultiple(Component). To use this method, you must show the dialog by calling:
                DockingWindowManager.showDialog(parent, dialog);
         

        There is no need to use this method when using either of the aforementioned show methods

        Parameters:
        enable - true to allow multiple selection
      • hideOkButton

        public void hideOkButton()
        Removes the ok button from the dialog. This is useful if you are using this dialog as a presentation of data and do not wish to do anything when the user makes selections.