zinger.bsheet
Class TableSort
java.lang.Object
zinger.bsheet.DialogEditor
zinger.bsheet.TableSort
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class TableSort
- extends DialogEditor
Fields inherited from class zinger.bsheet.DialogEditor |
acceptButton, acceptCommand, acceptLabel, cancelButton, cancelCommand, cancelLabel, cellEditCommand, changesAccepted, colEditCommand, dialog, dialogTitle, lock, table |
Constructor Summary |
TableSort(javax.swing.JTable table)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
comparatorTable
protected javax.swing.JTable comparatorTable
columnModel
protected javax.swing.table.TableColumnModel columnModel
model
protected javax.swing.table.TableModel model
sortColumns
protected int[] sortColumns
comparators
protected java.util.Comparator[] comparators
setNaturalOrderCommand
protected final java.lang.String setNaturalOrderCommand
setReverseOrderCommand
protected final java.lang.String setReverseOrderCommand
TableSort
public TableSort(javax.swing.JTable table)
editColumns
protected void editColumns()
- Specified by:
editColumns
in class DialogEditor
editCells
protected void editCells()
- Specified by:
editCells
in class DialogEditor
doSort
protected void doSort(int startRow,
int nRows)
prompt
protected void prompt()
createComparatorTable
protected void createComparatorTable()
createDialog
protected void createDialog()
- Overrides:
createDialog
in class DialogEditor
createToolBar
protected javax.swing.JToolBar createToolBar()
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ev)
- Specified by:
actionPerformed
in interface java.awt.event.ActionListener
- Overrides:
actionPerformed
in class DialogEditor
setSelectedComparators
protected void setSelectedComparators(java.lang.Object comp)