|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmegamek.client.ui.AWT.MegaMekGUI
public class MegaMekGUI
| Field Summary | |
|---|---|
protected java.awt.event.ActionListener |
actionListener
|
Client |
client
|
java.awt.Frame |
frame
|
Server |
server
|
| Constructor Summary | |
|---|---|
MegaMekGUI()
|
|
| Method Summary | |
|---|---|
void |
connect()
Connect to to a game and then launch the chat lounge. |
void |
connectBot()
|
void |
host()
Start instances of both the client and the server. |
void |
loadGame()
|
(package private) void |
quit()
Called when the quit buttons is pressed or the main menu is closed. |
void |
scenario()
Host a game constructed from a scenario file |
(package private) void |
showAbout()
Called when the user selects the "Help->About" menu item. |
void |
showEditor()
Display the board editor. |
void |
showEditorOpen()
Display the board editor and open an "open" dialog. |
void |
showGameOptions()
Display the game options dialog. |
(package private) void |
showHelp()
Called when the user selects the "Help->Contents" menu item. |
void |
showMainMenu()
Display the main menu. |
(package private) void |
showSettings()
Called when the user selects the "View->Client Settings" menu item. |
void |
start(java.lang.String[] args)
|
(package private) void |
unlaunch()
Un-hides the main menu and tries to clean up the client or server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.awt.Frame frame
public Client client
public Server server
protected java.awt.event.ActionListener actionListener
| Constructor Detail |
|---|
public MegaMekGUI()
| Method Detail |
|---|
public void start(java.lang.String[] args)
start in interface IMegaMekGUIpublic void showMainMenu()
public void showGameOptions()
public void showEditor()
public void showEditorOpen()
public void host()
public void loadGame()
public void scenario()
public void connect()
public void connectBot()
void showAbout()
void showHelp()
void showSettings()
void quit()
void unlaunch()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||