|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FigureEnumeration
Interface for Enumerations that access Figures. It provides a method nextFigure, that hides the down casting from client code.
Method Summary | |
---|---|
boolean |
hasNextFigure()
|
Figure |
nextFigure()
Returns the next element of the enumeration. |
void |
reset()
Reset the enumeration so it can be reused again. |
Method Detail |
---|
Figure nextFigure()
java.util.NoSuchElementException
- If no more elements exist.boolean hasNextFigure()
void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |