edu.brook.ascape.view
Interface Drawable

All Known Implementing Classes:
DrawSymbol

public abstract interface Drawable

An interface for a class that is capable of drawing itself into a graphics context with a defined area.

Since:
1.0
Version:
1.0

Method Summary
 void draw(java.awt.Graphics g, int width, int height)
          Draws a graphic interpretation of this object, or a delegate to this object.
 

Method Detail

draw

public void draw(java.awt.Graphics g,
                 int width,
                 int height)
Draws a graphic interpretation of this object, or a delegate to this object. within the supplied dimensions, assuming origin as {0, 0}.
Parameters:
g - the Graphics context to draw into
width - the width of the space that should be drawn into
height - the height of the space that should be drawn into

(c) 1998-2000 The Brookings Insitution
Webpage