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