|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.standard.HandleAndEnumerator
public class HandleAndEnumerator
Constructor Summary | |
---|---|
HandleAndEnumerator(HandleEnumeration newHE1,
HandleEnumeration newHE2)
|
Method Summary | |
---|---|
boolean |
hasNextHandle()
|
Handle |
nextHandle()
Returns the next element of the enumeration. |
void |
reset()
Reset the enumeration so it can be reused again. |
java.util.List |
toList()
Returns a list with all elements currently available in the enumeration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HandleAndEnumerator(HandleEnumeration newHE1, HandleEnumeration newHE2)
Method Detail |
---|
public Handle nextHandle()
HandleEnumeration
nextHandle
in interface HandleEnumeration
public boolean hasNextHandle()
hasNextHandle
in interface HandleEnumeration
public java.util.List toList()
HandleEnumeration
toList
in interface HandleEnumeration
public void reset()
HandleEnumeration
reset
in interface HandleEnumeration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |