org.jscience.architecture.traffic.edit
Class GridOverlay

java.lang.Object
  extended by org.jscience.architecture.traffic.edit.GridOverlay
All Implemented Interfaces:
Overlay

public class GridOverlay
extends java.lang.Object
implements Overlay

Overlay for gld.View. Shows a grid.


Field Summary
protected static int GRID_SPACING
          DOCUMENT ME!
 
Constructor Summary
GridOverlay(java.awt.Dimension size)
          Creates a default GridOverlay.
 
Method Summary
 int overlayType()
          DOCUMENT ME!
 void paint(java.awt.Graphics g)
          Paints the grid.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GRID_SPACING

protected static final int GRID_SPACING
DOCUMENT ME!

See Also:
Constant Field Values
Constructor Detail

GridOverlay

public GridOverlay(java.awt.Dimension size)
Creates a default GridOverlay.

Parameters:
size - DOCUMENT ME!
Method Detail

overlayType

public int overlayType()
DOCUMENT ME!

Specified by:
overlayType in interface Overlay
Returns:
DOCUMENT ME!

paint

public void paint(java.awt.Graphics g)
Paints the grid.

Specified by:
paint in interface Overlay
Parameters:
g - DOCUMENT ME!