|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fop.layoutmgr.LMiter
public class LMiter
An iterator for layout managers.
| Field Summary | |
|---|---|
protected int |
curPos
current position in iteration |
protected java.util.List<LayoutManager> |
listLMs
list of layout managers |
| Constructor Summary | |
|---|---|
LMiter(LayoutManager lp)
Construct a layout manager iterator. |
|
| Method Summary | |
|---|---|
void |
add(LayoutManager lm)
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
LayoutManager |
next()
|
int |
nextIndex()
|
LayoutManager |
previous()
|
int |
previousIndex()
|
void |
remove()
|
void |
set(LayoutManager lm)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<LayoutManager> listLMs
protected int curPos
| Constructor Detail |
|---|
public LMiter(LayoutManager lp)
lp - the associated layout manager (parent)| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iterator<LayoutManager>hasNext in interface java.util.ListIterator<LayoutManager>public boolean hasPrevious()
hasPrevious in interface java.util.ListIterator<LayoutManager>
public LayoutManager previous()
throws java.util.NoSuchElementException
previous in interface java.util.ListIterator<LayoutManager>java.util.NoSuchElementException
public LayoutManager next()
throws java.util.NoSuchElementException
next in interface java.util.Iterator<LayoutManager>next in interface java.util.ListIterator<LayoutManager>java.util.NoSuchElementException
public void remove()
throws java.util.NoSuchElementException
remove in interface java.util.Iterator<LayoutManager>remove in interface java.util.ListIterator<LayoutManager>java.util.NoSuchElementException
public void add(LayoutManager lm)
throws java.lang.UnsupportedOperationException
add in interface java.util.ListIterator<LayoutManager>java.lang.UnsupportedOperationException
public void set(LayoutManager lm)
throws java.lang.UnsupportedOperationException
set in interface java.util.ListIterator<LayoutManager>java.lang.UnsupportedOperationExceptionpublic int nextIndex()
nextIndex in interface java.util.ListIterator<LayoutManager>public int previousIndex()
previousIndex in interface java.util.ListIterator<LayoutManager>
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||