cse115.graphics
Interface Sizeable

All Known Subinterfaces:
ColorableGraphic, Graphic, MovingBody, Shape
All Known Implementing Classes:
AbstractColorableGraphic, AbstractGraphic, BouncingBall, BouncingSquare, BouncingTriangle, CompoundGraphic, DrawingCanvas, Ellipse, Eye, Fish, Fish, FramedEllipse, FramedRectangle, Image, Mouth, MovingBodyAdapter, Oval, Painter, Polygon, Rectangle, Rectangle, Rectangle3D, Triangle

public interface Sizeable

The interface that defines the capabilties for an object that can have its Dimension accessed/mutated

Author:
Michael Kozelsky Created on: Jul 29, 2006 Sizeable.java

Method Summary
 Dimension getDimension()
          Gets the Dimension of this Object
 void setDimension(Dimension d)
          Sets the Dimension of this Object
 

Method Detail

setDimension

void setDimension(Dimension d)
Sets the Dimension of this Object

Parameters:
d - The dimension to set the Object to be

getDimension

Dimension getDimension()
Gets the Dimension of this Object

Returns:
the Object's Dimension