|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Element | |
|---|---|
| org.xwiki.gwt.dom.client | |
| org.xwiki.gwt.dom.client.internal.ie | |
| org.xwiki.gwt.dom.client.internal.mozilla | |
| 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 | |
|---|---|
void |
DOMUtils.ensureBlockIsEditable(Element block)
Ensures the given block-level element can be edited in design mode. |
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. |
| Uses of Element in org.xwiki.gwt.dom.client.internal.ie |
|---|
| Methods in org.xwiki.gwt.dom.client.internal.ie that return Element | |
|---|---|
protected Element |
IESelection.createBoundaryMarker()
|
Element |
ControlRange.get(int index)
|
Element |
TextRange.getParentElement()
The parent element is the element that completely encloses the text in the range. |
| Methods in org.xwiki.gwt.dom.client.internal.ie with parameters of type Element | |
|---|---|
void |
ControlRange.add(Element element)
Adds an element to the control range. |
void |
IEDOMUtils.ensureBlockIsEditable(Element block)
Ensures the given block-level element can be edited in design mode. |
java.lang.String |
IEDOMUtils.getAttribute(Element element,
java.lang.String name)
Returns the value of the named attribute of the specified element. |
com.google.gwt.core.client.JsArrayString |
IEDOMUtils.getAttributeNames(Element element)
|
java.lang.String |
IEDOMUtils.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 |
IEDOMUtils.getInnerText(Element element)
We need our own implementation because the one provided by GWT includes commented text in the output. |
protected int |
IESelection.getLeft(Element element)
NOTE: For a strong element that starts in the middle of a line and spans multiple lines this method
returns the distance in pixels from its first character (provided it starts with text) to the left boundary of
the parent window. |
protected int |
IESelection.getTop(Element element)
|
boolean |
IEDOMUtils.hasAttribute(Element element,
java.lang.String attrName)
|
boolean |
IEDOMUtils.hasAttributes(Element element)
|
protected void |
IESelection.moveTextRangeBeforeElement(TextRange textRange,
Element element)
Moves the given text range before the specified element. |
void |
TextRange.moveToElementText(Element element)
Moves the text range so that the start and end positions of the range encompass the text in the given element. |
void |
IEDOMUtils.setAttribute(Element element,
java.lang.String name,
java.lang.String value)
Sets the value of the specified attribute for the given element. |
void |
IEDOMUtils.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. |
| Uses of Element in org.xwiki.gwt.dom.client.internal.mozilla |
|---|
| Methods in org.xwiki.gwt.dom.client.internal.mozilla with parameters of type Element | |
|---|---|
void |
MozillaDOMUtils.ensureBlockIsEditable(Element block)
Ensures the given block-level element can be edited in design mode. |
java.lang.String |
MozillaDOMUtils.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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||