|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanecho.JamochaMUD.JMainMenu
public class JMainMenu
Create a menu for the Main Window
| Field Summary | |
|---|---|
protected static javax.swing.JMenu |
tWPlugInMenu
|
| Method Summary | |
|---|---|
void |
addPlugin(PlugInterface plug)
|
void |
buildMenu(javax.swing.JFrame parent,
MuckMain mainProg)
|
void |
changePlugInState(boolean state,
java.lang.String actCom)
This method allows the plug-in and menu items to be updated to reflect the current state of the plug-in. |
static JMainMenu |
getInstance()
|
boolean |
isAutoFocus()
|
boolean |
isReleasePause()
|
void |
removeAllPlugins()
This method removes all plug-in entries from the plug-ins menu |
void |
setCloseMUEnabled(boolean state)
|
void |
setConnected(boolean state)
Set the menus to reflect if we're connected (true) or not (false) |
void |
updateConnectionMenu(MuckMain mainProg)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static javax.swing.JMenu tWPlugInMenu
| Method Detail |
|---|
public static JMainMenu getInstance()
public void buildMenu(javax.swing.JFrame parent,
MuckMain mainProg)
parent - mainProg - public void setCloseMUEnabled(boolean state)
state - public void removeAllPlugins()
public void addPlugin(PlugInterface plug)
plug -
public void changePlugInState(boolean state,
java.lang.String actCom)
state - the new state of our plug-inactCom - the action-command we use to locate our menu item
true means the plug-in is active
false means the plug-in is inactivepublic void updateConnectionMenu(MuckMain mainProg)
mainProg - public void setConnected(boolean state)
state - public boolean isAutoFocus()
public boolean isReleasePause()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||