public class CraftModulePlugin extends ModulePlugin
moduleProperties
Constructor and Description |
---|
CraftModulePlugin() |
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 |
saveProperties()
Saves the module's built-in properties as returned by getProperties().
|
void |
setProperties(Properties props)
Set the module's properties directly.
|
void |
shutdown()
Perform whatever cleanup and finalizing necessary.
|
void |
startup(ModulePlugin module)
Launch this module, attaching it to Charger.
|
getModulePropertiesFile, getProperties
public String getDisplayName()
ModulePlugin
getDisplayName
in class ModulePlugin
public KeyStroke getKeyStroke()
ModulePlugin
getKeyStroke
in class ModulePlugin
public String getInfo()
ModulePlugin
getInfo
in class ModulePlugin
public void startup(ModulePlugin module)
ModulePlugin
startup
in class ModulePlugin
public void activate()
ModulePlugin
activate
in class ModulePlugin
public void shutdown()
ModulePlugin
shutdown
in class ModulePlugin
public JPanel getPropertiesPanel()
ModulePlugin
getPropertiesPanel
in class ModulePlugin
public void setProperties(Properties props)
ModulePlugin
setProperties
in class ModulePlugin
public void saveProperties()
ModulePlugin
saveProperties
in class ModulePlugin