edu.cmu.emulator.vis
Class NodeViewer

java.lang.Object
  extended by edu.cmu.emulator.vis.NodeViewer
All Implemented Interfaces:
Runnable

public class NodeViewer
extends Object
implements Runnable


Field Summary
private  long DEF_REDRAW_INTERVAL
           
private  EmuWorld emuWorld
           
private  ArrayList nodes
           
private  NodeView nodeView
           
private  HashMap nodeViews
           
private  long redrawInterval
           
private  boolean running
           
private  ArrayList viewList
           
private  VisController visController
           
 
Constructor Summary
NodeViewer(EmuWorld emuWorld, VisController visController)
           
 
Method Summary
 void addNode(WVNode node)
           
 void run()
           
 void viewNode()
           
protected  void viewNode(String nodeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodes

private ArrayList nodes

emuWorld

private EmuWorld emuWorld

nodeViews

private HashMap nodeViews

viewList

private ArrayList viewList

running

private boolean running

redrawInterval

private long redrawInterval

visController

private VisController visController

nodeView

private NodeView nodeView

DEF_REDRAW_INTERVAL

private long DEF_REDRAW_INTERVAL
Constructor Detail

NodeViewer

public NodeViewer(EmuWorld emuWorld,
                  VisController visController)
Method Detail

addNode

public void addNode(WVNode node)

viewNode

public void viewNode()

viewNode

protected void viewNode(String nodeName)

run

public void run()
Specified by:
run in interface Runnable


Copyright © 2013. All Rights Reserved.