|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanecho.JamochaMUD.MuckMain
public final class MuckMain
Main Muck Output Window, heart of the program, containing most of the menus and logistics of JamochaMUD
| Field Summary | |
|---|---|
static int |
COMBINED
|
static int |
SPLIT
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
|
void |
addPlugin(PlugInterface plug)
Add a new plugin to our plugins menu |
void |
checkDisconnectMenu()
We've received notification from one of our connections that it has either terminated. |
void |
componentHidden(java.awt.event.ComponentEvent event)
|
void |
componentMoved(java.awt.event.ComponentEvent event)
|
void |
componentResized(java.awt.event.ComponentEvent event)
|
void |
componentShown(java.awt.event.ComponentEvent event)
|
void |
connectMenu()
The user has chosen to connect to a MUD/MUCK, so we set the menu items as appropriate, and give the a visual identifier that we are actually trying to make the connection |
void |
disconnectMenu()
Methods called when disconnected from the MUD/MUCK Here, we reset some of the menu flags to the appropriate status and give the user visual notification that they have been disconnected (This is not always called just by the user's 'Disconnect' action) |
JMFancyTabbedPane |
getFancyTextPanel()
Returns the textPanel pre-cast to a JMFancyTabbedPane |
static MuckMain |
getInstance()
This method returns the running instance of MuckMain, or creates it if we do not yet have one. |
JMTabPanel |
getLegacyTextPanel()
Returns the textPanel pre-cast to the older legacy JMTabPanel |
java.awt.Frame |
getMainFrame()
Return the main frame to the calling method |
java.awt.Component |
getTextPanel()
Returns the "generic" Component version of TextPanel |
void |
itemStateChanged(java.awt.event.ItemEvent event)
|
void |
keyPressed(java.awt.event.KeyEvent event)
|
void |
keyReleased(java.awt.event.KeyEvent event)
|
void |
keyTyped(java.awt.event.KeyEvent event)
|
void |
pauseText()
Set the 'pause' status on the Main window. |
void |
rebuildPlugInMenu()
Rebuild the plug-in menu to reflect its current state. |
void |
removeAllPlugins()
Clear all the plugins from our current menu |
void |
setActiveMU(java.lang.String muName)
This method is used to make sure all the classes properly identify the active MU* |
void |
setConnectionMenu()
Set the state of our connection menu based on our active MU*'s condition |
void |
setMainLayout()
This method sets up the lay-out of the main JamochaMUD window |
void |
setVisibleMU()
Change the shown MU* to our new selection |
void |
setWindowTitle()
This method sets the title for the main JamochaMUD frame. |
void |
setWindowTitle(java.lang.String title)
A specific instance of setting the MU* title if the MU* is minimised |
void |
showWhatsNew()
Show a dialogue box showing the latest changes/fixes in JamochaMUD |
void |
windowActivated(java.awt.event.WindowEvent event)
|
void |
windowClosed(java.awt.event.WindowEvent event)
|
void |
windowClosing(java.awt.event.WindowEvent event)
|
void |
windowDeactivated(java.awt.event.WindowEvent event)
|
void |
windowDeiconified(java.awt.event.WindowEvent event)
|
void |
windowIconified(java.awt.event.WindowEvent event)
|
void |
windowOpened(java.awt.event.WindowEvent event)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int COMBINED
public static final int SPLIT
| Method Detail |
|---|
public static MuckMain getInstance()
public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed in interface java.awt.event.ActionListenerevent - public void keyPressed(java.awt.event.KeyEvent event)
keyPressed in interface java.awt.event.KeyListenerevent - public void keyTyped(java.awt.event.KeyEvent event)
keyTyped in interface java.awt.event.KeyListenerevent - public void keyReleased(java.awt.event.KeyEvent event)
keyReleased in interface java.awt.event.KeyListenerevent - public void itemStateChanged(java.awt.event.ItemEvent event)
itemStateChanged in interface java.awt.event.ItemListenerevent - public void windowActivated(java.awt.event.WindowEvent event)
windowActivated in interface java.awt.event.WindowListenerevent - public void windowClosed(java.awt.event.WindowEvent event)
windowClosed in interface java.awt.event.WindowListenerevent - public void windowClosing(java.awt.event.WindowEvent event)
windowClosing in interface java.awt.event.WindowListenerevent - public void windowDeactivated(java.awt.event.WindowEvent event)
windowDeactivated in interface java.awt.event.WindowListenerevent - public void windowDeiconified(java.awt.event.WindowEvent event)
windowDeiconified in interface java.awt.event.WindowListenerevent - public void windowIconified(java.awt.event.WindowEvent event)
windowIconified in interface java.awt.event.WindowListenerevent - public void windowOpened(java.awt.event.WindowEvent event)
windowOpened in interface java.awt.event.WindowListenerevent - public void componentHidden(java.awt.event.ComponentEvent event)
componentHidden in interface java.awt.event.ComponentListenerevent - public void componentResized(java.awt.event.ComponentEvent event)
componentResized in interface java.awt.event.ComponentListenerevent - public void componentMoved(java.awt.event.ComponentEvent event)
componentMoved in interface java.awt.event.ComponentListenerevent - public void componentShown(java.awt.event.ComponentEvent event)
componentShown in interface java.awt.event.ComponentListenerevent - public void setWindowTitle()
public void setWindowTitle(java.lang.String title)
title - public void disconnectMenu()
public void checkDisconnectMenu()
public void connectMenu()
public void pauseText()
public void setVisibleMU()
public void setConnectionMenu()
public void removeAllPlugins()
public void addPlugin(PlugInterface plug)
plug - public void setActiveMU(java.lang.String muName)
muName - public void setMainLayout()
public java.awt.Component getTextPanel()
public JMFancyTabbedPane getFancyTextPanel()
public JMTabPanel getLegacyTextPanel()
public void rebuildPlugInMenu()
public java.awt.Frame getMainFrame()
public void showWhatsNew()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||