|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CellActionListener
Listens for actions on cells in the GUI
Method Summary | |
---|---|
void |
cellClicked(int row,
int column)
Called when the user clicks on a cell |
void |
cellDragEntered(int row,
int column,
int sourceRow,
int sourceColumn)
Called when the mouse is dragged into a cell (i.e., enters the cell with the button pushed). |
void |
cellEntered(int row,
int column)
Called when the mouse enters a cell |
void |
cellExited(int row,
int column)
Called when the mouse exits a cell |
void |
cellPressed(int row,
int column)
Called when a user presses the mouse in a cell |
void |
cellReleased(int releasedRow,
int releasedColumn,
int pressedRow,
int pressedColumn)
Called when the user releases the mouse on a cell. |
Method Detail |
---|
void cellEntered(int row, int column)
row
- the row of the cell enteredcolumn
- the column of the cell enteredvoid cellDragEntered(int row, int column, int sourceRow, int sourceColumn)
row
- the row of the cell being enteredcolumn
- the column of the cell being enteredsourceRow
- the row of the cell over which the mouse was pressedsourceColumn
- the column of the cell over which the mouse was pressedvoid cellExited(int row, int column)
row
- the row of the cell exitedcolumn
- the column of the cell exitedvoid cellClicked(int row, int column)
row
- the row of the cell clicked oncolumn
- the column of the cell clicked onvoid cellPressed(int row, int column)
row
- the row of the cell clicked oncolumn
- the column of the cell clicked onvoid cellReleased(int releasedRow, int releasedColumn, int pressedRow, int pressedColumn)
releasedRow
- the row of the cell over which hte mouse was positioned when releasedreleasedColumn
- the column of the cell over which the mouse was positioned when releasedpressedRow
- the row of the cell over which hte mouse was positioned when releasedpressedColumn
- the column of the cell over which the mouse was positioned when released
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |