com.jniwrapper.win32.ie.dom
Class TableCellImpl

java.lang.Object
  extended by com.jniwrapper.win32.ie.dom.TableCellImpl
All Implemented Interfaces:
HTMLNode, TableCell, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.Node

public class TableCellImpl
extends java.lang.Object
implements TableCell

An implementation of TableCell interface that represents HTML table cell element.


Field Summary
static int ATTR_MATCH_CASE
           
static int ATTR_NO_CASE
           
protected  com.jniwrapper.win32.automation.IDispatch dispatch
           
 
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
TableCellImpl(com.jniwrapper.win32.automation.IDispatch node, WebBrowser ownerBrowser)
           
 
Method Summary
 void addEventListener(java.lang.String type, org.w3c.dom.events.EventListener listener, boolean useCapture)
           
 org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
           
protected  void attachEvent(java.lang.String type, com.jniwrapper.win32.automation.IDispatch listenerDispatch)
           
 void click()
          Emulates click on the element.
 org.w3c.dom.Node cloneNode(boolean deep)
           
 short compareDocumentPosition(org.w3c.dom.Node other)
           
protected  com.jniwrapper.win32.mshtml.IHTMLEventObj createEventObject()
           
protected  void detachEvent(java.lang.String type, com.jniwrapper.win32.automation.IDispatch listenerDispatch)
           
 boolean dispatchEvent(org.w3c.dom.events.Event evt)
           
 boolean equals(java.lang.Object obj)
           
protected  boolean equalsImpl(com.jniwrapper.win32.ie.dom.DomImpl impl)
          Compares two java wrapper instances.
protected  boolean fireEvent(org.w3c.dom.events.Event evt, com.jniwrapper.win32.automation.types.Variant eventWrapper)
           
 void fireEvent(java.lang.String eventName)
          Fires event on the element.
 void fireEvent(java.lang.String eventName, EventObjectFactory factory)
          Fires event on the element.
 void focus()
          Sets focus to the element.
 java.awt.Point getAbsoluteLocation()
          Returns element absolute location.
 java.lang.String getAttribute(java.lang.String name)
           
 org.w3c.dom.Attr getAttributeNode(java.lang.String name)
           
 org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 java.lang.String getAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 org.w3c.dom.NamedNodeMap getAttributes()
           
 java.awt.Color getBackground()
          Returns element background color.
 java.lang.String getBaseURI()
           
 ElementBorder getBorder()
          Returns element border.
protected  WebBrowser getBrowser()
           
 org.w3c.dom.NodeList getChildNodes()
           
 java.lang.String getClassName()
          Sets the class attribute of the element.
 java.lang.String getDir()
          Specifies the base direction of directionally neutral text and the directionality of tables.
protected  DomFactory getDomFactory()
           
 java.lang.String getElementClass()
          Returns element class specified in class attribute (like <a class='menuLink'>Home</a>)
 java.lang.Object getElementPeer()
          Returns DOM element native peer.
 org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
           
 org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI, java.lang.String localName)
           
 java.awt.Dimension getElementSize()
          Returns element size.
 java.lang.Object getFeature(java.lang.String feature, java.lang.String version)
           
 org.w3c.dom.Node getFirstChild()
           
 java.lang.String getHeight()
          Returns the element height
 java.lang.String getHTML()
          Returns HTML between tags of the element.
 java.lang.String getId()
          Returns the element's identifier.
protected  java.lang.String getIDWithinDocument()
           
 java.lang.String getInnerHTML()
           
 java.lang.String getLang()
          Returns Language code defined in RFC 1766.
 org.w3c.dom.Node getLastChild()
           
 java.lang.String getLocalName()
           
 java.awt.Point getLocation()
          Returns element location relative to the offset parent element.
 java.lang.String getNamespaceURI()
           
 org.w3c.dom.Node getNextSibling()
           
protected  com.jniwrapper.win32.mshtml.IHTMLDOMNode getNode()
           
 java.lang.String getNodeName()
           
 java.lang.Object getNodePeer()
          Returns DOM node native peer.
 short getNodeType()
           
 java.lang.String getNodeValue()
           
 java.lang.Object getObjectID()
          Return unique ID that identifies the object.
 HTMLElement getOffsetParent()
          Returns element used as origin of coordinates for element location.
 org.w3c.dom.Document getOwnerDocument()
           
protected  com.jniwrapper.win32.automation.IDispatch getOwnerDocumentPeer()
           
 org.w3c.dom.Node getParentNode()
           
 java.lang.String getPrefix()
           
 org.w3c.dom.Node getPreviousSibling()
           
 org.w3c.dom.TypeInfo getSchemaTypeInfo()
           
protected  int getScrollHeight()
           
protected  int getScrollLeft()
           
protected  int getScrollTop()
           
protected  int getScrollWidth()
           
 com.jniwrapper.win32.mshtml.IHTMLStyle getStyle()
           
 java.lang.String getStyle(java.lang.String styleName)
          Returns element style.
 java.lang.String getTagName()
           
 java.lang.String getText()
          Returns text between tags of the element.
 java.lang.String getTextContent()
           
 java.lang.String getTitle()
          Returns the element's advisory title.
 java.lang.Object getUserData(java.lang.String key)
           
 java.lang.String getWidth()
          Returns the element width
 boolean hasAttribute(java.lang.String name)
           
 boolean hasAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 boolean hasAttributes()
           
 boolean hasChildNodes()
           
 int hashCode()
           
protected  void init(com.jniwrapper.win32.automation.IDispatch dispatch)
          Inits members of the object.
 org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild, org.w3c.dom.Node refChild)
           
protected  void invokeInOleMessageLoop(java.lang.Runnable runnable)
           
 boolean isDefaultNamespace(java.lang.String namespaceURI)
           
 boolean isEqualNode(org.w3c.dom.Node other)
           
protected  boolean isSameClass(java.lang.Object other)
           
 boolean isSameNode(org.w3c.dom.Node other)
           
 boolean isSupported(java.lang.String feature, java.lang.String version)
           
 java.lang.String lookupNamespaceURI(java.lang.String prefix)
           
 java.lang.String lookupPrefix(java.lang.String namespaceURI)
           
 void mouseOver()
          Fires mouse over event on the element.
 void normalize()
           
protected  void releaseNative(com.jniwrapper.win32.automation.types.BStr bStr)
           
 void removeAttribute(java.lang.String name)
           
 org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr oldAttr)
           
 void removeAttributeNS(java.lang.String namespaceURI, java.lang.String localName)
           
 org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
           
 void removeEventListener(java.lang.String type, org.w3c.dom.events.EventListener listener, boolean useCapture)
           
 org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild, org.w3c.dom.Node oldChild)
           
 void setAttribute(java.lang.String name, java.lang.String value)
           
 void setAttribute(java.lang.String name, java.lang.String value, boolean caseSensitive)
          This method is specially designed to set an element attribute and specify whether its name is case sensitive or not.
 org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr)
           
 org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr newAttr)
           
 void setAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName, java.lang.String value)
           
 void setBackground(java.awt.Color color)
          Sets element background color.
 void setBorder(java.awt.Color color)
          Sets element border.
 void setBorder(ElementBorder border)
          Sets element border.
 void setClassName(java.lang.String className)
          Returns the class attribute of the element.
 void setDir(java.lang.String dir)
          Specifies the base direction of directionally neutral text and the directionality of tables.
 void setHTML(java.lang.String html)
          Sets HTML between tags of the element.
 void setId(java.lang.String id)
          Sets the element's identifier.
 void setIdAttribute(java.lang.String name, boolean isId)
           
 void setIdAttributeNode(org.w3c.dom.Attr idAttr, boolean isId)
           
 void setIdAttributeNS(java.lang.String namespaceURI, java.lang.String localName, boolean isId)
           
 void setLang(java.lang.String lang)
          Sets Language code defined in RFC 1766.
 void setNodeValue(java.lang.String nodeValue)
           
 void setPrefix(java.lang.String prefix)
           
protected  void setScrollLeft(int left)
           
protected  void setScrollTop(int top)
           
 void setStyle(java.lang.String styleName, java.lang.String value)
          Sets element style.
 void setText(java.lang.String text)
          Sets text between tags of the element.
 void setTextContent(java.lang.String textContent)
           
 void setTitle(java.lang.String title)
          Sets the element's advisory title.
 java.lang.Object setUserData(java.lang.String key, java.lang.Object data, org.w3c.dom.UserDataHandler handler)
           
 java.lang.String toString()
           
protected  java.lang.Object unwrap(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.jniwrapper.win32.ie.dom.HTMLElement
click, fireEvent, fireEvent, focus, getAbsoluteLocation, getBackground, getBorder, getClassName, getDir, getElementClass, getElementPeer, getElementSize, getHeight, getHTML, getId, getLang, getLocation, getOffsetParent, getStyle, getText, getTitle, getWidth, mouseOver, setAttribute, setBackground, setBorder, setBorder, setClassName, setDir, setHTML, setId, setLang, setStyle, setText, setTitle
 
Methods inherited from interface com.jniwrapper.win32.ie.dom.HTMLNode
getNodePeer, getObjectID
 
Methods inherited from interface org.w3c.dom.Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from interface org.w3c.dom.events.EventTarget
addEventListener, dispatchEvent, removeEventListener
 

Field Detail

ATTR_NO_CASE

public static final int ATTR_NO_CASE
See Also:
Constant Field Values

ATTR_MATCH_CASE

public static final int ATTR_MATCH_CASE
See Also:
Constant Field Values

dispatch

protected com.jniwrapper.win32.automation.IDispatch dispatch
Constructor Detail

TableCellImpl

public TableCellImpl(com.jniwrapper.win32.automation.IDispatch node,
                     WebBrowser ownerBrowser)
Method Detail

getTagName

public java.lang.String getTagName()
Specified by:
getTagName in interface org.w3c.dom.Element

getAttribute

public java.lang.String getAttribute(java.lang.String name)
Specified by:
getAttribute in interface org.w3c.dom.Element

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value)
                  throws org.w3c.dom.DOMException
Specified by:
setAttribute in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.String value,
                         boolean caseSensitive)
Description copied from interface: HTMLElement
This method is specially designed to set an element attribute and specify whether its name is case sensitive or not.

Parameters:
name - attribute name
value - attribute name
caseSensitive - specifies whether an attribute name is case sensetive or not

isSameClass

protected boolean isSameClass(java.lang.Object other)

removeAttribute

public void removeAttribute(java.lang.String name)
                     throws org.w3c.dom.DOMException
Specified by:
removeAttribute in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getAttributeNode

public org.w3c.dom.Attr getAttributeNode(java.lang.String name)
Specified by:
getAttributeNode in interface org.w3c.dom.Element

setAttributeNode

public org.w3c.dom.Attr setAttributeNode(org.w3c.dom.Attr newAttr)
                                  throws org.w3c.dom.DOMException
Specified by:
setAttributeNode in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

removeAttributeNode

public org.w3c.dom.Attr removeAttributeNode(org.w3c.dom.Attr oldAttr)
                                     throws org.w3c.dom.DOMException
Specified by:
removeAttributeNode in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getElementsByTagName

public org.w3c.dom.NodeList getElementsByTagName(java.lang.String name)
Specified by:
getElementsByTagName in interface org.w3c.dom.Element

getAttributeNS

public java.lang.String getAttributeNS(java.lang.String namespaceURI,
                                       java.lang.String localName)
Specified by:
getAttributeNS in interface org.w3c.dom.Element

setAttributeNS

public void setAttributeNS(java.lang.String namespaceURI,
                           java.lang.String qualifiedName,
                           java.lang.String value)
                    throws org.w3c.dom.DOMException
Specified by:
setAttributeNS in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

removeAttributeNS

public void removeAttributeNS(java.lang.String namespaceURI,
                              java.lang.String localName)
                       throws org.w3c.dom.DOMException
Specified by:
removeAttributeNS in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getAttributeNodeNS

public org.w3c.dom.Attr getAttributeNodeNS(java.lang.String namespaceURI,
                                           java.lang.String localName)
Specified by:
getAttributeNodeNS in interface org.w3c.dom.Element

setAttributeNodeNS

public org.w3c.dom.Attr setAttributeNodeNS(org.w3c.dom.Attr newAttr)
                                    throws org.w3c.dom.DOMException
Specified by:
setAttributeNodeNS in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getElementsByTagNameNS

public org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String namespaceURI,
                                                   java.lang.String localName)
Specified by:
getElementsByTagNameNS in interface org.w3c.dom.Element

hasAttribute

public boolean hasAttribute(java.lang.String name)
Specified by:
hasAttribute in interface org.w3c.dom.Element

hasAttributeNS

public boolean hasAttributeNS(java.lang.String namespaceURI,
                              java.lang.String localName)
Specified by:
hasAttributeNS in interface org.w3c.dom.Element

getSchemaTypeInfo

public org.w3c.dom.TypeInfo getSchemaTypeInfo()
Specified by:
getSchemaTypeInfo in interface org.w3c.dom.Element

setIdAttribute

public void setIdAttribute(java.lang.String name,
                           boolean isId)
                    throws org.w3c.dom.DOMException
Specified by:
setIdAttribute in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

setIdAttributeNS

public void setIdAttributeNS(java.lang.String namespaceURI,
                             java.lang.String localName,
                             boolean isId)
                      throws org.w3c.dom.DOMException
Specified by:
setIdAttributeNS in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

setIdAttributeNode

public void setIdAttributeNode(org.w3c.dom.Attr idAttr,
                               boolean isId)
                        throws org.w3c.dom.DOMException
Specified by:
setIdAttributeNode in interface org.w3c.dom.Element
Throws:
org.w3c.dom.DOMException

getIDWithinDocument

protected java.lang.String getIDWithinDocument()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

attachEvent

protected void attachEvent(java.lang.String type,
                           com.jniwrapper.win32.automation.IDispatch listenerDispatch)

detachEvent

protected void detachEvent(java.lang.String type,
                           com.jniwrapper.win32.automation.IDispatch listenerDispatch)

fireEvent

protected boolean fireEvent(org.w3c.dom.events.Event evt,
                            com.jniwrapper.win32.automation.types.Variant eventWrapper)

fireEvent

public void fireEvent(java.lang.String eventName,
                      EventObjectFactory factory)
Description copied from interface: HTMLElement
Fires event on the element.

Parameters:
eventName - event name
factory - event object factory

getInnerHTML

public java.lang.String getInnerHTML()

getStyle

public com.jniwrapper.win32.mshtml.IHTMLStyle getStyle()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equalsImpl

protected boolean equalsImpl(com.jniwrapper.win32.ie.dom.DomImpl impl)
Compares two java wrapper instances.

Parameters:
impl - java wrapper instance
Returns:
true if both instances wrap same native DOM node else returns false

click

public void click()
Description copied from interface: HTMLElement
Emulates click on the element.


setScrollLeft

protected void setScrollLeft(int left)

setScrollTop

protected void setScrollTop(int top)

getScrollLeft

protected int getScrollLeft()

getScrollTop

protected int getScrollTop()

getScrollWidth

protected int getScrollWidth()

getScrollHeight

protected int getScrollHeight()

getId

public java.lang.String getId()
Description copied from interface: HTMLElement
Returns the element's identifier. See the id attribute definition in HTML 4.0.

Specified by:
getId in interface org.w3c.dom.html.HTMLElement
Returns:
the element's identifier.

setId

public void setId(java.lang.String id)
Description copied from interface: HTMLElement
Sets the element's identifier. See the id attribute definition in HTML 4.0.

Specified by:
setId in interface org.w3c.dom.html.HTMLElement
Parameters:
id - the element's identifier.

getTitle

public java.lang.String getTitle()
Description copied from interface: HTMLElement
Returns the element's advisory title. See the title attribute definition in HTML 4.0.

Specified by:
getTitle in interface org.w3c.dom.html.HTMLElement
Returns:
the element's advisory title.

setTitle

public void setTitle(java.lang.String title)
Description copied from interface: HTMLElement
Sets the element's advisory title. See the title attribute definition in HTML 4.0.

Specified by:
setTitle in interface org.w3c.dom.html.HTMLElement
Parameters:
title - the element's advisory title.

getLang

public java.lang.String getLang()
Description copied from interface: HTMLElement
Returns Language code defined in RFC 1766. See the lang attribute definition in HTML 4.0.

Specified by:
getLang in interface org.w3c.dom.html.HTMLElement
Returns:
Language code defined in RFC 1766.

setLang

public void setLang(java.lang.String lang)
Description copied from interface: HTMLElement
Sets Language code defined in RFC 1766. See the lang attribute definition in HTML 4.0.

Specified by:
setLang in interface org.w3c.dom.html.HTMLElement
Parameters:
lang - Language code defined in RFC 1766.

getDir

public java.lang.String getDir()
Description copied from interface: HTMLElement
Specifies the base direction of directionally neutral text and the directionality of tables. See the dir attribute definition in HTML 4.0.

Specified by:
getDir in interface org.w3c.dom.html.HTMLElement
Returns:
the base direction of directionally neutral text

setDir

public void setDir(java.lang.String dir)
Description copied from interface: HTMLElement
Specifies the base direction of directionally neutral text and the directionality of tables. See the dir attribute definition in HTML 4.0.

Specified by:
setDir in interface org.w3c.dom.html.HTMLElement
Parameters:
dir - the base direction of directionally neutral text

getClassName

public java.lang.String getClassName()
Description copied from interface: HTMLElement
Sets the class attribute of the element. This attribute has been renamed due to conflicts with the "class" keyword exposed by many languages. See the class attribute definition in HTML 4.0.

Specified by:
getClassName in interface org.w3c.dom.html.HTMLElement
Returns:
The class attribute of the element.

setClassName

public void setClassName(java.lang.String className)
Description copied from interface: HTMLElement
Returns the class attribute of the element. This attribute has been renamed due to conflicts with the "class" keyword exposed by many languages. See the class attribute definition in HTML 4.0.

Specified by:
setClassName in interface org.w3c.dom.html.HTMLElement
Parameters:
className - The class attribute of the element.

getText

public java.lang.String getText()
Description copied from interface: HTMLElement
Returns text between tags of the element.

Returns:
element text

getHTML

public java.lang.String getHTML()
Description copied from interface: HTMLElement
Returns HTML between tags of the element.

Returns:
element HTML

setText

public void setText(java.lang.String text)
Description copied from interface: HTMLElement
Sets text between tags of the element.

Parameters:
text - new text

setHTML

public void setHTML(java.lang.String html)
Description copied from interface: HTMLElement
Sets HTML between tags of the element.

Parameters:
html - new html

getStyle

public java.lang.String getStyle(java.lang.String styleName)
Description copied from interface: HTMLElement
Returns element style.

Parameters:
styleName - style name
Returns:
style value

setStyle

public void setStyle(java.lang.String styleName,
                     java.lang.String value)
Description copied from interface: HTMLElement
Sets element style.

Parameters:
styleName - style name
value - new style value

getBackground

public java.awt.Color getBackground()
Description copied from interface: HTMLElement
Returns element background color.

Returns:
background color

setBackground

public void setBackground(java.awt.Color color)
Description copied from interface: HTMLElement
Sets element background color.

Parameters:
color - new background color

getBorder

public ElementBorder getBorder()
Description copied from interface: HTMLElement
Returns element border.

Returns:
border

setBorder

public void setBorder(ElementBorder border)
Description copied from interface: HTMLElement
Sets element border.

Parameters:
border - border

setBorder

public void setBorder(java.awt.Color color)
Description copied from interface: HTMLElement
Sets element border.

Parameters:
color - border color.

getLocation

public java.awt.Point getLocation()
Description copied from interface: HTMLElement
Returns element location relative to the offset parent element.

Returns:
location

getAbsoluteLocation

public java.awt.Point getAbsoluteLocation()
Description copied from interface: HTMLElement
Returns element absolute location.

Returns:
absolute location

getOffsetParent

public HTMLElement getOffsetParent()
Description copied from interface: HTMLElement
Returns element used as origin of coordinates for element location.

Returns:
offset parent

getElementSize

public java.awt.Dimension getElementSize()
Description copied from interface: HTMLElement
Returns element size.

Returns:
size

fireEvent

public void fireEvent(java.lang.String eventName)
Description copied from interface: HTMLElement
Fires event on the element.

Parameters:
eventName - event name

mouseOver

public void mouseOver()
Description copied from interface: HTMLElement
Fires mouse over event on the element.


focus

public void focus()
Description copied from interface: HTMLElement
Sets focus to the element.


getElementPeer

public java.lang.Object getElementPeer()
Description copied from interface: HTMLElement
Returns DOM element native peer.

Returns:
element native peer

getElementClass

public java.lang.String getElementClass()
Description copied from interface: HTMLElement
Returns element class specified in class attribute (like <a class='menuLink'>Home</a>)

Returns:
element class

getWidth

public java.lang.String getWidth()
Description copied from interface: HTMLElement
Returns the element width

Returns:
width

getHeight

public java.lang.String getHeight()
Description copied from interface: HTMLElement
Returns the element height

Returns:
height

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface org.w3c.dom.Node

getNamespaceURI

public java.lang.String getNamespaceURI()
Specified by:
getNamespaceURI in interface org.w3c.dom.Node

getNode

protected com.jniwrapper.win32.mshtml.IHTMLDOMNode getNode()

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface org.w3c.dom.Node

getNodeValue

public java.lang.String getNodeValue()
                              throws org.w3c.dom.DOMException
Specified by:
getNodeValue in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

setNodeValue

public void setNodeValue(java.lang.String nodeValue)
                  throws org.w3c.dom.DOMException
Specified by:
setNodeValue in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node

getParentNode

public org.w3c.dom.Node getParentNode()
Specified by:
getParentNode in interface org.w3c.dom.Node

getChildNodes

public org.w3c.dom.NodeList getChildNodes()
Specified by:
getChildNodes in interface org.w3c.dom.Node

getFirstChild

public org.w3c.dom.Node getFirstChild()
Specified by:
getFirstChild in interface org.w3c.dom.Node

getLastChild

public org.w3c.dom.Node getLastChild()
Specified by:
getLastChild in interface org.w3c.dom.Node

getPreviousSibling

public org.w3c.dom.Node getPreviousSibling()
Specified by:
getPreviousSibling in interface org.w3c.dom.Node

getNextSibling

public org.w3c.dom.Node getNextSibling()
Specified by:
getNextSibling in interface org.w3c.dom.Node

getAttributes

public org.w3c.dom.NamedNodeMap getAttributes()
Specified by:
getAttributes in interface org.w3c.dom.Node

getOwnerDocument

public org.w3c.dom.Document getOwnerDocument()
Specified by:
getOwnerDocument in interface org.w3c.dom.Node

getOwnerDocumentPeer

protected com.jniwrapper.win32.automation.IDispatch getOwnerDocumentPeer()

insertBefore

public org.w3c.dom.Node insertBefore(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node refChild)
                              throws org.w3c.dom.DOMException
Specified by:
insertBefore in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

replaceChild

public org.w3c.dom.Node replaceChild(org.w3c.dom.Node newChild,
                                     org.w3c.dom.Node oldChild)
                              throws org.w3c.dom.DOMException
Specified by:
replaceChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

removeChild

public org.w3c.dom.Node removeChild(org.w3c.dom.Node oldChild)
                             throws org.w3c.dom.DOMException
Specified by:
removeChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

appendChild

public org.w3c.dom.Node appendChild(org.w3c.dom.Node newChild)
                             throws org.w3c.dom.DOMException
Specified by:
appendChild in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

hasChildNodes

public boolean hasChildNodes()
Specified by:
hasChildNodes in interface org.w3c.dom.Node

cloneNode

public org.w3c.dom.Node cloneNode(boolean deep)
Specified by:
cloneNode in interface org.w3c.dom.Node

normalize

public void normalize()
Specified by:
normalize in interface org.w3c.dom.Node

isSupported

public boolean isSupported(java.lang.String feature,
                           java.lang.String version)
Specified by:
isSupported in interface org.w3c.dom.Node

setPrefix

public void setPrefix(java.lang.String prefix)
               throws org.w3c.dom.DOMException
Specified by:
setPrefix in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

getLocalName

public java.lang.String getLocalName()
Specified by:
getLocalName in interface org.w3c.dom.Node

hasAttributes

public boolean hasAttributes()
Specified by:
hasAttributes in interface org.w3c.dom.Node

getObjectID

public java.lang.Object getObjectID()
Description copied from interface: HTMLNode
Return unique ID that identifies the object.

Specified by:
getObjectID in interface HTMLNode
Returns:
unique ID that identifies the object

addEventListener

public void addEventListener(java.lang.String type,
                             org.w3c.dom.events.EventListener listener,
                             boolean useCapture)

removeEventListener

public void removeEventListener(java.lang.String type,
                                org.w3c.dom.events.EventListener listener,
                                boolean useCapture)

dispatchEvent

public boolean dispatchEvent(org.w3c.dom.events.Event evt)
                      throws org.w3c.dom.events.EventException
Throws:
org.w3c.dom.events.EventException

createEventObject

protected com.jniwrapper.win32.mshtml.IHTMLEventObj createEventObject()

getNodePeer

public java.lang.Object getNodePeer()
Description copied from interface: HTMLNode
Returns DOM node native peer.

Specified by:
getNodePeer in interface HTMLNode
Returns:
node native peer

isSameNode

public boolean isSameNode(org.w3c.dom.Node other)
Specified by:
isSameNode in interface org.w3c.dom.Node

isEqualNode

public boolean isEqualNode(org.w3c.dom.Node other)
Specified by:
isEqualNode in interface org.w3c.dom.Node

getBaseURI

public java.lang.String getBaseURI()
Specified by:
getBaseURI in interface org.w3c.dom.Node

compareDocumentPosition

public short compareDocumentPosition(org.w3c.dom.Node other)
                              throws org.w3c.dom.DOMException
Specified by:
compareDocumentPosition in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

getTextContent

public java.lang.String getTextContent()
                                throws org.w3c.dom.DOMException
Specified by:
getTextContent in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

setTextContent

public void setTextContent(java.lang.String textContent)
                    throws org.w3c.dom.DOMException
Specified by:
setTextContent in interface org.w3c.dom.Node
Throws:
org.w3c.dom.DOMException

lookupPrefix

public java.lang.String lookupPrefix(java.lang.String namespaceURI)
Specified by:
lookupPrefix in interface org.w3c.dom.Node

isDefaultNamespace

public boolean isDefaultNamespace(java.lang.String namespaceURI)
Specified by:
isDefaultNamespace in interface org.w3c.dom.Node

lookupNamespaceURI

public java.lang.String lookupNamespaceURI(java.lang.String prefix)
Specified by:
lookupNamespaceURI in interface org.w3c.dom.Node

getFeature

public java.lang.Object getFeature(java.lang.String feature,
                                   java.lang.String version)
Specified by:
getFeature in interface org.w3c.dom.Node

setUserData

public java.lang.Object setUserData(java.lang.String key,
                                    java.lang.Object data,
                                    org.w3c.dom.UserDataHandler handler)
Specified by:
setUserData in interface org.w3c.dom.Node

getUserData

public java.lang.Object getUserData(java.lang.String key)
Specified by:
getUserData in interface org.w3c.dom.Node

invokeInOleMessageLoop

protected void invokeInOleMessageLoop(java.lang.Runnable runnable)

getBrowser

protected WebBrowser getBrowser()

init

protected void init(com.jniwrapper.win32.automation.IDispatch dispatch)
Inits members of the object.

Parameters:
dispatch - dispatch pointer DOM node

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getDomFactory

protected DomFactory getDomFactory()

releaseNative

protected void releaseNative(com.jniwrapper.win32.automation.types.BStr bStr)

unwrap

protected java.lang.Object unwrap(java.lang.Object object)