|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.client.event.BoardViewListenerAdapter
public class BoardViewListenerAdapter
This adapter class provides default implementations for the methods described
by the BoardViewListener interface.
Classes that wish to deal with BoardViewEvents can extend
this class and override only the methods which they are interested in.
BoardViewListener,
BoardViewEvent| Constructor Summary | |
|---|---|
BoardViewListenerAdapter()
|
|
| Method Summary | |
|---|---|
void |
boardHexHighlighted(BoardViewEvent b)
Sent when BoardView 'cursor' is set to Hex. |
void |
finishedMovingUnits(BoardViewEvent b)
Sent when moving units is finished. |
void |
firstLOSHex(BoardViewEvent b)
Sent when firstLOS is set. |
void |
hexCursor(BoardViewEvent b)
Sent when BoardView 'cursor' is set to Hex. |
void |
hexMoused(BoardViewEvent b)
Sent when user clicks, double clicks or drags hex. |
void |
hexSelected(BoardViewEvent b)
Sent when Hex is selected. |
void |
secondLOSHex(BoardViewEvent b,
Coords c)
Sent when secondLOS is set. |
void |
unitSelected(BoardViewEvent b)
Sent when Unit is selected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoardViewListenerAdapter()
| Method Detail |
|---|
public void hexMoused(BoardViewEvent b)
hexMoused in interface BoardViewListenerb - an eventpublic void hexCursor(BoardViewEvent b)
hexCursor in interface BoardViewListenerb - an eventpublic void boardHexHighlighted(BoardViewEvent b)
boardHexHighlighted in interface BoardViewListenerb - an eventpublic void hexSelected(BoardViewEvent b)
hexSelected in interface BoardViewListenerb - an eventpublic void firstLOSHex(BoardViewEvent b)
firstLOSHex in interface BoardViewListenerb - an event
public void secondLOSHex(BoardViewEvent b,
Coords c)
secondLOSHex in interface BoardViewListenerb - an eventpublic void finishedMovingUnits(BoardViewEvent b)
finishedMovingUnits in interface BoardViewListenerb - an eventpublic void unitSelected(BoardViewEvent b)
unitSelected in interface BoardViewListenerb - an event
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||