All Packages Class Hierarchy This Package Previous Next Index
Class CH.ifa.draw.standard.FigureEnumerator
java.lang.Object
|
+----CH.ifa.draw.standard.FigureEnumerator
- public final class FigureEnumerator
- extends Object
- implements FigureEnumeration
An Enumeration for a Vector of Figures.
-
FigureEnumerator(Vector)
-
-
hasMoreElements()
- Returns true if the enumeration contains more elements; false
if its empty.
-
nextElement()
- Returns the next element of the enumeration.
-
nextFigure()
- Returns the next element of the enumeration.
FigureEnumerator
public FigureEnumerator(Vector v)
hasMoreElements
public boolean hasMoreElements()
- Returns true if the enumeration contains more elements; false
if its empty.
nextElement
public Object nextElement()
- Returns the next element of the enumeration. Calls to this
method will enumerate successive elements.
- Throws: NoSuchElementException
- If no more elements exist.
nextFigure
public Figure nextFigure()
- Returns the next element of the enumeration. Calls to this
method will enumerate successive elements.
- Throws: NoSuchElementException
- If no more elements exist.
All Packages Class Hierarchy This Package Previous Next Index