de.kupzog.ktable
Class KTableCellSelectionAdapter

java.lang.Object
  extended by de.kupzog.ktable.KTableCellSelectionAdapter
All Implemented Interfaces:
KTableCellSelectionListener
Direct Known Subclasses:
KTableSortOnClick

public class KTableCellSelectionAdapter
extends java.lang.Object
implements KTableCellSelectionListener

Author:
Friederich Kupzog

Constructor Summary
KTableCellSelectionAdapter()
           
 
Method Summary
 void cellSelected(int col, int row, int statemask)
          Is called if a non-fixed cell is selected (gets the focus).
 void fixedCellSelected(int col, int row, int statemask)
          Is called if a fixed cell is selected (is clicked).
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KTableCellSelectionAdapter

public KTableCellSelectionAdapter()
Method Detail

cellSelected

public void cellSelected(int col,
                         int row,
                         int statemask)
Is called if a non-fixed cell is selected (gets the focus).

Specified by:
cellSelected in interface KTableCellSelectionListener
Parameters:
col - the column of the cell
row - the row of the cell
statemask - the modifier keys that where pressed when the selection happened.
See Also:
for an explanation of the term "fixed cells".

fixedCellSelected

public void fixedCellSelected(int col,
                              int row,
                              int statemask)
Is called if a fixed cell is selected (is clicked).

Specified by:
fixedCellSelected in interface KTableCellSelectionListener
Parameters:
col - the column of the cell
row - the row of the cell
statemask - the modifier keys that where pressed when the selection happened.
See Also:
for an explanation of the term "fixed cells".