public class SlotIterator
extends java.lang.Object
implements java.util.Iterator
getNext( )
returns a handle of type DesignElementHandle
.Modifier and Type | Field and Description |
---|---|
protected int |
posn
Current iteration position.
|
protected SlotHandle |
slotHandle
Handle to the slot over which to iterate.
|
Constructor and Description |
---|
SlotIterator(SlotHandle handle)
Constructs an iterator for the given slot.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
java.lang.Object |
next()
Returns a handle to the next content element.
|
void |
remove()
Removes the element at the current iterator position.
|
protected final SlotHandle slotHandle
protected int posn
public SlotIterator(SlotHandle handle)
handle
- handle to the slot over which to iteratepublic void remove()
remove
in interface java.util.Iterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
DesignElementHandle
.next
in interface java.util.Iterator
Copyright © 2008 Actuate Corp. All rights reserved.