|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Element in org.xwiki.gwt.dom.client |
|---|
| Methods in org.xwiki.gwt.dom.client that return Element | |
|---|---|
static Element |
Element.as(com.google.gwt.dom.client.Node node)
Casts a Node to an instance of this type. |
Element |
Document.getDocumentElement()
|
Element |
Document.xCreateElement(java.lang.String tagName)
Creates a new element. We've added this method because at the time of writing Document doesn't offer
support for multi-window. |
| Methods in org.xwiki.gwt.dom.client with parameters of type Element | |
|---|---|
java.lang.String |
DOMUtils.getAttribute(Element element,
java.lang.String name)
Returns the value of the named attribute of the specified element. |
com.google.gwt.core.client.JsArrayString |
DOMUtils.getAttributeNames(Element element)
|
abstract java.lang.String |
DOMUtils.getComputedStyleProperty(Element el,
java.lang.String propertyName)
Returns the value of the specified CSS property for the given element as it is computed by the browser before it displays that element. |
java.lang.String |
DOMUtils.getInnerText(Element element)
We need our own implementation because the one provided by GWT includes commented text in the output. |
boolean |
DOMUtils.hasAttribute(Element element,
java.lang.String attrName)
|
boolean |
DOMUtils.hasAttributes(Element element)
|
void |
InnerHTMLListener.onInnerHTMLChange(Element element)
Called whenever the innerHTML property, of an element within the document this listener has been
registered to, changes. |
void |
DOMUtils.setAttribute(Element element,
java.lang.String name,
java.lang.String value)
Sets the value of the specified attribute for the given element. |
void |
DOMUtils.setInnerHTML(Element element,
java.lang.String html)
Helps setting the inner HTML for an element, in a cross-browser manner, because IE seems to trim leading comments in the inner HTML. |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||