JIDE 3.5.15

com.jidesoft.chart.model
Class ChartModelIterator

java.lang.Object
  extended by com.jidesoft.chart.model.ChartModelIterator
All Implemented Interfaces:
Iterator<Chartable>

public class ChartModelIterator
extends Object
implements Iterator<Chartable>

Enables you to iterate through the points in a ChartModel. This is used by some ChartModel implementations to make the class iterable and therefore usable in a Java 5 for.. loop

Author:
Simon White (swhite@catalysoft.com)

Constructor Summary
ChartModelIterator(ChartModel newModel)
           
 
Method Summary
 boolean hasNext()
           
 Chartable next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartModelIterator

public ChartModelIterator(ChartModel newModel)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Chartable>

next

public Chartable next()
Specified by:
next in interface Iterator<Chartable>

remove

public void remove()
Specified by:
remove in interface Iterator<Chartable>

JIDE 3.5.15