GraphLab Project

graphlab.ui.actions
Class UIEventHandler

java.lang.Object
  extended by graphlab.platform.core.AbstractAction
      extended by graphlab.ui.actions.UIEventHandler
All Implemented Interfaces:
Action, Listener

public class UIEventHandler
extends AbstractAction

Maps the events generated by menues and toolbars to their Matching Action

Author:
azin azadi

Field Summary
static java.lang.String ACTIONS_MAP
           
static java.lang.String CONF
           
 
Fields inherited from class graphlab.platform.core.AbstractAction
blackboard
 
Constructor Summary
UIEventHandler(BlackBoard bb)
          constructor
 
Method Summary
 void performAction(java.lang.String eventName, java.lang.Object value)
          like Action
 
Methods inherited from class graphlab.platform.core.AbstractAction
disable, 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
 

Field Detail

ACTIONS_MAP

public static final java.lang.String ACTIONS_MAP
See Also:
Constant Field Values

CONF

public static final java.lang.String CONF
See Also:
Constant Field Values
Constructor Detail

UIEventHandler

public UIEventHandler(BlackBoard bb)
constructor

Parameters:
bb - the blackboard of the action
Method Detail

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

GraphLab Project