Package org.apache.fop.layoutmgr
Class BlockLayoutManager.ProxyLMiter
java.lang.Object
org.apache.fop.layoutmgr.LMiter
org.apache.fop.layoutmgr.BlockLayoutManager.ProxyLMiter
- All Implemented Interfaces:
Iterator<LayoutManager>
,ListIterator<LayoutManager>
- Enclosing class:
- BlockLayoutManager
Proxy iterator for Block LM.
This iterator creates and holds the complete list
of child LMs.
It uses fobjIter as its base iterator.
Block LM's createNextChildLMs uses this iterator
as its base iterator.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
createNextChildLMs
(int pos) boolean
hasNext()
Methods inherited from class org.apache.fop.layoutmgr.LMiter
add, hasPrevious, next, nextIndex, previous, previousIndex, remove, set
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
ProxyLMiter
public ProxyLMiter()Constructs a proxy iterator for Block LM.
-
-
Method Details
-
hasNext
public boolean hasNext()Description copied from class:LMiter
- Specified by:
hasNext
in interfaceIterator<LayoutManager>
- Specified by:
hasNext
in interfaceListIterator<LayoutManager>
- Overrides:
hasNext
in classLMiter
- Returns:
- true if there are more child lms
-
createNextChildLMs
protected boolean createNextChildLMs(int pos) - Parameters:
pos
- ...- Returns:
- true if new child lms were added
-