|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectplanet.survey.plugin.PluginBus
The PluginBus is opinio's global event notification mechanism. A number of events are sent by opinio; these are classes com.objectplanet.survey.plugin.event package. Plugins can also create & send their own events, using the event classes and the PluginBusXX classes.
Constructor Summary | |
PluginBus()
Constructor for the PluginBus object |
Method Summary | |
void |
addToBus(IPBComponent comp)
Adds a component to the bus. |
IPBComponent[] |
getComponents()
Returns an array of all components connected to the bus. |
void |
removeFromBus(IPBComponent comp)
Removes a component from the bus. |
void |
send(PluginBusEvent event)
Sends an event to all components on the bus. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PluginBus()
Method Detail |
public IPBComponent[] getComponents()
public void addToBus(IPBComponent comp)
comp
- The component to addpublic void removeFromBus(IPBComponent comp)
comp
- The component to removepublic void send(PluginBusEvent event)
event
- The event
|
Copyright © ObjectPlanet Inc. All Rights Reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |