|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--websphinx.Region
|
+--websphinx.Element
|
+--websphinx.Link
|
+--websphinx.FormButton
Button element in an HTML form -- for example, <INPUT TYPE=submit> or <INPUT TYPE=image>.
Page,
Link| Field Summary |
| Fields inherited from class websphinx.Link |
GET, POST, url |
| Fields inherited from class websphinx.Element |
child, endTag, parent, sibling, startTag |
| Fields inherited from class websphinx.Region |
end, names, source, start, TRUE |
| Constructor Summary | |
FormButton(Tag startTag,
Tag endTag,
Form form)
Make a LinkElement from a start tag and end tag and its containing form. |
|
| Method Summary | |
Form |
getForm()
Get the form. |
int |
getMethod()
Get the method used to access this link. |
java.net.URL |
getURL()
Get the URL. |
protected java.net.URL |
urlFromHref(Tag tag,
java.net.URL base)
Construct the URL for this button, from its start tag and a base URL (for relative references). |
| Methods inherited from class websphinx.Link |
discardContent, disconnect, FileToURL, getDepth, getDirectory, getDirectoryURL, getDirectoryURL, getDownloadParameters, getFile, getFilename, getHost, getPage, getPageURL, getPageURL, getParentURL, getParentURL, getPort, getPriority, getProtocol, getQuery, getRef, getServiceURL, getServiceURL, getStatus, relativeTo, relativeTo, replaceHref, setDownloadParameters, setPage, setPriority, setStatus, setText, toDescription, toText, toURL, toURLDelimiters, URLToFile |
| Methods inherited from class websphinx.Element |
enumerateHTMLAttributes, getChild, getEndTag, getHTMLAttribute, getHTMLAttribute, getNext, getParent, getSibling, getStartTag, getTagName, hasHTMLAttribute |
| Methods inherited from class websphinx.Region |
enumerateObjectLabels, findEnd, findStart, getEnd, getField, getFields, getLabel, getLabel, getLength, getNumericLabel, getObjectLabel, getObjectLabels, getRootElement, getSource, getStart, hasAllLabels, hasAllLabels, hasAnyLabels, hasAnyLabels, hasLabel, removeLabel, setField, setFields, setLabel, setLabel, setObjectLabel, span, toHTML, toString, toTags |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FormButton(Tag startTag,
Tag endTag,
Form form)
throws java.net.MalformedURLException
startTag - Start tag of buttonendTag - End tag of button (or null if none)form - Form containing this button| Method Detail |
public java.net.URL getURL()
getURL in class Linkpublic Form getForm()
public int getMethod()
getMethod in class Link
protected java.net.URL urlFromHref(Tag tag,
java.net.URL base)
throws java.net.MalformedURLException
urlFromHref in class Linktag - Start tag of button, such as <INPUT TYPE=submit>.base - Base URL used for relative references
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||