com.moneydance.awt.graph
Class ColorEnumerator

java.lang.Object
  extended bycom.moneydance.awt.graph.ColorEnumerator
All Implemented Interfaces:
java.util.Enumeration

public class ColorEnumerator
extends java.lang.Object
implements java.util.Enumeration

Description: Class used to enumerate a set of colors (used to get colors for graphing different datasets). Author: Sean D. Reilly Changes:


Constructor Summary
ColorEnumerator()
           
 
Method Summary
 boolean hasMoreElements()
           
 java.awt.Color nextColor()
           
 java.lang.Object nextElement()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorEnumerator

public ColorEnumerator()
Method Detail

reset

public void reset()

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextColor

public java.awt.Color nextColor()

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement in interface java.util.Enumeration