|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.pushtotest.tool.parser.html.FormElementWrapper
com.pushtotest.tool.parser.html.TextElement
public class TextElement
This is the form element that represents a text field.
| Field Summary | |
|---|---|
static int |
PASSWORD
|
static int |
TEXT
|
| Constructor Summary | |
|---|---|
TextElement()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getType()
The type of this element. |
java.lang.String |
getValueAsString()
The value parameter as a string. |
void |
setType(int type)
Sets the type of this Text element. |
void |
setValueAsString(java.lang.String value)
Sets the value of this form element as a string representation. |
java.lang.String |
toString()
A string representation of this text element. |
| Methods inherited from class com.pushtotest.tool.parser.html.FormElementWrapper |
|---|
getId, getLabel, getName, getParentForm, isXhtml, setId, setLabel, setName, setParentForm |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int TEXT
public static final int PASSWORD
| Constructor Detail |
|---|
public TextElement()
| Method Detail |
|---|
public java.lang.String getType()
getType in interface FormElementgetType in class FormElementWrapperpublic void setType(int type)
TextElement.TEXT or TextElement.PASSWORD
If another integer is passed in, the type will be set to TEXT.
The - type of this text element.public java.lang.String getValueAsString()
getValueAsString in interface FormElementgetValueAsString in class FormElementWrapperpublic void setValueAsString(java.lang.String value)
setValueAsString in interface FormElementsetValueAsString in class FormElementWrappervalue - The value of the form element as a string.public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||