|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ou.kmi.buddyspace.plugins.BSPlugin | +--edu.ou.kmi.buddyspace.plugins.disco.BSDiscoPlugin
BSDiscoPlugin
is main class of disco plugin to BuddySpace.
It provides methods for plugin loading and user interaction.
Field Summary |
Fields inherited from class edu.ou.kmi.buddyspace.plugins.BSPlugin |
core, mainFrame, name, tabbedPane |
Constructor Summary | |
BSDiscoPlugin(BSMainFrame mainFrame,
javax.swing.JTabbedPane tabbedPane,
BSCore core)
Constructor |
Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent evt)
Handles action from GUI controls in main window |
protected void |
addGUIControls()
Adds GUI controls into main window |
protected void |
connectBeans()
Connects BuddySpace beans |
void |
connected()
Handles connection change to connected |
void |
disconnected()
Handles connection change to disconnected |
void |
getPreferencesTab(java.util.Vector components,
java.util.Vector names)
Returns components and their names for display in preferences dialog. |
void |
getSupportedNamespaces(java.util.Vector namespaces,
java.util.Vector names)
Adds supported namespaces and their names |
protected void |
initCore()
Inits the plugin core |
protected void |
initGUI()
Inits plugin GUI |
protected void |
initMenu()
Inits browse menu for BSMainFrame. |
protected void |
loadPreferences()
Loads preferences. |
boolean |
performAction(JID jid,
java.lang.String namespace)
If namespace is http://jabber.org/protocol/disco#items or #info
disco's given JID and returns true otherwise returns false. |
boolean |
storePreferences()
Stores preferences from preferences tab. |
void |
updateLAF()
Updates LAF of all plug-ins |
Methods inherited from class edu.ou.kmi.buddyspace.plugins.BSPlugin |
addOpenWindows, isNewMessage, openTheWindows, shutdownCorbaServer, startCorbaServer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BSDiscoPlugin(BSMainFrame mainFrame, javax.swing.JTabbedPane tabbedPane, BSCore core)
Method Detail |
protected void initCore()
initCore
in class BSPlugin
protected void initGUI()
initGUI
in class BSPlugin
protected void addGUIControls()
addGUIControls
in class BSPlugin
protected void connectBeans()
connectBeans
in class BSPlugin
public void connected()
connected
in class BSPlugin
public void disconnected()
disconnected
in class BSPlugin
public void actionPerformed(java.awt.event.ActionEvent evt)
actionPerformed
in interface java.awt.event.ActionListener
public boolean performAction(JID jid, java.lang.String namespace)
http://jabber.org/protocol/disco#items or #info
disco's given JID and returns true otherwise returns false.
performAction
in class BSPlugin
public void getSupportedNamespaces(java.util.Vector namespaces, java.util.Vector names)
getSupportedNamespaces
in class BSPlugin
protected void initMenu()
agents
and register shortcuts.
protected void loadPreferences()
loadPreferences
in class BSPlugin
public void getPreferencesTab(java.util.Vector components, java.util.Vector names)
getPreferencesTab
in class BSPlugin
public boolean storePreferences()
storePreferences
in class BSPlugin
public void updateLAF()
updateLAF
in class BSPlugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |