watij.runtime.ie
Class IE

java.lang.Object
  extended by watij.BaseHtmlFinder
      extended by watij.BaseContainer
          extended by watij.runtime.ie.IEContainer
              extended by watij.runtime.ie.IE
All Implemented Interfaces:
Container, HtmlFinder, WatijBrowser

public class IE
extends IEContainer
implements WatijBrowser


Nested Class Summary
 class IE.Counter
           
static class IE.DWebBrowserEvents2Handler
           
 
Constructor Summary
IE()
           
IE(IE parentIE)
           
 
Method Summary
 HtmlElement active()
           
 void addChecker(java.lang.Object checker)
           
 void attach(Symbol how, java.lang.String what)
           
 void attachInit(Symbol how, java.lang.String what)
           
 void back()
           
 void bringToFront()
           
 void checkForHttpError(WatijBrowser watijBrowser)
           
 IE childBrowser()
           
 IE childBrowser(int index)
           
 int childBrowserCount()
           
 void clearUrlList()
           
 void close()
           
 boolean containsText(java.lang.String textOrRegex)
           
 java.lang.Object dir()
           
 void disableChecker(java.lang.Object checker)
           
protected  org.w3c.dom.Document document()
           
 org.w3c.dom.Element element()
           
 void executeScript(java.lang.String script)
           
 void focus()
           
 void forward()
           
 boolean fullScreen()
           
 void fullScreen(boolean full)
           
 void goTo(java.lang.String url)
           
 int height()
           
 void height(int height)
           
 java.lang.String html()
           
protected  IHTMLDocument2 ihtmlDocument2()
           
 void init()
           
 boolean isFront()
           
 int left()
           
 void left(int left)
           
 void log(java.lang.String what)
           
 void maximize()
           
 void minimize()
           
 void navigate(java.lang.String url)
           
 void refresh()
           
 void restore()
           
 void runErrorChecks()
           
 void screenCapture(java.lang.String fullyQualifiedFileName_PngFormat)
           
 void screenCapture(java.lang.String fullyQualifiedFileName, java.lang.String format)
           
 void sendKeys(java.lang.String keys)
           
 void sendKeys(java.lang.String keys, boolean blocking)
           
 void sendKeys(java.lang.String title, java.lang.String keys)
           
 void sendKeys(java.lang.String title, java.lang.String keys, boolean blocking)
           
 void setAdditionalHttpHeaders(java.lang.String additionalHttpHeaders)
           
 void setFastSpeed()
           
 void setSlowSpeed()
           
static IE.DWebBrowserEvents2Handler setupListener(IWebBrowser2 iWebBrowser2)
           
 void show()
           
 void start()
           
 void start(java.lang.String url)
           
 java.lang.String status()
           
 java.lang.String text()
           
 boolean theatreMode()
           
 void theatreMode(boolean theatre)
           
 java.lang.String title()
           
 int top()
           
 void top(int top)
           
 java.lang.String url()
           
 java.util.List<java.lang.String> urlList()
           
 boolean visible()
           
 void visible(boolean visible)
           
 void waitUntil()
           
 int width()
           
 void width(int width)
           
 void windowCapture(java.lang.String fullyQualifiedFileName_PngFormat)
           
 void windowCapture(java.lang.String fullyQualifiedFileName, java.lang.String format)
           
 
Methods inherited from class watij.runtime.ie.IEContainer
debug, document, getOLEDocument, html, htmlElementFactory
 
Methods inherited from class watij.BaseContainer
decendants, elements, htmlElements, xpath
 
Methods inherited from class watij.BaseHtmlFinder
bodies, bodies, bodies, body, body, body, button, button, button, button, buttons, buttons, buttons, cell, cell, cell, cells, cells, cells, checkbox, checkbox, checkbox, checkbox, checkbox, checkboxes, checkboxes, checkboxes, div, div, div, divs, divs, divs, fileField, fileField, fileField, fileFields, fileFields, fileFields, form, form, form, form, forms, forms, forms, frame, frame, frame, frame, frames, frames, frames, hidden, hidden, hidden, hiddens, hiddens, hiddens, htmlElement, htmlElement, htmlElement, htmlElements, htmlElements, image, image, image, images, images, images, label, label, label, label, labels, labels, labels, link, link, link, link, links, links, links, option, option, option, options, options, options, radio, radio, radio, radio, radio, radios, radios, radios, row, row, row, rows, rows, rows, selectList, selectList, selectList, selectList, selectLists, selectLists, selectLists, span, span, span, spans, spans, spans, table, table, table, tables, tables, tables, textField, textField, textField, textFields, textFields, textFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface watij.Container
decendants, getOLEDocument, xpath
 
Methods inherited from interface watij.HtmlFinder
bodies, bodies, bodies, body, body, body, button, button, button, button, buttons, buttons, buttons, cell, cell, cell, cells, cells, cells, checkbox, checkbox, checkbox, checkbox, checkbox, checkboxes, checkboxes, checkboxes, div, div, div, divs, divs, divs, fileField, fileField, fileField, fileFields, fileFields, fileFields, form, form, form, form, forms, forms, forms, frame, frame, frame, frame, frames, frames, frames, hidden, hidden, hidden, hiddens, hiddens, hiddens, htmlElement, htmlElement, htmlElement, htmlElements, htmlElements, htmlElements, image, image, image, images, images, images, label, label, label, label, labels, labels, labels, link, link, link, link, links, links, links, option, option, option, options, options, options, radio, radio, radio, radio, radio, radios, radios, radios, row, row, row, rows, rows, rows, selectList, selectList, selectList, selectList, selectLists, selectLists, selectLists, span, span, span, spans, spans, spans, table, table, table, tables, tables, tables, textField, textField, textField, textFields, textFields, textFields
 

Constructor Detail

IE

public IE()

IE

public IE(IE parentIE)
   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

init

public void init()
          throws java.lang.Exception
Throws:
java.lang.Exception

setupListener

public static IE.DWebBrowserEvents2Handler setupListener(IWebBrowser2 iWebBrowser2)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

attach

public void attach(Symbol how,
                   java.lang.String what)
            throws java.lang.Exception
Specified by:
attach in interface WatijBrowser
Throws:
java.lang.Exception

text

public java.lang.String text()
                      throws java.lang.Exception
Specified by:
text in interface WatijBrowser
Throws:
java.lang.Exception

refresh

public void refresh()
             throws java.lang.Exception
Specified by:
refresh in interface WatijBrowser
Throws:
java.lang.Exception

minimize

public void minimize()
              throws java.lang.Exception
Specified by:
minimize in interface WatijBrowser
Throws:
java.lang.Exception

maximize

public void maximize()
              throws java.lang.Exception
Specified by:
maximize in interface WatijBrowser
Throws:
java.lang.Exception

restore

public void restore()
             throws java.lang.Exception
Specified by:
restore in interface WatijBrowser
Throws:
java.lang.Exception

navigate

public void navigate(java.lang.String url)
              throws java.lang.Exception
Specified by:
navigate in interface WatijBrowser
Throws:
java.lang.Exception

bringToFront

public void bringToFront()
                  throws java.lang.Exception
Specified by:
bringToFront in interface WatijBrowser
Throws:
java.lang.Exception

sendKeys

public void sendKeys(java.lang.String title,
                     java.lang.String keys,
                     boolean blocking)
              throws java.lang.Exception
Specified by:
sendKeys in interface WatijBrowser
Throws:
java.lang.Exception

sendKeys

public void sendKeys(java.lang.String title,
                     java.lang.String keys)
              throws java.lang.Exception
Specified by:
sendKeys in interface WatijBrowser
Throws:
java.lang.Exception

sendKeys

public void sendKeys(java.lang.String keys)
              throws java.lang.Exception
Specified by:
sendKeys in interface WatijBrowser
Throws:
java.lang.Exception

sendKeys

public void sendKeys(java.lang.String keys,
                     boolean blocking)
              throws java.lang.Exception
Specified by:
sendKeys in interface WatijBrowser
Throws:
java.lang.Exception

ihtmlDocument2

protected IHTMLDocument2 ihtmlDocument2()
                                 throws java.lang.Exception
Specified by:
ihtmlDocument2 in class IEContainer
Throws:
java.lang.Exception

executeScript

public void executeScript(java.lang.String script)
                   throws java.lang.Exception
Specified by:
executeScript in interface WatijBrowser
Throws:
java.lang.Exception

setAdditionalHttpHeaders

public void setAdditionalHttpHeaders(java.lang.String additionalHttpHeaders)
Specified by:
setAdditionalHttpHeaders in interface WatijBrowser

html

public java.lang.String html()
                      throws java.lang.Exception
Specified by:
html in interface Container
Throws:
java.lang.Exception

document

protected org.w3c.dom.Document document()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

element

public org.w3c.dom.Element element()
                            throws java.lang.Exception
Specified by:
element in interface Container
Throws:
java.lang.Exception

childBrowser

public IE childBrowser()
                throws java.lang.Exception
Specified by:
childBrowser in interface WatijBrowser
Throws:
java.lang.Exception

childBrowser

public IE childBrowser(int index)
                throws java.lang.Exception
Specified by:
childBrowser in interface WatijBrowser
Throws:
java.lang.Exception

childBrowserCount

public int childBrowserCount()
                      throws java.lang.Exception
Specified by:
childBrowserCount in interface WatijBrowser
Throws:
java.lang.Exception

show

public void show()
          throws java.lang.Exception
Specified by:
show in interface WatijBrowser
Throws:
java.lang.Exception

active

public HtmlElement active()
                   throws NotImplementedYetException
Specified by:
active in interface WatijBrowser
Throws:
NotImplementedYetException

start

public void start(java.lang.String url)
           throws java.lang.Exception
Specified by:
start in interface WatijBrowser
Throws:
java.lang.Exception

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface WatijBrowser
Throws:
java.lang.Exception

addChecker

public void addChecker(java.lang.Object checker)
                throws NotImplementedYetException
Specified by:
addChecker in interface WatijBrowser
Throws:
NotImplementedYetException

attachInit

public void attachInit(Symbol how,
                       java.lang.String what)
                throws NotImplementedYetException
Specified by:
attachInit in interface WatijBrowser
Throws:
NotImplementedYetException

back

public void back()
          throws java.lang.Exception
Specified by:
back in interface WatijBrowser
Throws:
java.lang.Exception

checkForHttpError

public void checkForHttpError(WatijBrowser watijBrowser)
                       throws NotImplementedYetException
Specified by:
checkForHttpError in interface WatijBrowser
Throws:
NotImplementedYetException

clearUrlList

public void clearUrlList()
                  throws NotImplementedYetException
Specified by:
clearUrlList in interface WatijBrowser
Throws:
NotImplementedYetException

close

public void close()
           throws java.lang.Exception
Specified by:
close in interface WatijBrowser
Throws:
java.lang.Exception

containsText

public boolean containsText(java.lang.String textOrRegex)
                     throws java.lang.Exception
Specified by:
containsText in interface WatijBrowser
Throws:
java.lang.Exception

dir

public java.lang.Object dir()
                     throws NotImplementedYetException
Specified by:
dir in interface WatijBrowser
Throws:
NotImplementedYetException

disableChecker

public void disableChecker(java.lang.Object checker)
                    throws NotImplementedYetException
Specified by:
disableChecker in interface WatijBrowser
Throws:
NotImplementedYetException

focus

public void focus()
           throws NotImplementedYetException
Specified by:
focus in interface WatijBrowser
Throws:
NotImplementedYetException

forward

public void forward()
             throws java.lang.Exception
Specified by:
forward in interface WatijBrowser
Throws:
java.lang.Exception

fullScreen

public void fullScreen(boolean full)
                throws java.lang.Exception
Throws:
java.lang.Exception

fullScreen

public boolean fullScreen()
                   throws java.lang.Exception
Throws:
java.lang.Exception

isFront

public boolean isFront()
                throws NotImplementedYetException
Specified by:
isFront in interface WatijBrowser
Throws:
NotImplementedYetException

goTo

public void goTo(java.lang.String url)
          throws java.lang.Exception
Specified by:
goTo in interface WatijBrowser
Throws:
java.lang.Exception

log

public void log(java.lang.String what)
         throws NotImplementedYetException
Specified by:
log in interface WatijBrowser
Throws:
NotImplementedYetException

screenCapture

public void screenCapture(java.lang.String fullyQualifiedFileName_PngFormat)
                   throws java.lang.Exception
Specified by:
screenCapture in interface WatijBrowser
Throws:
java.lang.Exception

windowCapture

public void windowCapture(java.lang.String fullyQualifiedFileName_PngFormat)
                   throws java.lang.Exception
Throws:
java.lang.Exception

screenCapture

public void screenCapture(java.lang.String fullyQualifiedFileName,
                          java.lang.String format)
                   throws java.lang.Exception
Specified by:
screenCapture in interface WatijBrowser
Throws:
java.lang.Exception

windowCapture

public void windowCapture(java.lang.String fullyQualifiedFileName,
                          java.lang.String format)
                   throws java.lang.Exception
Throws:
java.lang.Exception

left

public void left(int left)
          throws java.lang.Exception
Throws:
java.lang.Exception

left

public int left()
         throws java.lang.Exception
Throws:
java.lang.Exception

top

public void top(int top)
         throws java.lang.Exception
Throws:
java.lang.Exception

top

public int top()
        throws java.lang.Exception
Throws:
java.lang.Exception

width

public void width(int width)
           throws java.lang.Exception
Specified by:
width in interface WatijBrowser
Throws:
java.lang.Exception

height

public void height(int height)
            throws java.lang.Exception
Specified by:
height in interface WatijBrowser
Throws:
java.lang.Exception

width

public int width()
          throws java.lang.Exception
Specified by:
width in interface WatijBrowser
Throws:
java.lang.Exception

height

public int height()
           throws java.lang.Exception
Specified by:
height in interface WatijBrowser
Throws:
java.lang.Exception

runErrorChecks

public void runErrorChecks()
                    throws NotImplementedYetException
Specified by:
runErrorChecks in interface WatijBrowser
Throws:
NotImplementedYetException

setFastSpeed

public void setFastSpeed()
                  throws NotImplementedYetException
Specified by:
setFastSpeed in interface WatijBrowser
Throws:
NotImplementedYetException

setSlowSpeed

public void setSlowSpeed()
                  throws NotImplementedYetException
Specified by:
setSlowSpeed in interface WatijBrowser
Throws:
NotImplementedYetException

status

public java.lang.String status()
                        throws NotImplementedYetException
Specified by:
status in interface WatijBrowser
Throws:
NotImplementedYetException

title

public java.lang.String title()
                       throws java.lang.Exception
Specified by:
title in interface WatijBrowser
Throws:
java.lang.Exception

theatreMode

public void theatreMode(boolean theatre)
                 throws java.lang.Exception
Throws:
java.lang.Exception

theatreMode

public boolean theatreMode()
                    throws java.lang.Exception
Throws:
java.lang.Exception

url

public java.lang.String url()
                     throws java.lang.Exception
Specified by:
url in interface WatijBrowser
Throws:
java.lang.Exception

waitUntil

public void waitUntil()
               throws NotImplementedYetException
Specified by:
waitUntil in interface WatijBrowser
Throws:
NotImplementedYetException

urlList

public java.util.List<java.lang.String> urlList()
                                         throws NotImplementedYetException
Specified by:
urlList in interface WatijBrowser
Throws:
NotImplementedYetException

visible

public void visible(boolean visible)
             throws java.lang.Exception
Throws:
java.lang.Exception

visible

public boolean visible()
                throws java.lang.Exception
Throws:
java.lang.Exception