Top Fields Constructors Methods
com.sun.webkit.dom

public Class ElementImpl

extends NodeImpl
implements Element
Class Inheritance
All Implemented Interfaces
org.w3c.dom.Element, org.w3c.dom.Node
Known Direct Subclasses
com.sun.webkit.dom.HTMLElementImpl
Imports
org.w3c.dom.Attr, .DOMException, .Element, .NamedNodeMap, .NodeList, .TypeInfo, org.w3c.dom.css.CSSStyleDeclaration, org.w3c.dom.events.EventListener, org.w3c.dom.html.HTMLCollection

Field Summary

Modifier and TypeField and Description
public static final int
Inherited from com.sun.webkit.dom.NodeImpl:
ATTRIBUTE_NODECDATA_SECTION_NODECOMMENT_NODEDOCUMENT_FRAGMENT_NODEDOCUMENT_NODEDOCUMENT_POSITION_CONTAINED_BYDOCUMENT_POSITION_CONTAINSDOCUMENT_POSITION_DISCONNECTEDDOCUMENT_POSITION_FOLLOWINGDOCUMENT_POSITION_IMPLEMENTATION_SPECIFICDOCUMENT_POSITION_PRECEDINGDOCUMENT_TYPE_NODEELEMENT_NODEENTITY_NODEENTITY_REFERENCE_NODENOTATION_NODEPROCESSING_INSTRUCTION_NODETEXT_NODE

Constructor Summary

AccessConstructor and Description
pack-priv
ElementImpl(long peer)

Method Summary

Modifier and TypeMethod and Description
public void
blur()

pack-priv static native void
blurImpl(long peer)

public Element
closest(String selectors)

pack-priv static native long
closestImpl(long peer, String selectors)

public void
pack-priv static native void
focusImpl(long peer)

public String
getAttribute(String
The name of the attribute to retrieve.
name
)

Implements org.w3c.dom.Element.getAttribute.

Retrieves an attribute value by name.

pack-priv static native String
getAttributeImpl(long peer, String name)

public Attr
getAttributeNode(String
The name (nodeName) of the attribute to retrieve.
name
)

Implements org.w3c.dom.Element.getAttributeNode.

Retrieves an attribute node by name.

pack-priv static native long
getAttributeNodeImpl(long peer, String name)

public Attr
getAttributeNodeNS(String
The namespace URI of the attribute to retrieve.
namespaceURI
,
String
The local name of the attribute to retrieve.
localName
)

Implements org.w3c.dom.Element.getAttributeNodeNS.

Retrieves an Attr node by local name and namespace URI.

pack-priv static native long
getAttributeNodeNSImpl(long peer, String namespaceURI, String localName)

public String
getAttributeNS(String
The namespace URI of the attribute to retrieve.
namespaceURI
,
String
The local name of the attribute to retrieve.
localName
)

Implements org.w3c.dom.Element.getAttributeNS.

Retrieves an attribute value by local name and namespace URI.

pack-priv static native String
getAttributeNSImpl(long peer, String namespaceURI, String localName)

public NamedNodeMap
getAttributes()

Overrides com.sun.webkit.dom.NodeImpl.getAttributes.

Implements org.w3c.dom.Node.getAttributes.

A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise.

pack-priv static native long
public int
pack-priv static native int
public HTMLCollection
pack-priv static native long
getChildrenImpl(long peer)

public String
pack-priv static native String
getClassNameImpl(long peer)

public double
pack-priv static native double
public double
pack-priv static native double
getClientLeftImpl(long peer)

public double
pack-priv static native double
getClientTopImpl(long peer)

public double
pack-priv static native double
getClientWidthImpl(long peer)

public HTMLCollection
pack-priv static native long
public NodeList
getElementsByTagName(String
The name of the tag to match on. The special value "*" matches all tags.
name
)

Implements org.w3c.dom.Element.getElementsByTagName.

Returns a NodeList of all descendant Elements with a given tag name, in document order.

pack-priv static native long
public NodeList
getElementsByTagNameNS(String
The namespace URI of the elements to match on. The special value "*" matches all namespaces.
namespaceURI
,
String
The local name of the elements to match on. The special value "*" matches all local names.
localName
)

Implements org.w3c.dom.Element.getElementsByTagNameNS.

Returns a NodeList of all the descendant Elements with a given local name and namespace URI in document order.

pack-priv static native long
getElementsByTagNameNSImpl(long peer, String namespaceURI, String localName)

public Element
pack-priv static native long
public String
pack-priv static native String
getIdImpl(long peer)

pack-priv static Element
public String
pack-priv static native String
getInnerHTMLImpl(long peer)

public Element
pack-priv static native long
public Element
pack-priv static native long
public double
pack-priv static native double
public double
pack-priv static native double
getOffsetLeftImpl(long peer)

public Element
pack-priv static native long
public double
pack-priv static native double
getOffsetTopImpl(long peer)

public double
pack-priv static native double
getOffsetWidthImpl(long peer)

public EventListener
pack-priv static native long
getOnabortImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnbeforecutImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnblurImpl(long peer)

public EventListener
pack-priv static native long
getOncanplayImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnchangeImpl(long peer)

public EventListener
pack-priv static native long
getOnclickImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOncopyImpl(long peer)

public EventListener
pack-priv static native long
getOncutImpl(long peer)

public EventListener
pack-priv static native long
getOndblclickImpl(long peer)

public EventListener
public EventListener
pack-priv static native long
getOndragendImpl(long peer)

public EventListener
pack-priv static native long
getOndragenterImpl(long peer)

pack-priv static native long
getOndragImpl(long peer)

public EventListener
pack-priv static native long
getOndragleaveImpl(long peer)

public EventListener
pack-priv static native long
getOndragoverImpl(long peer)

public EventListener
pack-priv static native long
getOndragstartImpl(long peer)

public EventListener
pack-priv static native long
getOndropImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnemptiedImpl(long peer)

public EventListener
pack-priv static native long
getOnendedImpl(long peer)

public EventListener
pack-priv static native long
getOnerrorImpl(long peer)

public EventListener
pack-priv static native long
getOnfocusImpl(long peer)

public EventListener
pack-priv static native long
getOnfocusinImpl(long peer)

public EventListener
pack-priv static native long
getOnfocusoutImpl(long peer)

public EventListener
pack-priv static native long
getOninputImpl(long peer)

public EventListener
pack-priv static native long
getOninvalidImpl(long peer)

public EventListener
pack-priv static native long
getOnkeydownImpl(long peer)

public EventListener
pack-priv static native long
getOnkeypressImpl(long peer)

public EventListener
pack-priv static native long
getOnkeyupImpl(long peer)

public EventListener
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
pack-priv static native long
getOnloadImpl(long peer)

public EventListener
pack-priv static native long
getOnloadstartImpl(long peer)

public EventListener
pack-priv static native long
getOnmousedownImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnmousemoveImpl(long peer)

public EventListener
pack-priv static native long
getOnmouseoutImpl(long peer)

public EventListener
pack-priv static native long
getOnmouseoverImpl(long peer)

public EventListener
pack-priv static native long
getOnmouseupImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnpasteImpl(long peer)

public EventListener
pack-priv static native long
getOnpauseImpl(long peer)

public EventListener
pack-priv static native long
getOnplayImpl(long peer)

public EventListener
pack-priv static native long
getOnplayingImpl(long peer)

public EventListener
pack-priv static native long
getOnprogressImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnresetImpl(long peer)

public EventListener
pack-priv static native long
getOnresizeImpl(long peer)

public EventListener
pack-priv static native long
getOnscrollImpl(long peer)

public EventListener
pack-priv static native long
getOnsearchImpl(long peer)

public EventListener
pack-priv static native long
getOnseekedImpl(long peer)

public EventListener
pack-priv static native long
getOnseekingImpl(long peer)

public EventListener
pack-priv static native long
getOnselectImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnstalledImpl(long peer)

public EventListener
pack-priv static native long
getOnsubmitImpl(long peer)

public EventListener
pack-priv static native long
getOnsuspendImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnwaitingImpl(long peer)

public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
public EventListener
pack-priv static native long
getOnwheelImpl(long peer)

public String
pack-priv static native String
getOuterHTMLImpl(long peer)

public Element
pack-priv static native long
public TypeInfo
getSchemaTypeInfo()

Implements org.w3c.dom.Element.getSchemaTypeInfo.

The type information associated with this element.

public int
pack-priv static native int
public int
pack-priv static native int
getScrollLeftImpl(long peer)

public int
pack-priv static native int
getScrollTopImpl(long peer)

public int
pack-priv static native int
getScrollWidthImpl(long peer)

public CSSStyleDeclaration
pack-priv static native long
getStyleImpl(long peer)

public String
getTagName()

Implements org.w3c.dom.Element.getTagName.

The name of the element.

pack-priv static native String
getTagNameImpl(long peer)

public boolean
hasAttribute(String
The name of the attribute to look for.
name
)

Implements org.w3c.dom.Element.hasAttribute.

Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise.

pack-priv static native boolean
hasAttributeImpl(long peer, String name)

public boolean
hasAttributeNS(String
The namespace URI of the attribute to look for.
namespaceURI
,
String
The local name of the attribute to look for.
localName
)

Implements org.w3c.dom.Element.hasAttributeNS.

Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise.

pack-priv static native boolean
hasAttributeNSImpl(long peer, String namespaceURI, String localName)

public boolean
hasAttributes()

Overrides com.sun.webkit.dom.NodeImpl.hasAttributes.

Implements org.w3c.dom.Node.hasAttributes.

Returns whether this node (if it is an element) has any attributes.

pack-priv static native boolean
pack-priv static native boolean
isHTMLElementImpl(long peer)

public boolean
matches(String selectors)

pack-priv static native boolean
matchesImpl(long peer, String selectors)

public Element
querySelector(String selectors)

public NodeList
pack-priv static native long
querySelectorAllImpl(long peer, String selectors)

pack-priv static native long
querySelectorImpl(long peer, String selectors)

public void
public void
removeAttribute(String
The name of the attribute to remove.
name
)

Implements org.w3c.dom.Element.removeAttribute.

Removes an attribute by name.

pack-priv static native void
removeAttributeImpl(long peer, String name)

public Attr
removeAttributeNode(Attr
The Attr node to remove from the attribute list.
oldAttr
)

Implements org.w3c.dom.Element.removeAttributeNode.

Removes the specified attribute node.

pack-priv static native long
removeAttributeNodeImpl(long peer, long oldAttr)

public void
removeAttributeNS(String
The namespace URI of the attribute to remove.
namespaceURI
,
String
The local name of the attribute to remove.
localName
)

Implements org.w3c.dom.Element.removeAttributeNS.

Removes an attribute by local name and namespace URI.

pack-priv static native void
removeAttributeNSImpl(long peer, String namespaceURI, String localName)

pack-priv static native void
removeImpl(long peer)

public void
scrollByLines(int lines)

pack-priv static native void
scrollByLinesImpl(long peer, int lines)

public void
scrollByPages(int pages)

pack-priv static native void
scrollByPagesImpl(long peer, int pages)

public void
scrollIntoView(boolean alignWithTop)

public void
scrollIntoViewIfNeeded(boolean centerIfNeeded)

pack-priv static native void
scrollIntoViewIfNeededImpl(long peer, boolean centerIfNeeded)

pack-priv static native void
scrollIntoViewImpl(long peer, boolean alignWithTop)

public void
setAttribute(String
The name of the attribute to create or alter.
name
,
String
Value to set in string form.
value
)

Implements org.w3c.dom.Element.setAttribute.

Adds a new attribute.

pack-priv static native void
setAttributeImpl(long peer, String name, String value)

public Attr
setAttributeNode(Attr
The Attr node to add to the attribute list.
newAttr
)

Implements org.w3c.dom.Element.setAttributeNode.

Adds a new attribute node.

pack-priv static native long
setAttributeNodeImpl(long peer, long newAttr)

public Attr
setAttributeNodeNS(Attr
The Attr node to add to the attribute list.
newAttr
)

Implements org.w3c.dom.Element.setAttributeNodeNS.

Adds a new attribute.

pack-priv static native long
setAttributeNodeNSImpl(long peer, long newAttr)

public void
setAttributeNS(String
The namespace URI of the attribute to create or alter.
namespaceURI
,
String
The qualified name of the attribute to create or alter.
qualifiedName
,
String
The value to set in string form.
value
)

Implements org.w3c.dom.Element.setAttributeNS.

Adds a new attribute.

pack-priv static native void
setAttributeNSImpl(long peer, String namespaceURI, String qualifiedName, String value)

public void
pack-priv static native void
setClassNameImpl(long peer, String value)

public void
setId(String value)

public void
setIdAttribute(String
The name of the attribute.
name
,
boolean
Whether the attribute is a of type ID.
isId
)

Implements org.w3c.dom.Element.setIdAttribute.

If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .

public void
setIdAttributeNode(Attr
The attribute node.
idAttr
,
boolean
Whether the attribute is a of type ID.
isId
)

Implements org.w3c.dom.Element.setIdAttributeNode.

If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .

public void
setIdAttributeNS(String
The namespace URI of the attribute.
namespaceURI
,
String
The local name of the attribute.
localName
,
boolean
Whether the attribute is a of type ID.
isId
)

Implements org.w3c.dom.Element.setIdAttributeNS.

If the parameter isId is true, this method declares the specified attribute to be a user-determined ID attribute .

pack-priv static native void
setIdImpl(long peer, String value)

public void
pack-priv static native void
setInnerHTMLImpl(long peer, String value)

public void
pack-priv static native void
setOnabortImpl(long peer, long value)

public void
pack-priv static native void
setOnanimationendImpl(long peer, long value)

public void
pack-priv static native void
setOnanimationiterationImpl(long peer, long value)

public void
pack-priv static native void
setOnanimationstartImpl(long peer, long value)

public void
pack-priv static native void
setOnbeforecopyImpl(long peer, long value)

public void
pack-priv static native void
setOnbeforecutImpl(long peer, long value)

public void
pack-priv static native void
setOnbeforeloadImpl(long peer, long value)

public void
pack-priv static native void
setOnbeforepasteImpl(long peer, long value)

public void
pack-priv static native void
setOnblurImpl(long peer, long value)

public void
pack-priv static native void
setOncanplayImpl(long peer, long value)

public void
pack-priv static native void
setOncanplaythroughImpl(long peer, long value)

public void
pack-priv static native void
setOnchangeImpl(long peer, long value)

public void
pack-priv static native void
setOnclickImpl(long peer, long value)

public void
pack-priv static native void
setOncontextmenuImpl(long peer, long value)

public void
pack-priv static native void
setOncopyImpl(long peer, long value)

public void
pack-priv static native void
setOncutImpl(long peer, long value)

public void
pack-priv static native void
setOndblclickImpl(long peer, long value)

public void
public void
pack-priv static native void
setOndragendImpl(long peer, long value)

public void
pack-priv static native void
setOndragenterImpl(long peer, long value)

pack-priv static native void
setOndragImpl(long peer, long value)

public void
pack-priv static native void
setOndragleaveImpl(long peer, long value)

public void
pack-priv static native void
setOndragoverImpl(long peer, long value)

public void
pack-priv static native void
setOndragstartImpl(long peer, long value)

public void
pack-priv static native void
setOndropImpl(long peer, long value)

public void
pack-priv static native void
setOndurationchangeImpl(long peer, long value)

public void
pack-priv static native void
setOnemptiedImpl(long peer, long value)

public void
pack-priv static native void
setOnendedImpl(long peer, long value)

public void
pack-priv static native void
setOnerrorImpl(long peer, long value)

public void
pack-priv static native void
setOnfocusImpl(long peer, long value)

public void
pack-priv static native void
setOnfocusinImpl(long peer, long value)

public void
pack-priv static native void
setOnfocusoutImpl(long peer, long value)

public void
pack-priv static native void
setOninputImpl(long peer, long value)

public void
pack-priv static native void
setOninvalidImpl(long peer, long value)

public void
pack-priv static native void
setOnkeydownImpl(long peer, long value)

public void
pack-priv static native void
setOnkeypressImpl(long peer, long value)

public void
pack-priv static native void
setOnkeyupImpl(long peer, long value)

public void
public void
pack-priv static native void
setOnloadeddataImpl(long peer, long value)

public void
pack-priv static native void
setOnloadedmetadataImpl(long peer, long value)

pack-priv static native void
setOnloadImpl(long peer, long value)

public void
pack-priv static native void
setOnloadstartImpl(long peer, long value)

public void
pack-priv static native void
setOnmousedownImpl(long peer, long value)

public void
pack-priv static native void
setOnmouseenterImpl(long peer, long value)

public void
pack-priv static native void
setOnmouseleaveImpl(long peer, long value)

public void
pack-priv static native void
setOnmousemoveImpl(long peer, long value)

public void
pack-priv static native void
setOnmouseoutImpl(long peer, long value)

public void
pack-priv static native void
setOnmouseoverImpl(long peer, long value)

public void
pack-priv static native void
setOnmouseupImpl(long peer, long value)

public void
pack-priv static native void
setOnmousewheelImpl(long peer, long value)

public void
pack-priv static native void
setOnpasteImpl(long peer, long value)

public void
pack-priv static native void
setOnpauseImpl(long peer, long value)

public void
pack-priv static native void
setOnplayImpl(long peer, long value)

public void
pack-priv static native void
setOnplayingImpl(long peer, long value)

public void
pack-priv static native void
setOnprogressImpl(long peer, long value)

public void
pack-priv static native void
setOnratechangeImpl(long peer, long value)

public void
pack-priv static native void
setOnresetImpl(long peer, long value)

public void
pack-priv static native void
setOnresizeImpl(long peer, long value)

public void
pack-priv static native void
setOnscrollImpl(long peer, long value)

public void
pack-priv static native void
setOnsearchImpl(long peer, long value)

public void
pack-priv static native void
setOnseekedImpl(long peer, long value)

public void
pack-priv static native void
setOnseekingImpl(long peer, long value)

public void
pack-priv static native void
setOnselectImpl(long peer, long value)

public void
pack-priv static native void
setOnselectstartImpl(long peer, long value)

public void
pack-priv static native void
setOnstalledImpl(long peer, long value)

public void
pack-priv static native void
setOnsubmitImpl(long peer, long value)

public void
pack-priv static native void
setOnsuspendImpl(long peer, long value)

public void
pack-priv static native void
setOntimeupdateImpl(long peer, long value)

public void
pack-priv static native void
setOntransitionendImpl(long peer, long value)

public void
pack-priv static native void
setOnvolumechangeImpl(long peer, long value)

public void
pack-priv static native void
setOnwaitingImpl(long peer, long value)

public void
pack-priv static native void
setOnwebkitanimationendImpl(long peer, long value)

public void
pack-priv static native void
setOnwebkitanimationiterationImpl(long peer, long value)

public void
pack-priv static native void
setOnwebkitanimationstartImpl(long peer, long value)

public void
pack-priv static native void
setOnwebkittransitionendImpl(long peer, long value)

public void
pack-priv static native void
setOnwheelImpl(long peer, long value)

public void
pack-priv static native void
setOuterHTMLImpl(long peer, String value)

public void
setScrollLeft(int value)

pack-priv static native void
setScrollLeftImpl(long peer, int value)

public void
setScrollTop(int value)

pack-priv static native void
setScrollTopImpl(long peer, int value)

public boolean
pack-priv static native boolean
webkitMatchesSelectorImpl(long peer, String selectors)

public void
public void
pack-priv static native void
webkitRequestFullScreenImpl(long peer, short flags)

pack-priv static native void
Inherited from com.sun.webkit.dom.NodeImpl:
addEventListeneraddEventListenerImplappendChildappendChildImplcloneNodecloneNodeImplcompareDocumentPositioncompareDocumentPositionImplcontainscontainsImplcreatecreateInterfacedispatchEventdispatchEventImplgetBaseURIgetBaseURIImplgetChildNodesgetChildNodesImplgetFeaturegetFirstChildgetFirstChildImplgetLastChildgetLastChildImplgetLocalNamegetLocalNameImplgetNamespaceURIgetNamespaceURIImplgetNextSiblinggetNextSiblingImplgetNodeNamegetNodeNameImplgetNodeTypegetNodeTypeImplgetNodeValuegetNodeValueImplgetOwnerDocumentgetOwnerDocumentImplgetParentElementgetParentElementImplgetParentNodegetParentNodeImplgetPeergetPrefixgetPrefixImplgetPreviousSiblinggetPreviousSiblingImplgetTextContentgetTextContentImplgetUserDatahasChildNodeshasChildNodesImplinsertBeforeinsertBeforeImplisDefaultNamespaceisDefaultNamespaceImplisEqualNodeisEqualNodeImplisSameNodeisSameNodeImplisSupportedisSupportedImpllookupNamespaceURIlookupNamespaceURIImpllookupPrefixlookupPrefixImplnormalizenormalizeImplremoveChildremoveChildImplremoveEventListenerremoveEventListenerImplreplaceChildreplaceChildImplsetNodeValuesetNodeValueImplsetPrefixsetPrefixImplsetTextContentsetTextContentImplsetUserDatatest_getHashCount