|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanecho.JamochaMUD.plugins.TestPlugIn
public class TestPlugIn
| Method Summary | |
|---|---|
void |
activate()
This function is automatically called by JamochaMUD when the plug-in is first activated (at each JamochaMUD start-up). |
void |
deactivate()
This function is automatically called by JamochaMUD when the plug-in is set inactive from the JamochaMUD "Manage Plug-Ins" dialogue. |
boolean |
hasProperties()
If a plug-in has properties that can be configured via a GUI, this method should return true, otherwise it should return false. |
boolean |
haveConfig()
This method tells JamochaMUD whether this plugin should have its own person configuration directory where it can keep its settings. |
void |
initialiseAtLoad()
This method is called as soon as the plugin is first loaded. |
boolean |
isActive()
Allows JamochaMUD to check whether this plug-in is active and should be used. |
java.lang.String |
plugInDescription()
A basic description of the plug-in that is shown in the JamochaMUD "Manage Plugins" dialogue box |
java.lang.String |
plugInName()
This method returns the name of the plug-in |
void |
plugInProperties()
This method is called by the "Properties" option in the JamochaMUD "Manage plugins" dialogue box. |
java.lang.String |
plugInType()
This indicates what type of plugin this is, ie: input or output. |
java.lang.String |
plugMain(java.lang.String jamochaString,
MuSocket mSock)
This is the main method of the plug-in. |
void |
setAtHalt()
The method is automatically called when JamochaMUD is quit by using the File -> Exit menu or the close window icon. |
void |
setSettings(JMConfig mainSettings)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setSettings(JMConfig mainSettings)
mainSettings - public java.lang.String plugInName()
plugInName in interface PlugInterfacepublic java.lang.String plugInDescription()
plugInDescription in interface PlugInterfacepublic java.lang.String plugInType()
plugInType in interface PlugInterface
public java.lang.String plugMain(java.lang.String jamochaString,
MuSocket mSock)
plugMain in interface PlugInterfacejamochaString - mSock -
public void plugInProperties()
plugInProperties in interface PlugInterfacepublic void initialiseAtLoad()
initialiseAtLoad in interface PlugInterfacepublic void setAtHalt()
setAtHalt in interface PlugInterfacepublic boolean haveConfig()
haveConfig in interface PlugInterfacepublic boolean hasProperties()
hasProperties in interface PlugInterfacepublic void activate()
activate in interface PlugInterfacepublic void deactivate()
deactivate in interface PlugInterfacepublic boolean isActive()
PlugInterface
isActive in interface PlugInterface
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||