|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.MenuComponent
java.awt.MenuItem
java.awt.Menu
java.awt.PopupMenu
megamek.client.ui.AWT.MapMenu
public class MapMenu
Context menu for the board.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.PopupMenu |
|---|
java.awt.PopupMenu.AccessibleAWTPopupMenu |
| Nested classes/interfaces inherited from class java.awt.Menu |
|---|
java.awt.Menu.AccessibleAWTMenu |
| Nested classes/interfaces inherited from class java.awt.MenuItem |
|---|
java.awt.MenuItem.AccessibleAWTMenuItem |
| Nested classes/interfaces inherited from class java.awt.MenuComponent |
|---|
java.awt.MenuComponent.AccessibleAWTMenuComponent |
| Field Summary | |
|---|---|
(package private) IBoard |
board
|
(package private) Client |
client
|
(package private) Coords |
coords
|
(package private) java.awt.Component |
currentPanel
|
(package private) IGame |
game
|
(package private) ClientGUI |
gui
|
(package private) Entity |
myEntity
|
(package private) Targetable |
myTarget
|
(package private) GameOptions |
options
|
(package private) Entity |
selectedEntity
|
| Constructor Summary | |
|---|---|
MapMenu(Coords coords,
Client client,
java.awt.Component panel,
ClientGUI gui)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent arg0)
|
(package private) void |
plotCourse(java.awt.event.ActionEvent e)
|
void |
show(java.awt.Component comp,
int x,
int y)
|
| Methods inherited from class java.awt.PopupMenu |
|---|
addNotify, getAccessibleContext, getParent |
| Methods inherited from class java.awt.Menu |
|---|
add, add, addSeparator, countItems, getItem, getItemCount, insert, insert, insertSeparator, isTearOff, paramString, remove, remove, removeAll, removeNotify |
| Methods inherited from class java.awt.MenuItem |
|---|
addActionListener, deleteShortcut, disable, disableEvents, enable, enable, enableEvents, getActionCommand, getActionListeners, getLabel, getListeners, getShortcut, isEnabled, processActionEvent, processEvent, removeActionListener, setActionCommand, setEnabled, setLabel, setShortcut |
| Methods inherited from class java.awt.MenuComponent |
|---|
dispatchEvent, getFont, getName, getPeer, getTreeLock, postEvent, setFont, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
Coords coords
IGame game
java.awt.Component currentPanel
IBoard board
GameOptions options
Client client
ClientGUI gui
Entity selectedEntity
Entity myEntity
Targetable myTarget
| Constructor Detail |
|---|
public MapMenu(Coords coords,
Client client,
java.awt.Component panel,
ClientGUI gui)
| Method Detail |
|---|
public void actionPerformed(java.awt.event.ActionEvent arg0)
actionPerformed in interface java.awt.event.ActionListenervoid plotCourse(java.awt.event.ActionEvent e)
public void show(java.awt.Component comp,
int x,
int y)
show in class java.awt.PopupMenu
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||