|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.birt.report.model.api.SlotIterator
public class SlotIterator
An Iterator over the elements in a slot. Each call to getNext( )
returns a handle of type DesignElementHandle.
| Field Summary | |
|---|---|
protected int |
posn
Current iteration position. |
protected SlotHandle |
slotHandle
Handle to the slot over which to iterate. |
| Constructor Summary | |
|---|---|
SlotIterator(SlotHandle handle)
Constructs an iterator for the given slot. |
|
| Method Summary | |
|---|---|
boolean |
hasNext()
|
java.lang.Object |
next()
Returns a handle to the next content element. |
void |
remove()
Removes the element at the current iterator position. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final SlotHandle slotHandle
protected int posn
| Constructor Detail |
|---|
public SlotIterator(SlotHandle handle)
handle - handle to the slot over which to iterate| Method Detail |
|---|
public void remove()
remove in interface java.util.Iteratorpublic boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
DesignElementHandle.
next in interface java.util.Iterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||