public class ExistingElementMap extends Object
| Constructor and Description |
|---|
ExistingElementMap() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int id,
elemental.dom.Element element)
Adds the
id and the element to the mapping. |
elemental.dom.Element |
getElement(int id)
Gets the element stored via the
add(int, Element) method by the
given id. |
Integer |
getId(elemental.dom.Element element)
Gets the id stored via the
add(int, Element) method by the given
element. |
void |
remove(int id)
Remove the identifier and the associated element from the mapping.
|
public elemental.dom.Element getElement(int id)
add(int, Element) method by the
given id.id - identifier associated with an elementid or null if it doesn't
existpublic Integer getId(elemental.dom.Element element)
add(int, Element) method by the given
element.element - element associated with an identifierelement or null if it
doesn't existpublic void remove(int id)
id - identifier to removepublic void add(int id,
elemental.dom.Element element)
id and the element to the mapping.id - identifier of the server side nodeelement - element associated with the identifierCopyright © 2000–2021 Vaadin Ltd. All rights reserved.