org.generation5
Interface Visualizable

All Known Implementing Classes:
AutoTimeSeries, BoardGame, CellularAutomata, Flock, FSM, Histogram, LSystem, NeuralNetwork, Plot, StandardMap2D, TimeSeries, TravellingSalesman, VisStepApplet.NullVisualizable

public interface Visualizable

This abstract class provides the necessary methods for visualizable data.


Method Summary
 void render(java.awt.Graphics g, int width, int height)
          Render the class data in a graphics context.
 void writeImage(java.lang.String s, int width, int height)
          Write an image using the class data.
 

Method Detail

render

public void render(java.awt.Graphics g,
                   int width,
                   int height)
Render the class data in a graphics context.

Parameters:
g - the graphics context
height - the width of the graphics context
width - the height of the graphics context

writeImage

public void writeImage(java.lang.String s,
                       int width,
                       int height)
Write an image using the class data. This function should usually use the render function to write the image.

Parameters:
s - the filename of the image to write
width - the width of the image
height - the height of the image

This documentation is part of the Generation5 JDK.