org.eclipse.draw2d
Class Figure.FigureIterator
java.lang.Object
org.eclipse.draw2d.Figure.FigureIterator
-
Enclosing class:
-
Figure
- public static class Figure.FigureIterator
- extends java.lang.Object
Iterates over a Figure's children.
Method Summary
|
boolean
|
hasNext
()
Returns true if there's another Figure to iterate over. |
IFigure
|
nextFigure
()
Returns the next Figure. |
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
Figure.FigureIterator
public Figure.FigureIterator(
IFigure figure)
- Constructs a new FigureIterator for the given Figure.
-
Parameters:
-
figure
- The Figure whose children to iterate over
nextFigure
public
IFigure nextFigure()
- Returns the next Figure.
-
-
Returns:
- The next Figure
hasNext
public boolean hasNext()
- Returns
true
if there's another Figure to iterate over.
-
-
Returns:
-
true
if there's another Figure to iterate over
Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.