View Javadoc

1   /*
2    * $Id: IComponentsColumnIterator.java,v 1.2 2007/05/24 12:26:17 oeuillot Exp $
3    * 
4    */
5   package org.rcfaces.core.component.iterator;
6   
7   import java.util.NoSuchElementException;
8   
9   import org.rcfaces.core.component.ComponentsColumnComponent;
10  
11  /**
12   * An iterator over a collection of ComponentsColumnComponents.
13   * 
14   * @author Olivier Oeuillot (latest modification by $Author: oeuillot $)
15   * @version $Revision: 1.2 $ $Date: 2007/05/24 12:26:17 $
16   */
17  public interface IComponentsColumnIterator extends IComponentIterator {
18  
19      /**
20       * Returns the next ComponentsColumnComponent in the iteration. Calling this
21       * method repeatedly until the {@link #hasNext()} method returns false will
22       * return each ComponentsColumnComponent in the underlying collection
23       * exactly once.
24       * 
25       * @return the next ComponentsColumnComponent in the iteration.
26       * @exception NoSuchElementException
27       *                iteration has no more ComponentsColumnComponents.
28       */
29      ComponentsColumnComponent next();
30  
31      /**
32       * Returns an array containing all of the ComponentsColumnComponents in this
33       * list in proper sequence.
34       * 
35       * @return an array containing all of the ComponentsColumnComponents in this
36       *         list in proper sequence.
37       */
38      ComponentsColumnComponent[] toArray();
39  }