org.openbp.cockpit.modeler.util
Class ShadowEnumerator
java.lang.Object
org.openbp.cockpit.modeler.util.ShadowEnumerator
- All Implemented Interfaces:
- CH.ifa.draw.framework.FigureEnumeration, java.util.Enumeration
public class ShadowEnumerator
- extends java.lang.Object
- implements CH.ifa.draw.framework.FigureEnumeration
Enumerator for the shadow figures of a given figure and its sub figures.
This class has a private constructor. Use the static enumerate(CH.ifa.draw.framework.Figure) method.
- Author:
- Jens Ferchland
|
Method Summary |
static CH.ifa.draw.framework.FigureEnumeration |
enumerate(CH.ifa.draw.framework.Figure f)
Static method that enumerates the shadows of the given figure. |
boolean |
hasMoreElements()
|
java.lang.Object |
nextElement()
|
CH.ifa.draw.framework.Figure |
nextFigure()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enumerate
public static CH.ifa.draw.framework.FigureEnumeration enumerate(CH.ifa.draw.framework.Figure f)
- Static method that enumerates the shadows of the given figure.
- Parameters:
f - Base figure
- Returns:
- The shadow enumeration
nextElement
public java.lang.Object nextElement()
- Specified by:
nextElement in interface java.util.Enumeration
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface java.util.Enumeration
nextFigure
public CH.ifa.draw.framework.Figure nextFigure()
- Specified by:
nextFigure in interface CH.ifa.draw.framework.FigureEnumeration
Copyright © 2011. All Rights Reserved.