jaxcent
Class HtmlInputHidden

java.lang.Object
  extended byjaxcent.JaxcentObject
      extended byjaxcent.JaxcentHtmlElement
          extended byjaxcent.HtmlInputHidden

public class HtmlInputHidden
extends JaxcentHtmlElement

The class HtmlInputHidden corresponds to INPUT tags of TYPE HIDDEN on the page.


Constructor Summary
HtmlInputHidden(JaxcentPage page, SearchType searchType, java.lang.String str)
          Search for HTML element on page by specified search type and search string.
HtmlInputHidden(JaxcentPage page, SearchType searchType, java.lang.String[] attributes, java.lang.String[] values)
          Create new HTML element on page using the specified attributes and values.
HtmlInputHidden(JaxcentPage page, SearchType searchType, java.lang.String str, int index)
          Search for HTML Element on page by specified search type and search string, and search index.
HtmlInputHidden(JaxcentPage page, SearchType searchType, java.lang.String tag, java.lang.String text)
          Create new HTML Element on page using the specified tag.
HtmlInputHidden(JaxcentPage page, SearchType searchType, java.lang.String text, java.lang.String[] attributes, java.lang.String[] values)
          Create new HTML element on page using the specified text and attributes and values.
HtmlInputHidden(JaxcentPage page, java.lang.String id)
          Search for HTML element on page by specified ID
 
Method Summary
 java.lang.String getName()
          Retrieve the "name" property
 java.lang.String getValue()
          Retrieve the "value" property
 void setValue(java.lang.String value)
          Set the "value" property
 
Methods inherited from class jaxcent.JaxcentHtmlElement
getAttribute, getID, getInnerText, getStyle, getTag, hide, insertAfter, insertAtBeginning, insertAtBeginning, insertAtEnd, insertAtEnd, insertBefore, setAttribute, setInnerText, setStyle, setStyle, setStyle, setStyle, setVisible, show
 
Methods inherited from class jaxcent.JaxcentObject
addJavaScriptVerification, getId, getProperty, setId, setProperty, setProperty, setProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlInputHidden

public HtmlInputHidden(JaxcentPage page,
                       java.lang.String id)
Search for HTML element on page by specified ID


HtmlInputHidden

public HtmlInputHidden(JaxcentPage page,
                       SearchType searchType,
                       java.lang.String str)
Search for HTML element on page by specified search type and search string. If the search returns multiple objects, use the first one. If the searchType is createNew and the thrid parameter is non null, the third parameter specifies the value attribute.


HtmlInputHidden

public HtmlInputHidden(JaxcentPage page,
                       SearchType searchType,
                       java.lang.String str,
                       int index)
Search for HTML Element on page by specified search type and search string, and search index. The search is expected to return multiple results. The search index is 0-based, and specifies the index in the multiple results. This constructor is not for use with createNew.


HtmlInputHidden

public HtmlInputHidden(JaxcentPage page,
                       SearchType searchType,
                       java.lang.String tag,
                       java.lang.String text)
                throws Jaxception
Create new HTML Element on page using the specified tag. Search type must be createNew and tag must be "INPUT". If text is non null, the new element is populated with that text.


HtmlInputHidden

public HtmlInputHidden(JaxcentPage page,
                       SearchType searchType,
                       java.lang.String[] attributes,
                       java.lang.String[] values)
                throws Jaxception
Create new HTML element on page using the specified attributes and values. Search type must be createNew. Attributes and values arrays must have the same length.


HtmlInputHidden

public HtmlInputHidden(JaxcentPage page,
                       SearchType searchType,
                       java.lang.String text,
                       java.lang.String[] attributes,
                       java.lang.String[] values)
                throws Jaxception
Create new HTML element on page using the specified text and attributes and values. Search type must be createNew. Attributes and values arrays must have the same length.

Method Detail

getName

public java.lang.String getName()
                         throws Jaxception
Retrieve the "name" property

Throws:
Jaxception

setValue

public void setValue(java.lang.String value)
              throws Jaxception
Set the "value" property

Throws:
Jaxception

getValue

public java.lang.String getValue()
                          throws Jaxception
Retrieve the "value" property

Throws:
Jaxception