graphics
Interface IColorable

All Known Subinterfaces:
IColorableGraphic
All Known Implementing Classes:
AbstractColorableGraphic, BouncingBall, BouncingBall, BouncingBall, BouncingSquare, BouncingSquare, BouncingTriangle, BouncingTriangle, Ellipse, EllipticalShape, FramedEllipse, FramedRectangle, HexagonShape, Polygon, Rectangle, Rectangle3D, SquareShape

public interface IColorable

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

Author:
Michael Kozelsky Created on: Jul 28, 2006 Colorable.java

Method Summary
 java.awt.Color getColor()
          Gets the Color of this Object
 void setColor(java.awt.Color c)
          Sets the Color of this Object
 

Method Detail

getColor

java.awt.Color getColor()
Gets the Color of this Object

Returns:
the java.awt.Color of this Object

setColor

void setColor(java.awt.Color c)
Sets the Color of this Object

Parameters:
c - the java.awt.Color to set the Object to become