package schedule; /** * A Category has a name and StandardColor, which serve distinguish it from * other categories. Colored-coded categories serve visual cues to the user * when viewing lists of scheduled items in some form. Categories can also be * used in filtered viewing. */ public abstract class Category { String name; StandardColor color; } /** * A StandardColor is one of a fixed set of possibilities, per the requirements * scenarios. */ enum StandardColor { Black, Brown, Red, Orange, Yellow, Green, Blue, Purple }