org.openbp.jaspira.event
Class StackActionEvent
java.lang.Object
java.util.EventObject
org.openbp.jaspira.event.JaspiraEvent
org.openbp.jaspira.event.StackActionEvent
- All Implemented Interfaces:
- java.io.Serializable
public class StackActionEvent
- extends JaspiraEvent
Event that may contain Runnable actions that are executed when the performActions() method is called.
- Author:
- Stephan Moritz
- See Also:
- Serialized Form
| Fields inherited from class java.util.EventObject |
source |
|
Constructor Summary |
StackActionEvent(Plugin source,
java.lang.String eventName)
Constructor. |
StackActionEvent(Plugin source,
java.lang.String eventName,
java.lang.Object object,
int type,
int level,
int flags)
Constructor. |
|
Method Summary |
void |
addAction(java.lang.Runnable action)
Adds an action to this action stack. |
void |
performActions()
Performs all actions in the stack. |
| Methods inherited from class org.openbp.jaspira.event.JaspiraEvent |
brand, getBrand, getEventGroup, getEventName, getFlags, getLevel, getObject, getOriginalEvent, getSourcePlugin, getTargetClassName, getTargetPluginId, getType, isConsumed, isStackable, isUnconsumable, setObject, setTargetClassName, setTargetPluginId, toString, updateFlags, updateFlags |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StackActionEvent
public StackActionEvent(Plugin source,
java.lang.String eventName,
java.lang.Object object,
int type,
int level,
int flags)
- Constructor.
StackActionEvent
public StackActionEvent(Plugin source,
java.lang.String eventName)
- Constructor.
addAction
public void addAction(java.lang.Runnable action)
- Adds an action to this action stack.
- Parameters:
action - Action to add
performActions
public void performActions()
- Performs all actions in the stack.
Copyright © 2011. All Rights Reserved.