Documentation of 'CH.ifa.draw.standard.FigureEnumerator' Java class
FigureEnumerator
CH.ifa.draw.standard

Class FigureEnumerator

  • All Implemented Interfaces:
    FigureEnumeration, java.util.Enumeration


    public final class FigureEnumerator
    extends java.lang.Object
    implements FigureEnumeration
    An Enumeration for a Vector of Figures.
    • Constructor Summary

      Constructors 
      Constructor and Description
      FigureEnumerator(java.util.Vector v) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean hasMoreElements()
      Returns true if the enumeration contains more elements; false if its empty.
      java.lang.Object nextElement()
      Returns the next element of the enumeration.
      Figure nextFigure()
      Returns the next element of the enumeration.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FigureEnumerator

        public FigureEnumerator(java.util.Vector v)
    • Method Detail

      • hasMoreElements

        public boolean hasMoreElements()
        Returns true if the enumeration contains more elements; false if its empty.
        Specified by:
        hasMoreElements in interface java.util.Enumeration
      • nextElement

        public java.lang.Object nextElement()
        Returns the next element of the enumeration. Calls to this method will enumerate successive elements.
        Specified by:
        nextElement in interface java.util.Enumeration
        Throws:
        java.util.NoSuchElementException - If no more elements exist.
      • nextFigure

        public Figure nextFigure()
        Returns the next element of the enumeration. Calls to this method will enumerate successive elements.
        Specified by:
        nextFigure in interface FigureEnumeration
        Throws:
        java.util.NoSuchElementException - If no more elements exist.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.