|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.lobobrowser.js.AbstractScriptableDelegate
org.lobobrowser.html.domimpl.NodeImpl
org.lobobrowser.html.domimpl.ElementImpl
org.lobobrowser.html.domimpl.HTMLElementImpl
org.lobobrowser.html.domimpl.HTMLAbstractUIElement
org.lobobrowser.html.domimpl.HTMLFormElementImpl
public class HTMLFormElementImpl
| Field Summary |
|---|
| Fields inherited from class org.lobobrowser.html.domimpl.ElementImpl |
|---|
attributes |
| Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl |
|---|
document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNode |
| Fields inherited from interface org.w3c.dom.Node |
|---|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Constructor Summary | |
|---|---|
HTMLFormElementImpl()
|
|
HTMLFormElementImpl(java.lang.String name)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAcceptCharset()
List of character sets supported by the server. |
java.lang.String |
getAction()
Server-side form handler. |
HTMLCollection |
getElements()
Returns a collection of all form control elements in the form. |
java.lang.String |
getEnctype()
The content type of the submitted form, generally "application/x-www-form-urlencoded". |
int |
getLength()
The number of form controls in the form. |
java.lang.String |
getMethod()
HTTP method [IETF RFC 2616] used to submit form. |
java.lang.String |
getName()
Names the form. |
org.mozilla.javascript.Function |
getOnsubmit()
|
java.lang.String |
getTarget()
Frame to render the resource in. |
java.lang.Object |
item(int index)
|
java.lang.Object |
namedItem(java.lang.String name)
|
void |
reset()
Restores a form element's default values. |
void |
setAcceptCharset(java.lang.String acceptCharset)
List of character sets supported by the server. |
void |
setAction(java.lang.String action)
Server-side form handler. |
void |
setEnctype(java.lang.String enctype)
The content type of the submitted form, generally "application/x-www-form-urlencoded". |
void |
setMethod(java.lang.String method)
HTTP method [IETF RFC 2616] used to submit form. |
void |
setName(java.lang.String name)
Names the form. |
void |
setOnsubmit(org.mozilla.javascript.Function value)
|
void |
setTarget(java.lang.String target)
Frame to render the resource in. |
void |
submit()
Submits the form. |
void |
submit(FormInput[] extraFormInputs)
This method should be called when form submission is done by a submit button. |
| Methods inherited from class org.lobobrowser.html.domimpl.HTMLAbstractUIElement |
|---|
assignAttributeField, blur, focus, getEventFunction, getOnblur, getOnclick, getOncontextmenu, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, setOnblur, setOnclick, setOncontextmenu, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup |
| Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate |
|---|
getScriptable, setScriptable |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.html2.HTMLElement |
|---|
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
| Methods inherited from interface org.w3c.dom.Element |
|---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
|---|
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Methods inherited from interface org.lobobrowser.html.style.CSS2PropertiesContext |
|---|
informLayoutInvalid, informLookInvalid, informPositionInvalid, informSizeInvalid |
| Constructor Detail |
|---|
public HTMLFormElementImpl(java.lang.String name)
public HTMLFormElementImpl()
| Method Detail |
|---|
public java.lang.Object namedItem(java.lang.String name)
public java.lang.Object item(int index)
public HTMLCollection getElements()
HTMLFormElement
getElements in interface HTMLFormElementpublic int getLength()
HTMLFormElement
getLength in interface HTMLFormElementpublic java.lang.String getName()
HTMLFormElement
getName in interface HTMLFormElementpublic void setName(java.lang.String name)
HTMLFormElement
setName in interface HTMLFormElementpublic java.lang.String getAcceptCharset()
HTMLFormElement
getAcceptCharset in interface HTMLFormElementpublic void setAcceptCharset(java.lang.String acceptCharset)
HTMLFormElement
setAcceptCharset in interface HTMLFormElementpublic java.lang.String getAction()
HTMLFormElement
getAction in interface HTMLFormElementpublic void setAction(java.lang.String action)
HTMLFormElement
setAction in interface HTMLFormElementpublic java.lang.String getEnctype()
HTMLFormElement
getEnctype in interface HTMLFormElementpublic void setEnctype(java.lang.String enctype)
HTMLFormElement
setEnctype in interface HTMLFormElementpublic java.lang.String getMethod()
HTMLFormElement
getMethod in interface HTMLFormElementpublic void setMethod(java.lang.String method)
HTMLFormElement
setMethod in interface HTMLFormElementpublic java.lang.String getTarget()
HTMLFormElement
getTarget in interface HTMLFormElementpublic void setTarget(java.lang.String target)
HTMLFormElement
setTarget in interface HTMLFormElementpublic void submit()
HTMLFormElement
submit in interface HTMLFormElementpublic void setOnsubmit(org.mozilla.javascript.Function value)
public org.mozilla.javascript.Function getOnsubmit()
public final void submit(FormInput[] extraFormInputs)
extraFormInputs - Any additional form inputs that
need to be submitted, e.g. the submit button parameter.public void reset()
HTMLFormElement
reset in interface HTMLFormElement
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||