|
fop 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface FONode.FONodeIterator
Base iterator interface over a FO's children, offering three methods on top of the base interface
methods ListIterator.
| Method Summary | |
|---|---|
void |
add(FONode newNode)
Add the given newNode at the current position. |
FONode |
first()
Returns the first node in the list, and decreases the index, so that a subsequent call to hasPrevious() will
return false |
boolean |
hasNext()
|
boolean |
hasPrevious()
|
FONode |
last()
Returns the last node in the list, and advances the current position, so that a subsequent call to hasNext()
will return false |
FONode |
next()
|
int |
nextIndex()
|
FObj |
parent()
Returns the parent node for this iterator's list of child nodes |
FONode |
previous()
|
int |
previousIndex()
|
void |
remove()
Removes the node at the current position. |
void |
set(FONode newNode)
Replace the node at the current index with the given newNode. |
| Method Detail |
|---|
FONode next()
next in interface java.util.Iterator<FONode>next in interface java.util.ListIterator<FONode>FONode previous()
previous in interface java.util.ListIterator<FONode>void set(FONode newNode)
newNode.
set in interface java.util.ListIterator<FONode>newNode - the new nodevoid add(FONode newNode)
newNode at the current position.
add in interface java.util.ListIterator<FONode>newNode - the new nodeboolean hasNext()
hasNext in interface java.util.Iterator<FONode>hasNext in interface java.util.ListIterator<FONode>true if there is a next node, false otherwiseboolean hasPrevious()
hasPrevious in interface java.util.ListIterator<FONode>true if there is a previous node, false otherwiseint nextIndex()
nextIndex in interface java.util.ListIterator<FONode>int previousIndex()
previousIndex in interface java.util.ListIterator<FONode>void remove()
remove in interface java.util.Iterator<FONode>remove in interface java.util.ListIterator<FONode>FObj parent()
FONode first()
hasPrevious() will
return false
FONode last()
hasNext()
will return false
|
fop 2.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||