org.openbp.cockpit.modeler.util
Class EmptyFigureEnumerator

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

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

Empty figure enumerator. This class is a singleton.

Author:
Heiko Erhardt

Method Summary
static EmptyFigureEnumerator getInstance()
          Gets the singleton instance of this class.
 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
 

Method Detail

getInstance

public static EmptyFigureEnumerator getInstance()
Gets the singleton instance of this class.


hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Specified by:
nextElement 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.