watij.runtime.ie
Class IEHtmlElement
java.lang.Object
watij.BaseHtmlFinder
watij.BaseContainer
watij.runtime.ie.IEContainer
watij.runtime.ie.IEHtmlElement
- All Implemented Interfaces:
- Container, HtmlElement, HtmlFinder
- Direct Known Subclasses:
- IEButton, IEDiv, IEForm, IEFrame, IEImage, IELabel, IELink, IEOption, IERadioCheckCommon, IESelectList, IESpan, IETableBody, IETableCell, IETableRow, IETextField
public class IEHtmlElement
- extends IEContainer
- implements HtmlElement
Constructor Summary |
IEHtmlElement(org.w3c.dom.Element element,
IHTMLDocument2 ihtmlDocument2)
|
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, wait, wait, wait |
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 |
IEHtmlElement
public IEHtmlElement(org.w3c.dom.Element element,
IHTMLDocument2 ihtmlDocument2)
element
public org.w3c.dom.Element element()
throws java.lang.Exception
- Specified by:
element
in interface Container
- Throws:
java.lang.Exception
htmlElement
protected org.w3c.dom.html.HTMLElement htmlElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
ihtmlElement
protected IHTMLElement ihtmlElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
ihtmlDocument2
protected IHTMLDocument2 ihtmlDocument2()
throws java.lang.Exception
- Specified by:
ihtmlDocument2
in class IEContainer
- Throws:
java.lang.Exception
disabled
public boolean disabled()
throws java.lang.Exception
- Specified by:
disabled
in interface HtmlElement
- Throws:
java.lang.Exception
id
public java.lang.String id()
throws java.lang.Exception
- Specified by:
id
in interface HtmlElement
- Throws:
java.lang.Exception
name
public java.lang.String name()
throws java.lang.Exception
- Specified by:
name
in interface HtmlElement
- Throws:
java.lang.Exception
title
public java.lang.String title()
throws java.lang.Exception
- Specified by:
title
in interface HtmlElement
- Throws:
java.lang.Exception
className
public java.lang.String className()
throws java.lang.Exception
- Specified by:
className
in interface HtmlElement
- Throws:
java.lang.Exception
type
public java.lang.String type()
throws java.lang.Exception
- Specified by:
type
in interface HtmlElement
- Throws:
java.lang.Exception
value
public java.lang.String value()
throws java.lang.Exception
- Specified by:
value
in interface HtmlElement
- Throws:
java.lang.Exception
style
public java.lang.String style()
throws java.lang.Exception
- Specified by:
style
in interface HtmlElement
- Throws:
java.lang.Exception
click
public void click()
throws java.lang.Exception
- Specified by:
click
in interface HtmlElement
- Throws:
java.lang.Exception
assertEnabled
protected void assertEnabled()
throws java.lang.Exception
- Throws:
java.lang.Exception
get
public java.lang.String get()
throws java.lang.Exception
- Throws:
java.lang.Exception
text
public java.lang.String text()
throws java.lang.Exception
- Specified by:
text
in interface HtmlElement
- Throws:
java.lang.Exception
innerText
public java.lang.String innerText()
throws java.lang.Exception
- Specified by:
innerText
in interface HtmlElement
- Throws:
java.lang.Exception
tag
public java.lang.String tag()
throws java.lang.Exception
- Throws:
java.lang.Exception
dblClick
public void dblClick()
throws java.lang.Exception
- Specified by:
dblClick
in interface HtmlElement
- Throws:
java.lang.Exception
find
protected IHTMLElement find(org.w3c.dom.Element element)
throws java.lang.Exception
- Throws:
java.lang.Exception
toList
protected java.util.List<org.w3c.dom.Element> toList(org.w3c.dom.html.HTMLCollection htmlCollection)
elements
protected IHTMLElementCollection elements(java.lang.String tagName)
throws java.lang.Exception
- Throws:
java.lang.Exception
fireBeforeSetEvents
protected void fireBeforeSetEvents(IHTMLElement ihtmlElement)
throws java.lang.Exception
- Throws:
java.lang.Exception
fireAfterSetEvents
protected void fireAfterSetEvents(IHTMLElement ihtmlElement)
throws java.lang.Exception
- Throws:
java.lang.Exception
fireEvent
public void fireEvent(java.lang.String eventName)
throws java.lang.Exception
- Specified by:
fireEvent
in interface HtmlElement
- Throws:
java.lang.Exception
enabled
public boolean enabled()
throws java.lang.Exception
- Specified by:
enabled
in interface HtmlElement
- Throws:
java.lang.Exception
exists
public boolean exists()
throws java.lang.Exception
- Specified by:
exists
in interface HtmlElement
- Throws:
java.lang.Exception
focus
public void focus()
throws java.lang.Exception
- Specified by:
focus
in interface HtmlElement
- Throws:
java.lang.Exception
getOLEObject
public java.lang.Object getOLEObject()
throws java.lang.Exception
- Specified by:
getOLEObject
in interface HtmlElement
- Throws:
java.lang.Exception
html
public java.lang.String html()
throws java.lang.Exception
- Specified by:
html
in interface Container
- Specified by:
html
in interface HtmlElement
- Throws:
java.lang.Exception
flash
public void flash()
throws java.lang.Exception
- Specified by:
flash
in interface HtmlElement
- Throws:
java.lang.Exception
show
public void show()
throws java.lang.Exception
- Specified by:
show
in interface HtmlElement
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object