Viewing file: comp249/assignment2/ShadesEnum.java | Back to directory listing
Author: Loren Segal | Last modified: February 21 2006 12:00 am | Download

/**
 * ShadesEnum holds all of the shades styles that are available.
 *
 * @author  Loren Segal
 * @version 1.0
 */
 
public enum ShadesEnum 
{ 
	LENNON          ("John Lennon"), 
	TERMINATOR      ("The Terminator"), 
	PARTY           ("Party Boy");
 
	private final String value; 
	ShadesEnum(String v) { value = v; }
	public String getValue() { return value; }
}