uk.ac.ed.ph.signal
Interface Diagram2DComponent

All Known Implementing Classes:
Diagram2D

public interface Diagram2DComponent

Interface for drawable Graphics2D objects.


Method Summary
 void draw(Graphics2D g)
          Method to draw the component in specified Graphics2D context.
 Rectangle2D getBounds()
          Method to get the bounds of the object.
 

Method Detail

getBounds

Rectangle2D getBounds()
Method to get the bounds of the object.

Returns:
Rectangle2D the bounding Rectangle

draw

void draw(Graphics2D g)
Method to draw the component in specified Graphics2D context.

Parameters:
g - the Graphics2D context