de.torstennahm.integrate.sparse.visualize
Class GridVisualizer

java.lang.Object
  extended by de.torstennahm.integrate.sparse.visualize.GridVisualizer
All Implemented Interfaces:
Visualizer

public class GridVisualizer
extends java.lang.Object
implements Visualizer

Author:
Torsten Nahm

Constructor Summary
GridVisualizer(javax.swing.JFrame frame)
           
 
Method Summary
 void destroy()
          Fully turn off the visualizer.
 void init()
          Initializes the visualizer for use.
 void start()
          Signals the visualizer that integration is now being started.
 void stop()
          Signals the visualizer that integration has now ended and no further VisualizerData will be sent.
 void submit(VisualizerData data)
          Send a data object to the visualizer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridVisualizer

public GridVisualizer(javax.swing.JFrame frame)
Method Detail

init

public void init()
Description copied from interface: Visualizer
Initializes the visualizer for use. Must be called before any other method.

Specified by:
init in interface Visualizer

start

public void start()
Description copied from interface: Visualizer
Signals the visualizer that integration is now being started. This resets the visualizer for this integration process.

Specified by:
start in interface Visualizer

submit

public void submit(VisualizerData data)
Description copied from interface: Visualizer
Send a data object to the visualizer. The visualizer may extract any data relevant to its taks.

Specified by:
submit in interface Visualizer
Parameters:
data - object containing data about the current state of the integration process

stop

public void stop()
Description copied from interface: Visualizer
Signals the visualizer that integration has now ended and no further VisualizerData will be sent. The Visualizer may use this signal to present a final display for this integration process.

Specified by:
stop in interface Visualizer

destroy

public void destroy()
Description copied from interface: Visualizer
Fully turn off the visualizer. This should include closing all open windows if any have been opened.

Specified by:
destroy in interface Visualizer