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. |
cellChanged
void cellChanged(int col,
int row,
java.lang.String newValue,
java.lang.String oldValue)
- Cell changed.
- Parameters:
col
- the colrow
- the rownewValue
- the new valueoldValue
- the old value
keyPressed
void keyPressed(int col,
int row,
int keyCode)
- Key pressed.
- Parameters:
col
- the colrow
- the rowkeyCode
- the key code