com.jidesoft.chart.model
Class ChartModelIterator
java.lang.Object
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChartModelIterator
public ChartModelIterator(ChartModel newModel)
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>