GraphLab Project

graphlab.plugins.commonplugin.actiongrouping
Class ActionGrouper

java.lang.Object
  extended by graphlab.platform.core.AbstractAction
      extended by graphlab.plugins.commonplugin.actiongrouping.ActionGrouper
All Implemented Interfaces:
Action, Listener

public abstract class ActionGrouper
extends AbstractAction

this class is used whenever you have more than one action and you want them to be enabled and desabled alltogether, so they can be thinked as a single action.

Author:
azin azadi

Field Summary
 
Fields inherited from class graphlab.platform.core.AbstractAction
blackboard
 
Constructor Summary
ActionGrouper(BlackBoard bb)
           
 
Method Summary
 void disable()
          disables the action prevent it from doing anything.
 void disableActions()
           
 void enableActions()
           
abstract  AbstractAction[] getActions()
           
 void performAction(java.lang.String eventName, java.lang.Object value)
          like Action
 
Methods inherited from class graphlab.platform.core.AbstractAction
enable, getBlackBoard, getLastListenedEventKey, isEnable, keyChanged, listen4Event, setBlackBoard, unListenEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionGrouper

public ActionGrouper(BlackBoard bb)
Method Detail

getActions

public abstract AbstractAction[] getActions()

performAction

public void performAction(java.lang.String eventName,
                          java.lang.Object value)
Description copied from class: AbstractAction
like Action

Specified by:
performAction in interface Action
Specified by:
performAction in class AbstractAction

enableActions

public void enableActions()

disable

public void disable()
Description copied from class: AbstractAction
disables the action prevent it from doing anything. it is used in the configuration

Overrides:
disable in class AbstractAction

disableActions

public void disableActions()

GraphLab Project