|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.kupzog.ktable.KTableCellSelectionAdapter
de.kupzog.ktable.KTableSortOnClick
public class KTableSortOnClick
This class provides the code that makes the table sort when the user clicks on the table header.
Constructor Summary | |
---|---|
KTableSortOnClick(KTable table,
KTableSortComparator comparator)
|
Method Summary | |
---|---|
void |
fixedCellSelected(int col,
int row,
int statemask)
Implements sorting behavior when clicking on the fixed header row. |
Methods inherited from class de.kupzog.ktable.KTableCellSelectionAdapter |
---|
cellSelected |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KTableSortOnClick(KTable table, KTableSortComparator comparator)
Method Detail |
---|
public void fixedCellSelected(int col, int row, int statemask)
fixedCellSelected
in interface KTableCellSelectionListener
fixedCellSelected
in class KTableCellSelectionAdapter
col
- the column of the cellrow
- the row of the cellstatemask
- the modifier keys that where pressed when the selection happened.for an explanation of the term "fixed cells".
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |