| Package | Description |
|---|---|
| com.alkacon.geranium.client.util |
| Modifier and Type | Method and Description |
|---|---|
static DomUtil.Tag |
DomUtil.Tag.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DomUtil.Tag[] |
DomUtil.Tag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
DomUtil.close(DomUtil.Tag tag)
Generates a closing tag.
|
static java.lang.String |
DomUtil.enclose(DomUtil.Tag tag,
java.lang.String text,
DomUtil.AttributeValue... attrs)
Encloses the given text with the given tag.
|
static com.google.gwt.dom.client.Element |
DomUtil.getAncestor(com.google.gwt.dom.client.Element element,
DomUtil.Tag tag)
Returns the given element or it's closest ancestor with the given tag name.
|
static com.google.gwt.dom.client.Element |
DomUtil.getAncestor(com.google.gwt.dom.client.Element element,
DomUtil.Tag tag,
java.lang.String className)
Returns the given element or it's closest ancestor with the given tag and class.
|
static java.util.List<com.google.gwt.dom.client.Element> |
DomUtil.getElementsByClass(java.lang.String className,
DomUtil.Tag tag)
Returns all elements from the DOM with the given CSS class and tag name.
|
static java.util.List<com.google.gwt.dom.client.Element> |
DomUtil.getElementsByClass(java.lang.String className,
DomUtil.Tag tag,
com.google.gwt.dom.client.Element rootElement)
Returns all elements with the given CSS class and tag name including the root element.
|
static java.lang.String |
DomUtil.open(DomUtil.Tag tag,
DomUtil.AttributeValue... attrs)
Generates an opening tag.
|