public class

ElementMapperImpl

extends Object
java.lang.Object
   ↳ com.google.gwt.user.client.impl.ElementMapperImpl<T extends com.google.gwt.user.client.ui.UIObject>

Class Overview

Creates a mapping from elements to their associated ui objects.

Summary

Public Constructors
ElementMapperImpl()
Public Methods
T get(Element elem)
Returns the uiObject associated with the given element.
ArrayList<T> getObjectList()
Gets the list of ui objects contained in this element mapper.
Iterator<T> iterator()
Creates an iterator from the ui objects stored within.
void put(T uiObject)
Adds the MappedType.
void removeByElement(Element elem)
Remove the uiObject associated with the given element.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ElementMapperImpl ()

Public Methods

public T get (Element elem)

Returns the uiObject associated with the given element.

Parameters
elem uiObject's element
Returns
  • the uiObject

public ArrayList<T> getObjectList ()

Gets the list of ui objects contained in this element mapper.

Returns
  • the list of ui objects

public Iterator<T> iterator ()

Creates an iterator from the ui objects stored within.

Returns
  • an iterator of the ui objects indexed by this element mapper.

public void put (T uiObject)

Adds the MappedType.

Parameters
uiObject uiObject to add

public void removeByElement (Element elem)

Remove the uiObject associated with the given element.

Parameters
elem the uiObject's element