|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.valhalla.pluginmanager.PluginChain
The PluginChain keeps track of PluginEventListeners. Distributes events to the different PluginEventListeners
Constructor Summary | |
PluginChain()
|
Method Summary | |
static void |
addListener(PluginEventListener listener)
Adds a PluginEventListener to the chain |
static void |
fireEvent(PluginEvent e)
Notifies all the EventListeners of an event |
static void |
removeListener(PluginEventListener listener)
Removes a listener from the chain |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PluginChain()
Method Detail |
public static void addListener(PluginEventListener listener)
listener
- The listener to adddpublic static void removeListener(PluginEventListener listener)
listener
- The listener to removepublic static void fireEvent(PluginEvent e)
e
- the event to fire
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |