All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sim.display.Grid

java.lang.Object
   |
   +----sim.display.Plot
           |
           +----sim.display.Grid

public class Grid
extends Plot
This Plot draws a regular grid with a given feature size and type of grid.

This code is (c) 1997 Leemon Baird <leemon@cs.cmu.edu>, http://www.cs.cmu.edu/~baird
The source and object code may be redistributed freely. If the code is modified, please state so in the comments.

Version:
1.00, 1 June 97
Author:
Leemon Baird

Constructor Index

 o Grid()

Method Index

 o drawAll(Graphics, double, double, double, double, int, int, int, int, int, int)
draws the tiling
 o getParameters(int)
Return a parameter array if BNF(), parse(), and unparse() are to be automated, null otherwise.

Constructors

 o Grid
 public Grid()

Methods

 o getParameters
 public Object[][] getParameters(int lang)
Return a parameter array if BNF(), parse(), and unparse() are to be automated, null otherwise.

Overrides:
getParameters in class Plot
See Also:
getParameters
 o drawAll
 public void drawAll(Graphics g,
                     double xMin,
                     double xMax,
                     double yMin,
                     double yMax,
                     int startX,
                     int startY,
                     int xAxisX,
                     int xAxisY,
                     int yAxisX,
                     int yAxisY)
draws the tiling

Overrides:
drawAll in class Plot

All Packages  Class Hierarchy  This Package  Previous  Next  Index