Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jpicedt.graphic.model
Class AbstractElement.DefaultPointIterator  view AbstractElement.DefaultPointIterator download AbstractElement.DefaultPointIterator.java

java.lang.Object
  extended byjpicedt.graphic.model.AbstractElement.DefaultPointIterator
All Implemented Interfaces:
Element.PointIterator
Enclosing class:
AbstractElement

public class AbstractElement.DefaultPointIterator
extends java.lang.Object
implements Element.PointIterator

An iterator over PicPoint's. This implementation simply iterates over control points.


Field Summary
protected  int counter
           
 
Constructor Summary
AbstractElement.DefaultPointIterator()
          create a new PointIterator
 
Method Summary
 boolean hasNext()
          Returns true if the iteration has more elements
 int next()
          Returns the index of the next PicPoint in the iteration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

counter

protected int counter
Constructor Detail

AbstractElement.DefaultPointIterator

public AbstractElement.DefaultPointIterator()
create a new PointIterator

Method Detail

hasNext

public boolean hasNext()
Returns true if the iteration has more elements

Specified by:
hasNext in interface Element.PointIterator

next

public int next()
Returns the index of the next PicPoint in the iteration.

Specified by:
next in interface Element.PointIterator