|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpicedt.graphic.model.DefaultPointIndexIterator
public class DefaultPointIndexIterator
Default implementation of the PointIndexIterator interface, which simply iterates in ascending order over all control points.
Field Summary | |
---|---|
protected int |
counter
|
protected Element |
elem
|
Constructor Summary | |
---|---|
DefaultPointIndexIterator(Element e)
create a new PointIndexIterator for the given Element |
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements |
int |
next()
Returns the index of the next PicPoint in the iteration. |
void |
reset()
reset the state of this iterator |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected int counter
protected Element elem
Constructor Detail |
---|
public DefaultPointIndexIterator(Element e)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface PointIndexIterator
public int next()
next
in interface PointIndexIterator
public void reset()
PointIndexIterator
reset
in interface PointIndexIterator
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |