public class TestModule extends ModulePlugin
| Modifier and Type | Field and Description |
|---|---|
(package private) JFrame |
frame |
moduleProperties| Constructor and Description |
|---|
TestModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Called whenever the module is selected but is already running
|
String |
getDisplayName()
Return the simple name of this module.
|
String |
getInfo()
Return any other information about the module, such as copyright, purpose, etc.
|
KeyStroke |
getKeyStroke()
Get the accelerator key combination needed for the menu.
|
JPanel |
getPropertiesPanel()
Access the properties panel for this module, suitable for adding as a tab in the main Preferences window.
|
void |
shutdown()
Perform whatever cleanup and finalizing necessary.
|
void |
startup(ModulePlugin module)
Launch this module, attaching it to Charger.
|
getModulePropertiesFile, getProperties, saveProperties, setPropertiespublic String getDisplayName()
ModulePlugingetDisplayName in class ModulePluginpublic KeyStroke getKeyStroke()
ModulePlugingetKeyStroke in class ModulePluginpublic String getInfo()
ModulePlugingetInfo in class ModulePluginpublic void startup(ModulePlugin module)
ModulePluginstartup in class ModulePluginpublic void activate()
ModulePluginactivate in class ModulePluginpublic void shutdown()
ModulePluginshutdown in class ModulePluginpublic JPanel getPropertiesPanel()
ModulePlugingetPropertiesPanel in class ModulePlugin