javalib.colors
Class Black

java.lang.Object
  extended by javalib.colors.Black
All Implemented Interfaces:
IColor

public class Black
extends Object
implements IColor

To represent the black color -- in the style of ProfessorJ draw package.

Since:
March 12, 2008
Author:
Viera K. Proulx

Constructor Summary
Black()
           
 
Method Summary
 Color thisColor()
          Provide the Color represented by this class
 String toString()
          Produce a String representation of this color
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Black

public Black()
Method Detail

thisColor

public Color thisColor()
Provide the Color represented by this class

Specified by:
thisColor in interface IColor
Returns:
black color

toString

public String toString()
Produce a String representation of this color

Overrides:
toString in class Object