org.metasyntactic.graphics.shapes
Class Shape

java.lang.Object
  |
  +--org.metasyntactic.graphics.shapes.Shape
Direct Known Subclasses:
CartesianShape, Circle

public class Shape
extends java.lang.Object


Constructor Summary
Shape()
          Creates a new instance of Shape
 
Method Summary
 Color getColor()
          Getter for property color.
 void setColor(Color color)
          Setter for property color.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Shape

public Shape()
Creates a new instance of Shape

Method Detail

getColor

public Color getColor()
Getter for property color.

Returns:
Value of property color.

setColor

public void setColor(Color color)
Setter for property color.

Parameters:
color - New value of property color.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object