com.jniwrapper.win32.ie.dom
Class DOMUtils

java.lang.Object
  extended by com.jniwrapper.win32.ie.dom.DOMUtils

public final class DOMUtils
extends java.lang.Object


Constructor Summary
DOMUtils()
           
 
Method Summary
static void click(org.w3c.dom.Element element)
           
static void fireDOMEvent(java.lang.String eventType, org.w3c.dom.Element element)
           
static java.awt.Point getAbsoluteLocation(org.w3c.dom.Element element)
           
static org.w3c.dom.html.HTMLElement getElementFromPoint(org.w3c.dom.html.HTMLDocument document, java.awt.Point location)
           
static java.awt.Dimension getElementSize(org.w3c.dom.Element element)
           
static int getHorizontalScrollPosition(org.w3c.dom.html.HTMLDocument document)
           
static java.lang.String getInnerHTML(org.w3c.dom.Element element)
           
static java.awt.Point getLocation(org.w3c.dom.Element element)
           
static int getScrollHeight(org.w3c.dom.html.HTMLDocument document)
           
static int getScrollWidth(org.w3c.dom.html.HTMLDocument document)
           
static java.lang.String getStyle(org.w3c.dom.html.HTMLElement element, java.lang.String styleName)
           
static int getVerticalScrollPosition(org.w3c.dom.html.HTMLDocument document)
           
static void scrollHorizontal(int pos, org.w3c.dom.html.HTMLDocument document)
           
static void scrollVertical(int pos, org.w3c.dom.html.HTMLDocument document)
           
static void setInnerHTML(org.w3c.dom.Element element, java.lang.String html)
           
static void setStyle(org.w3c.dom.html.HTMLElement element, java.lang.String styleName, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOMUtils

public DOMUtils()
Method Detail

getVerticalScrollPosition

public static int getVerticalScrollPosition(org.w3c.dom.html.HTMLDocument document)

getHorizontalScrollPosition

public static int getHorizontalScrollPosition(org.w3c.dom.html.HTMLDocument document)

scrollVertical

public static void scrollVertical(int pos,
                                  org.w3c.dom.html.HTMLDocument document)

scrollHorizontal

public static void scrollHorizontal(int pos,
                                    org.w3c.dom.html.HTMLDocument document)

getScrollHeight

public static int getScrollHeight(org.w3c.dom.html.HTMLDocument document)

getScrollWidth

public static int getScrollWidth(org.w3c.dom.html.HTMLDocument document)

setStyle

public static void setStyle(org.w3c.dom.html.HTMLElement element,
                            java.lang.String styleName,
                            java.lang.String value)

getStyle

public static java.lang.String getStyle(org.w3c.dom.html.HTMLElement element,
                                        java.lang.String styleName)

click

public static void click(org.w3c.dom.Element element)

getLocation

public static java.awt.Point getLocation(org.w3c.dom.Element element)

getElementSize

public static java.awt.Dimension getElementSize(org.w3c.dom.Element element)

getAbsoluteLocation

public static java.awt.Point getAbsoluteLocation(org.w3c.dom.Element element)

getElementFromPoint

public static org.w3c.dom.html.HTMLElement getElementFromPoint(org.w3c.dom.html.HTMLDocument document,
                                                               java.awt.Point location)

getInnerHTML

public static java.lang.String getInnerHTML(org.w3c.dom.Element element)

setInnerHTML

public static void setInnerHTML(org.w3c.dom.Element element,
                                java.lang.String html)

fireDOMEvent

public static void fireDOMEvent(java.lang.String eventType,
                                org.w3c.dom.Element element)