org.openbp.cockpit.modeler.util
Class SingleFigureEnumerator

java.lang.Object
  extended by org.openbp.cockpit.modeler.util.SingleFigureEnumerator
All Implemented Interfaces:
CH.ifa.draw.framework.FigureEnumeration, java.util.Enumeration

public class SingleFigureEnumerator
extends java.lang.Object
implements CH.ifa.draw.framework.FigureEnumeration

Enumerator for a single figure.

Author:
Jens Ferchland

Constructor Summary
SingleFigureEnumerator(CH.ifa.draw.framework.Figure figure)
          Constructor.
 
Method Summary
 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
 

Constructor Detail

SingleFigureEnumerator

public SingleFigureEnumerator(CH.ifa.draw.framework.Figure figure)
Constructor.

Parameters:
figure - Figure to enumerate
Method Detail

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.