Java Doc for HtmlForm.java in  » Testing » htmlunit » com » gargoylesoftware » htmlunit » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Testing » htmlunit » com.gargoylesoftware.htmlunit.html 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.gargoylesoftware.htmlunit.html.DomNode
      com.gargoylesoftware.htmlunit.html.DomNamespaceNode
         com.gargoylesoftware.htmlunit.html.DomElement
            com.gargoylesoftware.htmlunit.html.HtmlElement
               com.gargoylesoftware.htmlunit.html.StyledElement
                  com.gargoylesoftware.htmlunit.html.ClickableElement
                     com.gargoylesoftware.htmlunit.html.HtmlForm

HtmlForm
public class HtmlForm extends ClickableElement (Code)
Wrapper for the html element "form"
version:
   $Revision: 2141 $
author:
   Mike Bowler
author:
   David K. Taylor
author:
   Brad Clarke
author:
   Christian Sell
author:
   Marc Guillemot
author:
   George Murnock
author:
   Kent Tong
author:
   Ahmed Ashour
author:
   Philip Graf


Field Summary
final public static  StringTAG_NAME
    

Constructor Summary
public  HtmlForm(HtmlPage htmlPage, Map attributes)
    
 HtmlForm(String namespaceURI, String qualifiedName, HtmlPage htmlPage, Map attributes)
    

Method Summary
final public  voidfakeCheckedRadioButton(String name, String value)
     Set the "selected radio button" to a value that doesn't actually exist in the page.
final public  StringgetAcceptAttribute()
     Return the value of the attribute "accept".
final public  StringgetAcceptCharsetAttribute()
     Return the value of the attribute "accept-charset".
final public  StringgetActionAttribute()
     Return the value of the attribute "action".
public  HtmlButtongetButtonByName(String name)
     Find the first button element with the specified name.
Parameters:
  name - The name of the button element.
public  ListgetButtonsByName(String name)
    
public  HtmlRadioButtonInputgetCheckedRadioButton(String name)
     Return the first checked radio button with the specified name.
final public  StringgetEnctypeAttribute()
     Return the value of the attribute "enctype".
final public  HtmlInputgetInputByName(String name)
    
public  HtmlInputgetInputByValue(String value)
     Return the first input with the specified value.
public  ListgetInputsByName(String name)
    
public  ListgetInputsByValue(String value)
     Return all the inputs with the specified value.
final public  StringgetMethodAttribute()
     Return the value of the attribute "method".
final public  StringgetNameAttribute()
     Return the value of the attribute "name".
final public  StringgetOnResetAttribute()
     Return the value of the attribute "onreset".
final public  StringgetOnSubmitAttribute()
     Return the value of the attribute "onsubmit".
final public  ListgetParameterListForSubmit(SubmittableElement submitElement)
     Return a list of KeyValuePair s that represent the data that will be sent to the server on a form submit.
public  HtmlRadioButtonInputgetRadioButtonInput(String name, String value)
    
public  ListgetRadioButtonsByName(String name)
    
public  HtmlSelectgetSelectByName(String name)
    
public  ListgetSelectsByName(String name)
    
public  CollectiongetSubmittableElements(SubmittableElement submitElement)
     Return a collection of elements that represent all the "submittable" elements in this form
Parameters:
  submitElement - The element that would have been pressed to submit theform or null if the form was submitted by javascript.
final public  StringgetTargetAttribute()
     Return the value of the attribute "target".
public  HtmlTextAreagetTextAreaByName(String name)
     Find the first textarea element with the specified name.
Parameters:
  name - The name of the textarea element.
public  ListgetTextAreasByName(String name)
    
public  Pagereset()
     Reset this form to its initial values. The page that is loaded at the end of calling this method.
final public  voidsetActionAttribute(String action)
     Set the value of the attribute "action".
public  voidsetCheckedRadioButton(String name, String value)
     Select the specified radio button in the form.
 voidsetCheckedRadioButton(HtmlRadioButtonInput radioButtonInput)
     Select the specified radio button in the form.
final public  voidsetEnctypeAttribute(String encoding)
     Set the value of the attribute "enctype".
final public  voidsetMethodAttribute(String method)
     Set the value of the attribute "method".
final public  voidsetNameAttribute(String name)
     Set the value of the attribute "name".
final public  voidsetTargetAttribute(String target)
     Set the value of the attribute "target".
public  Pagesubmit(String buttonName)
    
public  Pagesubmit()
     Submit this form to the appropriate server as if it had been submitted by javascript - i.e.
public  Pagesubmit(SubmittableElement submitElement)
     INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Submit this form to the appropriate server.

Field Detail
TAG_NAME
final public static String TAG_NAME(Code)
the HTML tag represented by this element




Constructor Detail
HtmlForm
public HtmlForm(HtmlPage htmlPage, Map attributes)(Code)
Create an instance
Parameters:
  htmlPage - The page that contains this element
Parameters:
  attributes - the initial attributes



HtmlForm
HtmlForm(String namespaceURI, String qualifiedName, HtmlPage htmlPage, Map attributes)(Code)
Create an instance
Parameters:
  namespaceURI - the URI that identifies an XML namespace.
Parameters:
  qualifiedName - The qualified name of the element type to instantiate
Parameters:
  htmlPage - The page that contains this element
Parameters:
  attributes - the initial attributes




Method Detail
fakeCheckedRadioButton
final public void fakeCheckedRadioButton(String name, String value) throws ElementNotFoundException(Code)
Set the "selected radio button" to a value that doesn't actually exist in the page. This is useful primarily for testing error cases.
Parameters:
  name - The name of the radio buttons
Parameters:
  value - The value to match
exception:
  ElementNotFoundException - If a particular xml element could not be found in the dom model



getAcceptAttribute
final public String getAcceptAttribute()(Code)
Return the value of the attribute "accept". Refer to the HTML 4.01 documentation for details on the use of this attribute. The value of the attribute "accept" or an empty string if that attribute isn't defined.



getAcceptCharsetAttribute
final public String getAcceptCharsetAttribute()(Code)
Return the value of the attribute "accept-charset". Refer to the HTML 4.01 documentation for details on the use of this attribute. The value of the attribute "accept-charset" or an empty string if that attribute isn't defined.



getActionAttribute
final public String getActionAttribute()(Code)
Return the value of the attribute "action". Refer to the HTML 4.01 documentation for details on the use of this attribute. The value of the attribute "action" or an empty string if that attribute isn't defined.



getButtonByName
public HtmlButton getButtonByName(String name) throws ElementNotFoundException(Code)
Find the first button element with the specified name.
Parameters:
  name - The name of the button element. The first button.
throws:
  ElementNotFoundException - If the button cannot be found.



getButtonsByName
public List getButtonsByName(String name) throws ElementNotFoundException(Code)
Return all the HtmlButtons that match the specified name
Parameters:
  name - The name See above
exception:
  ElementNotFoundException - If no matching buttons were found



getCheckedRadioButton
public HtmlRadioButtonInput getCheckedRadioButton(String name)(Code)
Return the first checked radio button with the specified name. If none of the radio buttons by that name are checked then return null.
Parameters:
  name - The name of the radio button The first checked radio button.



getEnctypeAttribute
final public String getEnctypeAttribute()(Code)
Return the value of the attribute "enctype". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Enctype is the encoding type used when submitting a form back to the server The value of the attribute "enctype" or an empty string if that attribute isn't defined.




getInputByName
final public HtmlInput getInputByName(String name) throws ElementNotFoundException(Code)
Return the first input with the specified name
Parameters:
  name - The name of the input The input
throws:
  ElementNotFoundException - If no inputs could be found with the specified name.



getInputByValue
public HtmlInput getInputByValue(String value) throws ElementNotFoundException(Code)
Return the first input with the specified value.
Parameters:
  value - The value The first input with the specified value.
throws:
  ElementNotFoundException - If no elements can be found with the specified value.



getInputsByName
public List getInputsByName(String name)(Code)
Return the input tags that have the specified name
Parameters:
  name - The name of the input A list of HtmlInputs



getInputsByValue
public List getInputsByValue(String value)(Code)
Return all the inputs with the specified value.
Parameters:
  value - The value all the inputs with the specified value.



getMethodAttribute
final public String getMethodAttribute()(Code)
Return the value of the attribute "method". Refer to the HTML 4.01 documentation for details on the use of this attribute. The value of the attribute "method" or an empty string if thatattribute isn't defined.



getNameAttribute
final public String getNameAttribute()(Code)
Return the value of the attribute "name". Refer to the HTML 4.01 documentation for details on the use of this attribute. The value of the attribute "name" or an empty string if that attribute isn't defined.



getOnResetAttribute
final public String getOnResetAttribute()(Code)
Return the value of the attribute "onreset". Refer to the HTML 4.01 documentation for details on the use of this attribute. The value of the attribute "onreset" or an empty string if that attribute isn't defined.



getOnSubmitAttribute
final public String getOnSubmitAttribute()(Code)
Return the value of the attribute "onsubmit". Refer to the HTML 4.01 documentation for details on the use of this attribute. The value of the attribute "onsubmit" or an empty string if that attribute isn't defined.



getParameterListForSubmit
final public List getParameterListForSubmit(SubmittableElement submitElement)(Code)
Return a list of KeyValuePair s that represent the data that will be sent to the server on a form submit. This is primarily intended to aid debugging.
Parameters:
  submitElement - The element that would have been pressed to submit theform or null if the form was submitted by javascript. The list of KeyValuePairs.



getRadioButtonInput
public HtmlRadioButtonInput getRadioButtonInput(String name, String value) throws ElementNotFoundException(Code)
Return the "radio" type input field that matches the specified name and value
Parameters:
  name - The name of the HtmlInput
Parameters:
  value - The value of the HtmlInput See above
exception:
  ElementNotFoundException - If the field could not be foundHtmlForm.getByXPath(String)



getRadioButtonsByName
public List getRadioButtonsByName(String name)(Code)
Return a list of HtmlInputs that are of type radio and match the specified name
Parameters:
  name - The name See above



getSelectByName
public HtmlSelect getSelectByName(String name) throws ElementNotFoundException(Code)
Find the first select element with the specified name
Parameters:
  name - The name of the select element The first select.
throws:
  ElementNotFoundException - If the select cannot be found.



getSelectsByName
public List getSelectsByName(String name)(Code)
Return all the HtmlSelect that match the specified name
Parameters:
  name - The name See above



getSubmittableElements
public Collection getSubmittableElements(SubmittableElement submitElement)(Code)
Return a collection of elements that represent all the "submittable" elements in this form
Parameters:
  submitElement - The element that would have been pressed to submit theform or null if the form was submitted by javascript. See above



getTargetAttribute
final public String getTargetAttribute()(Code)
Return the value of the attribute "target". Refer to the HTML 4.01 documentation for details on the use of this attribute. The value of the attribute "target" or an empty string if that attribute isn't defined.



getTextAreaByName
public HtmlTextArea getTextAreaByName(String name) throws ElementNotFoundException(Code)
Find the first textarea element with the specified name.
Parameters:
  name - The name of the textarea element. The first textarea.
throws:
  ElementNotFoundException - If the textarea cannot be found.



getTextAreasByName
public List getTextAreasByName(String name)(Code)
Return all the HtmlTextAreas that match the specified name
Parameters:
  name - The name See above



reset
public Page reset()(Code)
Reset this form to its initial values. The page that is loaded at the end of calling this method. Typically thiswill be the same page that had been loaded previously but since javascript mighthave run, this isn't guaranteed.



setActionAttribute
final public void setActionAttribute(String action)(Code)
Set the value of the attribute "action". Refer to the HTML 4.01 documentation for details on the use of this attribute.
Parameters:
  action - The value of the attribute "action"



setCheckedRadioButton
public void setCheckedRadioButton(String name, String value) throws ElementNotFoundException(Code)
Select the specified radio button in the form.

Only a radio button that is actually contained in the form can be selected. If you need to be able to select a button that really isn't there (ie during testing of error cases) then use HtmlForm.fakeCheckedRadioButton(String,String) instead
Parameters:
  name - The name of the radio buttons
Parameters:
  value - The value to match
exception:
  ElementNotFoundException - If the specified element could not be foundHtmlForm.getByXPath(String)




setCheckedRadioButton
void setCheckedRadioButton(HtmlRadioButtonInput radioButtonInput)(Code)
Select the specified radio button in the form. Only a radio button that is actually contained in the form can be selected.
Parameters:
  radioButtonInput - The radio Button



setEnctypeAttribute
final public void setEnctypeAttribute(String encoding)(Code)
Set the value of the attribute "enctype". Refer to the HTML 4.01 documentation for details on the use of this attribute.

Enctype is the encoding type used when submitting a form back to the server
Parameters:
  encoding - The value of the attribute "enctype" or an empty string if that attribute isn't defined.




setMethodAttribute
final public void setMethodAttribute(String method)(Code)
Set the value of the attribute "method". Refer to the HTML 4.01 documentation for details on the use of this attribute.
Parameters:
  method - The value of the attribute "method" or an empty string if that attribute isn't defined.



setNameAttribute
final public void setNameAttribute(String name)(Code)
Set the value of the attribute "name". Refer to the HTML 4.01 documentation for details on the use of this attribute.


Parameters:
  name - the new value




setTargetAttribute
final public void setTargetAttribute(String target)(Code)
Set the value of the attribute "target". Refer to the HTML 4.01 documentation for details on the use of this attribute.
Parameters:
  target - The value of the attribute "target" or an empty string if that attribute isn't defined.



submit
public Page submit(String buttonName) throws IOException, ElementNotFoundException(Code)
Submit this form to the appropriate server as if a submit button had been pressed
Parameters:
  buttonName - The name of a submit input element or a button elementwhich will be sent back up with the response A new Page that reflects the results of this submission
throws:
  IOException - If an IO error occurs
throws:
  ElementNotFoundException - If a button with the specified name cannot be found.SubmittableElement



submit
public Page submit() throws IOException(Code)
Submit this form to the appropriate server as if it had been submitted by javascript - i.e. no submit buttons were pressed. Note that because we are simulating a javascript submit, the onsubmit handler will not get executed. A new Page that reflects the results of this submission
exception:
  IOException - If an IO error occursSubmittableElement



submit
public Page submit(SubmittableElement submitElement) throws IOException(Code)
INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Submit this form to the appropriate server. If submitElement is null then treat this as if it was called by javascript. In this case, the onsubmit handler will not get executed.
Parameters:
  submitElement - The element that caused the submit to occur A new Page that reflects the results of this submission
exception:
  IOException - If an IO error occurs



Methods inherited from com.gargoylesoftware.htmlunit.html.ClickableElement
public Page click() throws IOException(Code)(Java Doc)
public Page click(boolean shiftKey, boolean ctrlKey, boolean altKey) throws IOException(Code)(Java Doc)
public Page click(Event event) throws IOException(Code)(Java Doc)
public Page dblClick() throws IOException(Code)(Java Doc)
public Page dblClick(boolean shiftKey, boolean ctrlKey, boolean altKey) throws IOException(Code)(Java Doc)
protected Page doClickAction(Page defaultPage) throws IOException(Code)(Java Doc)
final public String getLangAttribute()(Code)(Java Doc)
final public String getOnClickAttribute()(Code)(Java Doc)
final public String getOnDblClickAttribute()(Code)(Java Doc)
final public String getOnKeyDownAttribute()(Code)(Java Doc)
final public String getOnKeyPressAttribute()(Code)(Java Doc)
final public String getOnKeyUpAttribute()(Code)(Java Doc)
final public String getOnMouseDownAttribute()(Code)(Java Doc)
final public String getOnMouseMoveAttribute()(Code)(Java Doc)
final public String getOnMouseOutAttribute()(Code)(Java Doc)
final public String getOnMouseOverAttribute()(Code)(Java Doc)
final public String getOnMouseUpAttribute()(Code)(Java Doc)
final public String getTextDirectionAttribute()(Code)(Java Doc)
final public String getXmlLangAttribute()(Code)(Java Doc)
protected boolean isStateUpdateFirst()(Code)(Java Doc)

Methods inherited from com.gargoylesoftware.htmlunit.html.StyledElement
final public String getClassAttribute()(Code)(Java Doc)
final public String getIdAttribute()(Code)(Java Doc)
final public String getStyleAttribute()(Code)(Java Doc)
final public String getTitleAttribute()(Code)(Java Doc)
protected boolean isRenderedVisible()(Code)(Java Doc)

Fields inherited from com.gargoylesoftware.htmlunit.html.HtmlElement
final public static String ATTRIBUTE_NOT_DEFINED(Code)(Java Doc)
final public static String ATTRIBUTE_VALUE_EMPTY(Code)(Java Doc)
final public static Short TAB_INDEX_OUT_OF_BOUNDS(Code)(Java Doc)

Methods inherited from com.gargoylesoftware.htmlunit.html.HtmlElement
static HtmlAttr addAttributeToMap(HtmlPage page, Map attributeMap, String namespaceURI, String qualifiedName, String value)(Code)(Java Doc)
public void addHtmlAttributeChangeListener(HtmlAttributeChangeListener listener)(Code)(Java Doc)
final public HtmlElement appendChildIfNoneExists(String tagName)(Code)(Java Doc)
final protected void assertNotEmpty(String description, String string) throws IllegalArgumentException(Code)(Java Doc)
public void blur()(Code)(Java Doc)
public DomNode cloneDomNode(boolean deep)(Code)(Java Doc)
public DomNode cloneNode(boolean deep)(Code)(Java Doc)
static Map createAttributeMap(int attributeCount)(Code)(Java Doc)
public ScriptResult fireEvent(String eventType)(Code)(Java Doc)
public ScriptResult fireEvent(Event event)(Code)(Java Doc)
protected void fireHtmlAttributeAdded(HtmlAttributeChangeEvent event)(Code)(Java Doc)
protected void fireHtmlAttributeRemoved(HtmlAttributeChangeEvent event)(Code)(Java Doc)
protected void fireHtmlAttributeReplaced(HtmlAttributeChangeEvent event)(Code)(Java Doc)
public void focus()(Code)(Java Doc)
final public String getAttribute(String attributeName)(Code)(Java Doc)
public Iterator getAttributeEntriesIterator()(Code)(Java Doc)
final public String getAttributeNS(String namespaceURI, String localName)(Code)(Java Doc)
final public String getAttributeValue(String attributeName)(Code)(Java Doc)
final public Iterator getChildElementsIterator()(Code)(Java Doc)
public HtmlElement getEnclosingElement(String tagName)(Code)(Java Doc)
public HtmlForm getEnclosingForm()(Code)(Java Doc)
public HtmlForm getEnclosingFormOrDie() throws IllegalStateException(Code)(Java Doc)
final public Function getEventHandler(String eventName)(Code)(Java Doc)
public HtmlElement getHtmlElementById(String id) throws ElementNotFoundException(Code)(Java Doc)
final public List getHtmlElementsByAttribute(String elementName, String attributeName, String attributeValue)(Code)(Java Doc)
final public List getHtmlElementsByTagName(String tagName)(Code)(Java Doc)
final public List getHtmlElementsByTagNames(List acceptableTagNames)(Code)(Java Doc)
final public String getId()(Code)(Java Doc)
public String getNodeName()(Code)(Java Doc)
public short getNodeType()(Code)(Java Doc)
final public HtmlElement getOneHtmlElementByAttribute(String elementName, String attributeName, String attributeValue) throws ElementNotFoundException(Code)(Java Doc)
public Short getTabIndex()(Code)(Java Doc)
public String getTagName()(Code)(Java Doc)
final public boolean hasAttribute(String attributeName)(Code)(Java Doc)
final public boolean hasAttributeNS(String namespaceURI, String localName)(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public boolean hasHtmlElementWithId(String id)(Code)(Java Doc)
public boolean isAttributeDefined(String attributeName)(Code)(Java Doc)
protected boolean isEmptyXmlTagExpanded()(Code)(Java Doc)
protected boolean isSubmittableByEnter()(Code)(Java Doc)
public void keyDown(int keyCode)(Code)(Java Doc)
public void keyDown(int keyCode, boolean shiftKey, boolean ctrlKey, boolean altKey)(Code)(Java Doc)
public Page mouseDown()(Code)(Java Doc)
public Page mouseDown(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)(Code)(Java Doc)
public Page mouseMove()(Code)(Java Doc)
public Page mouseMove(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)(Code)(Java Doc)
public Page mouseOut()(Code)(Java Doc)
public Page mouseOut(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)(Code)(Java Doc)
public Page mouseOver()(Code)(Java Doc)
public Page mouseOver(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)(Code)(Java Doc)
public Page mouseUp()(Code)(Java Doc)
public Page mouseUp(boolean shiftKey, boolean ctrlKey, boolean altKey, int button)(Code)(Java Doc)
final protected void notImplemented()(Code)(Java Doc)
protected void preventDefault()(Code)(Java Doc)
protected void printOpeningTagContentAsXml(PrintWriter printWriter)(Code)(Java Doc)
protected void printXml(String indent, PrintWriter printWriter)(Code)(Java Doc)
final public void removeAttribute(String attributeName)(Code)(Java Doc)
final public void removeAttributeNS(String namespaceURI, String localName)(Code)(Java Doc)
final public void removeChild(String tagName, int i)(Code)(Java Doc)
final public void removeEventHandler(String eventName)(Code)(Java Doc)
public void removeHtmlAttributeChangeListener(HtmlAttributeChangeListener listener)(Code)(Java Doc)
public Page rightClick()(Code)(Java Doc)
public Page rightClick(boolean shiftKey, boolean ctrlKey, boolean altKey)(Code)(Java Doc)
final public void setAttribute(String attributeName, String attributeValue)(Code)(Java Doc)
final public void setAttributeNS(String namespaceURI, String qualifiedName, String attributeValue)(Code)(Java Doc)
final public void setAttributeValue(String attributeName, String attributeValue)(Code)(Java Doc)
public void setAttributeValue(String namespaceURI, String qualifiedName, String attributeValue)(Code)(Java Doc)
final public void setEventHandler(String eventName, Function eventHandler)(Code)(Java Doc)
final public void setEventHandler(String eventName, String jsSnippet)(Code)(Java Doc)
final public void setId(String newId)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public void type(String text) throws IOException(Code)(Java Doc)
public void type(String text, boolean shiftKey, boolean ctrlKey, boolean altKey) throws IOException(Code)(Java Doc)
public Page type(char c) throws IOException(Code)(Java Doc)
public Page type(char c, boolean shiftKey, boolean ctrlKey, boolean altKey) throws IOException(Code)(Java Doc)


Methods inherited from com.gargoylesoftware.htmlunit.html.DomNamespaceNode
public String getLocalName()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public String getQualifiedName()(Code)(Java Doc)
public void setPrefix(String prefix)(Code)(Java Doc)

Fields inherited from com.gargoylesoftware.htmlunit.html.DomNode
final public static short ATTRIBUTE_NODE(Code)(Java Doc)
final public static short COMMENT_NODE(Code)(Java Doc)
final public static short DOCUMENT_NODE(Code)(Java Doc)
final public static short ELEMENT_NODE(Code)(Java Doc)
final public static String PROPERTY_ELEMENT(Code)(Java Doc)
final public static String READY_STATE_COMPLETE(Code)(Java Doc)
final public static String READY_STATE_INTERACTIVE(Code)(Java Doc)
final public static String READY_STATE_LOADED(Code)(Java Doc)
final public static String READY_STATE_LOADING(Code)(Java Doc)
final public static String READY_STATE_UNINITIALIZED(Code)(Java Doc)
final public static short TEXT_NODE(Code)(Java Doc)

Methods inherited from com.gargoylesoftware.htmlunit.html.DomNode
public void addDomChangeListener(DomChangeListener listener)(Code)(Java Doc)
final public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public DomNode appendChild(DomNode node)(Code)(Java Doc)
public DomNode appendDomChild(DomNode node)(Code)(Java Doc)
public String asText()(Code)(Java Doc)
public String asXml()(Code)(Java Doc)
public DomNode cloneDomNode(boolean deep)(Code)(Java Doc)
public DomNode cloneNode(boolean deep)(Code)(Java Doc)
protected void fireNodeAdded(DomNode parentNode, DomNode addedNode)(Code)(Java Doc)
protected void fireNodeDeleted(DomNode parentNode, DomNode deletedNode)(Code)(Java Doc)
final protected synchronized void firePropertyChange(String propertyName, Object oldValue, Object newValue)(Code)(Java Doc)
public Iterator getAllHtmlChildElements()(Code)(Java Doc)
public List getByXPath(String xpathExpr) throws JaxenException(Code)(Java Doc)
public Iterator getChildIterator()(Code)(Java Doc)
final protected String getChildrenAsText()(Code)(Java Doc)
public int getEndColumnNumber()(Code)(Java Doc)
public int getEndLineNumber()(Code)(Java Doc)
public Function getEventHandler(String eventName)(Code)(Java Doc)
public Object getFirstByXPath(String xpathExpr) throws JaxenException(Code)(Java Doc)
public DomNode getFirstChild()(Code)(Java Doc)
public DomNode getFirstDomChild()(Code)(Java Doc)
public DomNode getLastChild()(Code)(Java Doc)
public DomNode getLastDomChild()(Code)(Java Doc)
public String getLocalName()(Code)(Java Doc)
final protected Log getLog()(Code)(Java Doc)
public String getNamespaceURI()(Code)(Java Doc)
public Page getNativePage()(Code)(Java Doc)
public DomNode getNextDomSibling()(Code)(Java Doc)
public DomNode getNextSibling()(Code)(Java Doc)
abstract public String getNodeName()(Code)(Java Doc)
abstract public short getNodeType()(Code)(Java Doc)
public String getNodeValue()(Code)(Java Doc)
public HtmlPage getPage()(Code)(Java Doc)
public DomNode getParentDomNode()(Code)(Java Doc)
public DomNode getParentNode()(Code)(Java Doc)
public String getPrefix()(Code)(Java Doc)
public DomNode getPreviousDomSibling()(Code)(Java Doc)
public DomNode getPreviousSibling()(Code)(Java Doc)
public String getReadyState()(Code)(Java Doc)
public ScriptableObject getScriptObject()(Code)(Java Doc)
public int getStartColumnNumber()(Code)(Java Doc)
public int getStartLineNumber()(Code)(Java Doc)
public boolean hasAttributes()(Code)(Java Doc)
public void insertBefore(DomNode newNode) throws IllegalStateException(Code)(Java Doc)
public boolean isAncestorOf(DomNode node)(Code)(Java Doc)
protected boolean isRenderedVisible()(Code)(Java Doc)
protected boolean isTrimmedText()(Code)(Java Doc)
protected void notifyIncorrectness(String message)(Code)(Java Doc)
protected void onAddedToPage()(Code)(Java Doc)
protected void onAllChildrenAddedToPage()(Code)(Java Doc)
protected void printChildrenAsXml(String indent, PrintWriter printWriter)(Code)(Java Doc)
protected void printXml(String indent, PrintWriter printWriter)(Code)(Java Doc)
protected static String reduceWhitespace(String text)(Code)(Java Doc)
public void remove() throws IllegalStateException(Code)(Java Doc)
public void removeAllChildren()(Code)(Java Doc)
public void removeDomChangeListener(DomChangeListener listener)(Code)(Java Doc)
public void removeEventHandler(String eventName)(Code)(Java Doc)
final public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code)(Java Doc)
public void replace(DomNode newNode) throws IllegalStateException(Code)(Java Doc)
void setEndLocation(int endLineNumber, int endColumnNumber)(Code)(Java Doc)
public void setEventHandler(String eventName, Function eventHandler)(Code)(Java Doc)
public void setEventHandler(String eventName, String jsSnippet)(Code)(Java Doc)
protected void setNextSibling(DomNode next)(Code)(Java Doc)
public void setNodeValue(String x)(Code)(Java Doc)
protected void setParentNode(DomNode parent)(Code)(Java Doc)
public void setPrefix(String prefix)(Code)(Java Doc)
protected void setPreviousSibling(DomNode previous)(Code)(Java Doc)
public void setReadyState(String state)(Code)(Java Doc)
public void setScriptObject(ScriptableObject scriptObject)(Code)(Java Doc)
void setStartLocation(int startLineNumber, int startColumnNumber)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.