graphics
Interface ISizeable

All Known Subinterfaces:
IColorableGraphic, IGraphic
All Known Implementing Classes:
AbstractColorableGraphic, AbstractGraphic, BouncingBall, BouncingBall, BouncingBall, BouncingSquare, BouncingSquare, BouncingTriangle, BouncingTriangle, Breakout, CompoundGraphic, DrawingCanvas, Earth, Elephant, Ellipse, EllipticalShape, FramedEllipse, FramedRectangle, HexagonShape, Image, Polygon, Rectangle, Rectangle3D, SquareShape

public interface ISizeable

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
 java.awt.Dimension getDimension()
          Gets the Dimension of this Object
 void setDimension(java.awt.Dimension d)
          Sets the Dimension of this Object
 

Method Detail

setDimension

void setDimension(java.awt.Dimension d)
Sets the Dimension of this Object

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

getDimension

java.awt.Dimension getDimension()
Gets the Dimension of this Object

Returns:
the Object's Dimension