|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCH.ifa.draw.standard.FigureEnumerator
public final class FigureEnumerator
An Enumeration for a Vector of Figures.
| Constructor Summary | |
|---|---|
FigureEnumerator(java.util.Vector v)
|
|
| Method Summary | |
|---|---|
boolean |
hasMoreElements()
Returns true if the enumeration contains more elements; false if its empty. |
java.lang.Object |
nextElement()
Returns the next element of the enumeration. |
Figure |
nextFigure()
Returns the next element of the enumeration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FigureEnumerator(java.util.Vector v)
| Method Detail |
|---|
public boolean hasMoreElements()
hasMoreElements in interface java.util.Enumerationpublic java.lang.Object nextElement()
nextElement in interface java.util.Enumerationjava.util.NoSuchElementException - If no more elements exist.public Figure nextFigure()
nextFigure in interface FigureEnumerationjava.util.NoSuchElementException - If no more elements exist.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||