|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BoardListener
Classes which implement this interface provide methods that deal with the events that are generated when the Board is changed.
After creating an instance of a class that implements this interface it can
be added to a Board using the addBoardListener method and
removed using the removeBoardListener method. When board is
changed the appropriate method will be invoked.
BoardListenerAdapter,
BoardEvent| Method Summary | |
|---|---|
void |
boardChangedAllHexes(BoardEvent b)
Sent when all hexes on the board changed |
void |
boardChangedHex(BoardEvent b)
Sent when Hex on the Board changed |
void |
boardNewBoard(BoardEvent b)
Sent when Board completely changed |
| Method Detail |
|---|
void boardNewBoard(BoardEvent b)
b - an event containing information about the changevoid boardChangedHex(BoardEvent b)
b - an event containing information about the changevoid boardChangedAllHexes(BoardEvent b)
b - an event containing information about the change
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||