GraphLab Project

graphlab.plugins.main.core.actions
Class ResetGraph

java.lang.Object
  extended by graphlab.platform.core.AbstractAction
      extended by graphlab.plugins.main.core.actions.ResetGraph
All Implemented Interfaces:
Action, Listener

public class ResetGraph
extends AbstractAction

Author:
azin azadi

Field Summary
 
Fields inherited from class graphlab.platform.core.AbstractAction
blackboard
 
Constructor Summary
ResetGraph(BlackBoard bb)
          constructor
 
Method Summary
 void performAction(java.lang.String eventName, java.lang.Object value)
          like Action
static void resetGraph(GraphModel g)
          resets the state of current graph this means to set the properties of vertices and edges to default values, mark=false, model color=0, view color= default color * @param g
 
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
 

Constructor Detail

ResetGraph

public ResetGraph(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

resetGraph

public static void resetGraph(GraphModel g)
resets the state of current graph this means to set the properties of vertices and edges to default values, mark=false, model color=0, view color= default color * @param g


GraphLab Project