watij.runtime.ie
Class IETextField

java.lang.Object
  extended by watij.BaseHtmlFinder
      extended by watij.BaseContainer
          extended by watij.runtime.ie.IEContainer
              extended by watij.runtime.ie.IEHtmlElement
                  extended by watij.runtime.ie.IETextField
All Implemented Interfaces:
Container, HtmlElement, TextField, HtmlFinder
Direct Known Subclasses:
IEFileField, IEHidden, IETextArea

public class IETextField
extends IEHtmlElement
implements TextField


Constructor Summary
IETextField(org.w3c.dom.Element element, IHTMLDocument2 ihtmlDocument2)
           
 
Method Summary
 void append(java.lang.String append)
           
 void assertNotReadOnly()
           
 void clear()
           
 void dragContentsTo(Symbol destinationHow, java.lang.String destinationWhat)
           
 java.lang.String get()
           
 java.lang.String getContents()
           
 int maxLength()
           
 boolean readOnly()
           
 void set(java.lang.String value)
           
 int size()
           
 boolean verifyContains(java.lang.String what)
           
 
Methods inherited from class watij.runtime.ie.IEHtmlElement
assertEnabled, className, click, dblClick, disabled, element, elements, enabled, exists, find, fireAfterSetEvents, fireBeforeSetEvents, fireEvent, flash, focus, getOLEObject, html, htmlElement, id, ihtmlDocument2, ihtmlElement, innerText, name, show, style, tag, text, title, toList, toString, type, value
 
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, wait, wait, wait
 
Methods inherited from interface watij.elements.HtmlElement
className, click, dblClick, disabled, enabled, exists, fireEvent, flash, focus, getOLEObject, html, id, innerText, name, show, style, text, title, type, value
 
Methods inherited from interface watij.Container
decendants, element, 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

IETextField

public IETextField(org.w3c.dom.Element element,
                   IHTMLDocument2 ihtmlDocument2)
            throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

set

public void set(java.lang.String value)
         throws java.lang.Exception
Specified by:
set in interface TextField
Throws:
java.lang.Exception

size

public int size()
         throws java.lang.Exception
Specified by:
size in interface TextField
Throws:
java.lang.Exception

verifyContains

public boolean verifyContains(java.lang.String what)
                       throws java.lang.Exception
Specified by:
verifyContains in interface TextField
Throws:
java.lang.Exception

append

public void append(java.lang.String append)
            throws java.lang.Exception
Specified by:
append in interface TextField
Throws:
java.lang.Exception

assertNotReadOnly

public void assertNotReadOnly()
                       throws java.lang.Exception
Specified by:
assertNotReadOnly in interface TextField
Throws:
java.lang.Exception

clear

public void clear()
           throws java.lang.Exception
Specified by:
clear in interface TextField
Throws:
java.lang.Exception

dragContentsTo

public void dragContentsTo(Symbol destinationHow,
                           java.lang.String destinationWhat)
                    throws NotImplementedYetException
Specified by:
dragContentsTo in interface TextField
Throws:
NotImplementedYetException

getContents

public java.lang.String getContents()
                             throws java.lang.Exception
Specified by:
getContents in interface TextField
Throws:
java.lang.Exception

maxLength

public int maxLength()
              throws java.lang.Exception
Specified by:
maxLength in interface TextField
Throws:
java.lang.Exception

readOnly

public boolean readOnly()
                 throws java.lang.Exception
Specified by:
readOnly in interface TextField
Throws:
java.lang.Exception

get

public java.lang.String get()
                     throws java.lang.Exception
Specified by:
get in interface TextField
Overrides:
get in class IEHtmlElement
Throws:
java.lang.Exception