graphics
Interface IColorable

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

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
 Color getColor()
          Gets the Color of this Object
 void setColor(Color c)
          Sets the Color of this Object
 

Method Detail

getColor

Color getColor()
Gets the Color of this Object

Returns:
the java.awt.Color of this Object

setColor

void setColor(Color c)
Sets the Color of this Object

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