public abstract class FormElement extends DocumentRange
| Constructor and Description |
|---|
FormElement(WebPage source)
Construct a form element from the specified web page.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName() |
Form |
getOwner() |
java.lang.String |
getValue() |
abstract boolean |
isAutoSend() |
void |
setName(java.lang.String theName)
Set the name of this form element.
|
void |
setOwner(Form theOwner)
Set the owner of this form element.
|
void |
setValue(java.lang.String theValue)
Set the value for this form element.
|
java.lang.String |
toString() |
addElement, getBegin, getClassAttribute, getElements, getEnd, getIdAttribute, getParent, getSource, getTextOnly, setBegin, setClassAttribute, setEnd, setIdAttribute, setParent, setSourcepublic FormElement(WebPage source)
source - The page that holds this form element.public final java.lang.String getName()
public final Form getOwner()
public final java.lang.String getValue()
public abstract boolean isAutoSend()
public final void setName(java.lang.String theName)
theName - The name of this form element.public final void setOwner(Form theOwner)
theOwner - The owner of this form element.public final void setValue(java.lang.String theValue)
theValue - The value for this form element.public final java.lang.String toString()
toString in class java.lang.Object