org.jscience.architecture.traffic
Interface Overlay

All Known Subinterfaces:
Tool
All Known Implementing Classes:
EdgeNodeTool, GridOverlay, LaneTool, MoveTool, NodeTool, PopupMenuTool, RoadTool, ScrollTool, Selection, SelectTool, StatisticsOverlay, TotalEditTool, ZoomTool

public interface Overlay

DOCUMENT ME!


Method Summary
 int overlayType()
          Returns the type of overlay. 1 indicates a view overlay. 2 indicates a buffer overlay.
 void paint(java.awt.Graphics g)
          Draws this Overlay on a given Graphics object.
 

Method Detail

paint

void paint(java.awt.Graphics g)
           throws TrafficException
Draws this Overlay on a given Graphics object.

Parameters:
g - The Graphics object to draw this Paintable on
Throws:
TrafficException - DOCUMENT ME!

overlayType

int overlayType()
Returns the type of overlay. 1 indicates a view overlay. 2 indicates a buffer overlay.

Returns:
DOCUMENT ME!