com.google.gwt.widgetideas.client.overrides
Class WidgetIterators

java.lang.Object
  extended by com.google.gwt.widgetideas.client.overrides.WidgetIterators

public class WidgetIterators
extends java.lang.Object

Copied from 1.5. Will be depreciated once WidgetIterators is made public. A collection of convenience factories for creating iterators for widgets. This mostly helps developers support HasWidgets without having to implement their own Iterator.


Method Summary
static java.util.Iterator<com.google.gwt.user.client.ui.Widget> createWidgetIterator(com.google.gwt.user.client.ui.HasWidgets container, com.google.gwt.user.client.ui.Widget[] contained)
          Wraps an array of widgets to be returned during iteration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createWidgetIterator

public static final java.util.Iterator<com.google.gwt.user.client.ui.Widget> createWidgetIterator(com.google.gwt.user.client.ui.HasWidgets container,
                                                                                                  com.google.gwt.user.client.ui.Widget[] contained)
Wraps an array of widgets to be returned during iteration. null is allowed in the array and will be skipped during iteration.

Parameters:
container - the container of the widgets in contained
contained - the array of widgets
Returns:
the iterator