/** * Initializes sorting capabilities */ protected void initSorting() { if (getTableHeader() != null) { if (this.tableComparatorChooser != null) { this.tableComparatorChooser.dispose(); } this.tableComparatorChooser = TableComparatorChooser.install(this, this.sortedList, AbstractTableComparatorChooser.MULTIPLE_COLUMN_MOUSE); } }
/** * Uninstalls the GlazedLists integration and restores the state of JXTable as it was before * the installation. * * @throws IllegalStateException if this method is called from any Thread * other than the Swing Event Dispatch Thread */ public void uninstall() { checkAccessThread(); tableComparatorChooser.dispose(); tableMemento.restoreStateTo(table); tableModel.dispose(); selectionModel.dispose(); tableComparatorChooser = null; tableModel = null; selectionModel = null; tableFormat = null; table = null; tableMemento = null; }
/** * Uninstalls the GlazedLists integration and restores the state of JXTable as it was before * the installation. * * @throws IllegalStateException if this method is called from any Thread * other than the Swing Event Dispatch Thread */ public void uninstall() { checkAccessThread(); tableComparatorChooser.dispose(); tableMemento.restoreStateTo(table); tableModel.dispose(); selectionModel.dispose(); tableComparatorChooser = null; tableModel = null; selectionModel = null; tableFormat = null; table = null; tableMemento = null; }
/** * Uninstalls the GlazedLists integration and restores the state of JXTable as it was before * the installation. * * @throws IllegalStateException if this method is called from any Thread * other than the Swing Event Dispatch Thread */ public void uninstall() { checkAccessThread(); tableComparatorChooser.dispose(); tableMemento.restoreStateTo(table); tableModel.dispose(); selectionModel.dispose(); tableComparatorChooser = null; tableModel = null; selectionModel = null; tableFormat = null; table = null; tableMemento = null; }