public class LayersIterator
extends java.lang.Object
implements java.util.Iterator
Extend this class to create an expecific layer iterator
and override the method evaluate
for check
if a layer will be in the iteration list.
Constructor and Description |
---|
LayersIterator()
Deprecated.
|
LayersIterator(FLayer layer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
appendLayer(FLayer layer)
Deprecated.
|
boolean |
evaluate(FLayer layer)
Deprecated.
Called before add a layer to the iteration
list.
|
boolean |
hasNext()
Deprecated.
|
java.lang.Object |
next()
Deprecated.
|
FLayer |
nextLayer()
Deprecated.
Returns the next layer in the iteration.
|
void |
remove()
Deprecated.
|
public LayersIterator()
public LayersIterator(FLayer layer)
protected void appendLayer(FLayer layer)
public void remove()
remove
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public FLayer nextLayer()
java.util.NoSuchElementException
- iteration has no more elements.next()
public boolean evaluate(FLayer layer)
layer
- the layer to check