|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--objectdraw.DrawableIterator
DrawableIterator takes a Vector of Drawable's and creates an iterator over it. It is used in CanvasManager to return the contents of the Vector of objects without making the Vector available for alteration.
Constructor Summary | |
DrawableIterator(java.util.Vector v)
Constructs a new DrawableIterator |
Method Summary | |
boolean |
hasNext()
Tells whether the iterator has any more elements to return |
Drawable |
next()
Gives the next Drawable in the Vector |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DrawableIterator(java.util.Vector v)
v
- the vector of DrawablesMethod Detail |
public boolean hasNext()
public Drawable next()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |