public class HTMLFormElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLFormElement, FormScriptable
UNSPECIFIED_ATTRIBUTE
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
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 and Description |
---|
HTMLFormElementImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
get(String propertyName,
org.mozilla.javascript.Scriptable scriptable) |
String |
getAcceptCharset() |
String |
getAction() |
org.w3c.dom.html.HTMLCollection |
getElements() |
String |
getEnctype() |
int |
getLength() |
String |
getMethod() |
String |
getName()
getter for the name
|
String |
getTarget() |
void |
reset() |
void |
setAcceptCharset(String acceptCharset) |
void |
setAction(String action)
set the action
|
void |
setEnctype(String enctype) |
void |
setMethod(String method) |
void |
setName(String name) |
void |
setParameterValue(String name,
String value)
set the value of a parameter
|
void |
setTarget(String target) |
void |
submit() |
click, doClickAction, getAttributeWithDefault, getAttributeWithNoDefault, getBooleanAttribute, getClassName, getDir, getElementsByTagName, getId, getIntegerAttribute, getIntegerAttribute, getLang, getTitle, setAttribute, setAttribute, setClassName, setDir, setId, setLang, setTitle
addDomListener, createElement, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagNameNS, getNodeType, getNodeValue, getSchemaTypeInfo, handleEvent, hasAttribute, hasAttributeNS, hasAttributes, importNode, removeAttribute, removeAttributeNode, removeAttributeNS, reportPropertyChanged, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue
getLocalName, getNamespaceURI, getNodeName, getTagName, initialize, initialize
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getChildIfPermitted, getChildNodes, getElementsByTagNames, getFeature, getFirstChild, getJavaPropertyName, getLastChild, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, initialize, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, preOrderIterator, preOrderIterator, preOrderIteratorAfterNode, preOrderIteratorAfterNode, removeChild, replaceChild, setPrefix, setTextContent, setUserData
clearCaches, createAnonymousFunctionName, has, newScriptingEngine, put
clearErrorMessages, discardDocumentWriteBuffer, doEvent, doEventScript, evaluateExpression, getDocumentWriteBuffer, getErrorMessages, handleScriptException, runScript, supportsScriptLanguage
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
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
doEvent, doEventScript, handleEvent
public Object get(String propertyName, org.mozilla.javascript.Scriptable scriptable)
get
in interface org.mozilla.javascript.Scriptable
get
in class AbstractDomComponent
public String getAcceptCharset()
getAcceptCharset
in interface org.w3c.dom.html.HTMLFormElement
public void setAcceptCharset(String acceptCharset)
setAcceptCharset
in interface org.w3c.dom.html.HTMLFormElement
public String getAction()
getAction
in interface org.w3c.dom.html.HTMLFormElement
public void setAction(String action)
FormScriptable
setAction
in interface FormScriptable
setAction
in interface org.w3c.dom.html.HTMLFormElement
public void setParameterValue(String name, String value)
FormScriptable
setParameterValue
in interface FormScriptable
name
- - the name of the parameter to setvalue
- - the value to use for the parameterpublic String getEnctype()
getEnctype
in interface org.w3c.dom.html.HTMLFormElement
public void setEnctype(String enctype)
setEnctype
in interface org.w3c.dom.html.HTMLFormElement
public String getMethod()
getMethod
in interface org.w3c.dom.html.HTMLFormElement
public void setMethod(String method)
setMethod
in interface org.w3c.dom.html.HTMLFormElement
public String getName()
getName
in interface org.w3c.dom.html.HTMLFormElement
HTMLFormElement.getName()
public void setName(String name)
setName
in interface org.w3c.dom.html.HTMLFormElement
public String getTarget()
getTarget
in interface org.w3c.dom.html.HTMLFormElement
public void setTarget(String target)
setTarget
in interface org.w3c.dom.html.HTMLFormElement
public org.w3c.dom.html.HTMLCollection getElements()
getElements
in interface org.w3c.dom.html.HTMLFormElement
public int getLength()
getLength
in interface org.w3c.dom.html.HTMLFormElement
public void reset()
reset
in interface org.w3c.dom.html.HTMLFormElement
public void submit()
submit
in interface org.w3c.dom.html.HTMLFormElement
Copyright © 2012. All Rights Reserved.