megamek.client.ui.swing
Class MegaMekGUI

java.lang.Object
  extended by megamek.client.ui.swing.MegaMekGUI
All Implemented Interfaces:
IMegaMekGUI

public class MegaMekGUI
extends java.lang.Object
implements IMegaMekGUI


Constructor Summary
MegaMekGUI()
           
 
Method Summary
(package private)  void connect()
          Connect to to a game and then launch the chat lounge.
(package private)  void connectBot()
           
(package private)  void host()
          Start instances of both the client and the server.
(package private)  void loadGame()
           
(package private) static void quit()
          Called when the quit buttons is pressed or the main menu is closed.
(package private)  void scenario()
          Host a game constructed from a scenario file
(package private)  void showAbout()
          Called when the user selects the "Help->About" menu item.
(package private)  void showEditor()
          Display the board editor.
(package private)  void showEditorOpen()
          Display the board editor and open an "open" dialog.
(package private)  void showGameOptions()
          Display the game options dialog.
(package private)  void showHelp()
          Called when the user selects the "Help->Contents" menu item.
(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
 

Constructor Detail

MegaMekGUI

public MegaMekGUI()
Method Detail

start

public void start(java.lang.String[] args)
Specified by:
start in interface IMegaMekGUI

showGameOptions

void showGameOptions()
Display the game options dialog.


showEditor

void showEditor()
Display the board editor.


showEditorOpen

void showEditorOpen()
Display the board editor and open an "open" dialog.


host

void host()
Start instances of both the client and the server.


loadGame

void loadGame()

scenario

void scenario()
Host a game constructed from a scenario file


connect

void connect()
Connect to to a game and then launch the chat lounge.


connectBot

void connectBot()

showAbout

void showAbout()
Called when the user selects the "Help->About" menu item.


showHelp

void showHelp()
Called when the user selects the "Help->Contents" menu item.


showSettings

void showSettings()
Called when the user selects the "View->Client Settings" menu item.


quit

static void quit()
Called when the quit buttons is pressed or the main menu is closed.


unlaunch

void unlaunch()
Un-hides the main menu and tries to clean up the client or server.