net.sourceforge.mewt.table
Interface TableListener


public interface TableListener

The listener interface for receiving table events. The class that is interested in processing a table event implements this interface, and the object created with that class is registered with a component using the component's addTableListener method. When the table event occurs, that object's appropriate method is invoked.

See Also:
TableEvent

Method Summary
 void cellChanged(int col, int row, java.lang.String newValue, java.lang.String oldValue)
          Cell changed.
 void keyPressed(int col, int row, int keyCode)
          Key pressed.
 

Method Detail

cellChanged

void cellChanged(int col,
                 int row,
                 java.lang.String newValue,
                 java.lang.String oldValue)
Cell changed.

Parameters:
col - the col
row - the row
newValue - the new value
oldValue - the old value

keyPressed

void keyPressed(int col,
                int row,
                int keyCode)
Key pressed.

Parameters:
col - the col
row - the row
keyCode - the key code