|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.user.client.impl.ElementMapperImpl<T>
T - the type that the element is mapped topublic class ElementMapperImpl<T extends UIObject>
Creates a mapping from elements to their associated ui objects.
| Constructor Summary | |
|---|---|
ElementMapperImpl()
|
|
| Method Summary | |
|---|---|
T |
get(Element elem)
Returns the uiObject associated with the given element. |
java.util.ArrayList<T> |
getObjectList()
Gets the list of ui objects contained in this element mapper. |
java.util.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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ElementMapperImpl()
| Method Detail |
|---|
public T get(Element elem)
elem - uiObject's element
public java.util.ArrayList<T> getObjectList()
public java.util.Iterator<T> iterator()
public void put(T uiObject)
uiObject - uiObject to addpublic void removeByElement(Element elem)
elem - the uiObject's element
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||