anl.aida.viz3d
Class GraphRenderer

java.lang.Object
  extended by anl.aida.viz3d.GraphRenderer
All Implemented Interfaces:
GraphSwapable

public class GraphRenderer
extends java.lang.Object
implements GraphSwapable


Field Summary
private  Canvas3D canvas
           
private  TSGraphCanvasListener listener
           
 
Constructor Summary
GraphRenderer(Cache cache, ConceptGraph<TermNode> graph, anl.aida.util.DateRange initRange)
           
 
Method Summary
 Canvas3D getCanvas()
           
 void swapGraph(ConceptGraph<TermNode> graph, anl.aida.util.DateRange range)
          Swaps the current graph for the specified graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

canvas

private Canvas3D canvas

listener

private TSGraphCanvasListener listener
Constructor Detail

GraphRenderer

public GraphRenderer(Cache cache,
                     ConceptGraph<TermNode> graph,
                     anl.aida.util.DateRange initRange)
Method Detail

getCanvas

public Canvas3D getCanvas()

swapGraph

public void swapGraph(ConceptGraph<TermNode> graph,
                      anl.aida.util.DateRange range)
Description copied from interface: GraphSwapable
Swaps the current graph for the specified graph.

Specified by:
swapGraph in interface GraphSwapable
Parameters:
graph - the new graph
range - the date range the graph represents