|
QuickServer v1.4.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PluginPanel is a template class for plug-ins written for QuickServer Admin GUI - QSAdminGUI.
The plug-in class implementing this interface must also extend
javax.swing.JPanel
class. The plug-in class must be made into a jar and plugin.xml needs to be
written that describing the plug-in to QSAdminGUI. A sample xml is below
<qsadmin-plugin>
<name>Stats</name>
<desc>Server Status Panel</desc>
<type>javax.swing.JPanel</type>
<main-class>org.quickserver.net.qsadmin.plugin.stats.StatsPanel</main-class>
<active>yes</active>
</qsadmin-plugin>
Now both the jar and the plugin.xml file needs to be places in a
directory by the name of the plug-in and placed in the plugin folder of
QuickServer installation.
QSAdminPluginConfig
Method Summary | |
void |
activated()
This method is called when the tab where plugin is loaded is activated |
void |
deactivated()
This method is called when the tab where plugin is loaded is deactivated |
void |
init()
This method is called before it is added to QSAdminGUI. |
boolean |
isActivated()
This method indicate if the plugin is in active or non-active state |
void |
setQSAdminMain(QSAdminMain qsAdminMain)
This method is the first method called after plugin is instanced. |
void |
updateConnectionStatus(boolean connected)
This method is called when connection status changes in QSAdminGUI. |
Method Detail |
public void setQSAdminMain(QSAdminMain qsAdminMain)
public void init()
public void updateConnectionStatus(boolean connected)
public void activated()
public void deactivated()
public boolean isActivated()
|
QuickServer v1.4.5 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |