com.google.gwt.widgetideas.table.client.overrides
Class HTMLTable.WidgetMapper

java.lang.Object
  extended by com.google.gwt.widgetideas.table.client.overrides.HTMLTable.WidgetMapper
Enclosing class:
HTMLTable

protected static class HTMLTable.WidgetMapper
extends java.lang.Object

Creates a mapping from elements to their associated widgets.


Constructor Summary
protected HTMLTable.WidgetMapper()
           
 
Method Summary
 com.google.gwt.user.client.ui.Widget getWidget(com.google.gwt.user.client.Element elem)
          Returns the widget associated with the given element.
 void putWidget(com.google.gwt.user.client.ui.Widget widget)
          Adds the Widget.
 void removeWidgetByElement(com.google.gwt.user.client.Element elem)
          Remove the widget associated with the given element.
 java.util.Iterator widgetIterator()
          Creates an iterator of widgets.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLTable.WidgetMapper

protected HTMLTable.WidgetMapper()
Method Detail

getWidget

public com.google.gwt.user.client.ui.Widget getWidget(com.google.gwt.user.client.Element elem)
Returns the widget associated with the given element.

Parameters:
elem - widget's element
Returns:
the widget

putWidget

public void putWidget(com.google.gwt.user.client.ui.Widget widget)
Adds the Widget.

Parameters:
widget - widget to add

removeWidgetByElement

public void removeWidgetByElement(com.google.gwt.user.client.Element elem)
Remove the widget associated with the given element.

Parameters:
elem - the widget's element

widgetIterator

public java.util.Iterator widgetIterator()
Creates an iterator of widgets.

Returns:
the iterator