Search in sources :

Example 1 with SortColumnCommand

use of net.sourceforge.nattable.sort.command.SortColumnCommand in project translationstudio8 by heartsome.

the class SortColumnAction method run.

public void run(NatTable natTable, MouseEvent event) {
    int columnPosition = ((NatEventData) event.data).getColumnPosition();
    natTable.doCommand(new SortColumnCommand(natTable, columnPosition, accumulate));
}
Also used : SortColumnCommand(net.sourceforge.nattable.sort.command.SortColumnCommand) NatEventData(net.sourceforge.nattable.ui.NatEventData)

Aggregations

SortColumnCommand (net.sourceforge.nattable.sort.command.SortColumnCommand)1 NatEventData (net.sourceforge.nattable.ui.NatEventData)1