|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IComponentIterator
An iterator over a collection of UIComponents.
| Method Summary | |
|---|---|
int |
count()
Returns the number of components in this list. |
boolean |
hasNext()
Returns true if the iteration has more components. |
UIComponent |
nextComponent()
Returns the next component in the iteration. |
UIComponent[] |
toArray(UIComponent[] array)
Returns an array containing all of the components in this list in proper sequence; the runtime type of the returned array is that of the specified array. |
| Method Detail |
|---|
int count()
boolean hasNext()
UIComponent nextComponent()
hasNext() method returns false will return
each element in the underlying collection exactly once.
NoSuchElementException - iteration has no more component.UIComponent[] toArray(UIComponent[] array)
array - the array into which the components of this list are to be
stored, if it is big enough; otherwise, a new array of the
same runtime type is allocated for this purpose.
ArrayStoreException - if the runtime type of the specified array is not a supertype
of the runtime type of every component in this list.
NullPointerException - if the specified array is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||