public class HTMLFormElement extends HTMLElement
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
HTMLFormElement()
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
Object |
get(int index,
org.mozilla.javascript.Scriptable start)
Return the specified indexed property
|
protected Object |
getWithPreemption(String name)
Overridden to allow the retrieval of certain form elements by ID or name.
|
void |
jsConstructor()
Javascript constructor.
|
void |
jsxFunction_reset()
Reset this form
|
void |
jsxFunction_submit()
Submit the form.
|
String |
jsxGet_action()
Return the value of the javascript attribute "action".
|
HTMLCollection |
jsxGet_elements()
Return the value of the javascript attribute "elements".
|
String |
jsxGet_encoding()
Return the value of the javascript attribute "encoding".
|
int |
jsxGet_length()
Return the value of the javascript attribute "length".
|
String |
jsxGet_method()
Return the value of the javascript attribute "method".
|
String |
jsxGet_name()
Return the value of the javascript attribute "name".
|
Object |
jsxGet_onsubmit()
Get the onsubmit event handler for this element.
|
String |
jsxGet_target()
Return the value of the javascript attribute "target".
|
void |
jsxSet_action(String action)
Set the value of the javascript attribute "action".
|
void |
jsxSet_encoding(String encoding)
Set the value of the javascript attribute "encoding".
|
void |
jsxSet_method(String method)
Set the value of the javascript attribute "method".
|
void |
jsxSet_name(String name)
Set the value of the javascript attribute "name".
|
void |
jsxSet_onsubmit(Object onsubmit)
Set the onsubmit event handler for this element.
|
void |
jsxSet_target(String target)
Set the value of the javascript attribute "target".
|
void |
setHtmlElement(HtmlElement htmlElement)
Set the html element that corresponds to this javascript object
|
addComponentRequest, clearComponentRequest, compareVersions, doComponentRequest, getAvailHeight, getAvailWidth, getBoxObject, getBufferDepth, getColorDepth, getComponentVersion, getConnectionType, getCookieEnabled, getCpuClass, getHeight, getHtmlElementOrDie, getHtmlElementOrNull, getJavaEnabled, getPlatform, getSystemLanguage, getUserLanguage, getWidth, getWithFallback, isComponentInstalled, isHomePage, jsxFunction_addBehavior, jsxFunction_blur, jsxFunction_dispatchEvent, jsxFunction_fireEvent, jsxFunction_focus, jsxFunction_getAttribute, jsxFunction_getAttributeNode, jsxFunction_getAttributeNS, jsxFunction_getBoundingClientRect, jsxFunction_getClientRects, jsxFunction_getElementsByTagName, jsxFunction_hasAttribute, jsxFunction_hasAttributeNS, jsxFunction_insertAdjacentElement, jsxFunction_insertAdjacentHTML, jsxFunction_removeAttribute, jsxFunction_removeBehavior, jsxFunction_removeExpression, jsxFunction_scrollIntoView, jsxFunction_setAttribute, jsxFunction_setAttributeNode, jsxFunction_setAttributeNS, jsxFunction_setExpression, jsxGet_all, jsxGet_attributes, jsxGet_children, jsxGet_className, jsxGet_currentStyle, jsxGet_disabled, jsxGet_id, jsxGet_innerHTML, jsxGet_innerText, jsxGet_localName, jsxGet_namespaceURI, jsxGet_offsetHeight, jsxGet_offsetLeft, jsxGet_offsetParent, jsxGet_offsetTop, jsxGet_offsetWidth, jsxGet_onblur, jsxGet_onclick, jsxGet_oncontextmenu, jsxGet_ondblclick, jsxGet_onfocus, jsxGet_onkeydown, jsxGet_onkeypress, jsxGet_onkeyup, jsxGet_onmousedown, jsxGet_onmousemove, jsxGet_onmouseout, jsxGet_onmouseover, jsxGet_onmouseup, jsxGet_onresize, jsxGet_outerHTML, jsxGet_ownerDocument, jsxGet_parentElement, jsxGet_prefix, jsxGet_runtimeStyle, jsxGet_scrollHeight, jsxGet_scrollLeft, jsxGet_scrollTop, jsxGet_scrollWidth, jsxGet_style, jsxGet_tagName, jsxGet_title, jsxGet_uniqueID, jsxSet_className, jsxSet_disabled, jsxSet_id, jsxSet_innerHTML, jsxSet_innerText, jsxSet_onblur, jsxSet_onclick, jsxSet_oncontextmenu, jsxSet_ondblclick, jsxSet_onfocus, jsxSet_onkeydown, jsxSet_onkeypress, jsxSet_onkeyup, jsxSet_onmousedown, jsxSet_onmousemove, jsxSet_onmouseout, jsxSet_onmouseover, jsxSet_onmouseup, jsxSet_onresize, jsxSet_outerHTML, jsxSet_scrollLeft, jsxSet_scrollTop, jsxSet_title, navigateHomePage, readAttributes, setDomNode, setHomePage, startDownload, toString
executeEvent, fireEvent, getEventHandler, getEventHandlerProp, getJavaScriptNode, jsxFunction_addEventListener, jsxFunction_appendChild, jsxFunction_attachEvent, jsxFunction_cloneNode, jsxFunction_detachEvent, jsxFunction_hasChildNodes, jsxFunction_insertBefore, jsxFunction_isSameNode, jsxFunction_removeChild, jsxFunction_removeEventListener, jsxFunction_replaceChild, jsxGet_childNodes, jsxGet_firstChild, jsxGet_lastChild, jsxGet_nextSibling, jsxGet_nodeName, jsxGet_nodeType, jsxGet_nodeValue, jsxGet_parentNode, jsxGet_previousSibling, jsxSet_nodeValue, setEventHandler, setEventHandlerProp
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getIntArg, getLog, getObjectArg, getPrototype, getScriptableFor, getStartingScope, getStringArg, getTransformerScriptableFor, getWindow, getWindow, makeScriptableFor, setDomNode
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
public HTMLFormElement()
public final void jsConstructor()
public void setHtmlElement(HtmlElement htmlElement)
setHtmlElement
in class SimpleScriptable
htmlElement
- The html elementpublic String jsxGet_name()
public void jsxSet_name(String name)
name
- The new value.public HTMLCollection jsxGet_elements()
public int jsxGet_length()
public String jsxGet_action()
public void jsxSet_action(String action)
action
- The new value.public String jsxGet_method()
public void jsxSet_method(String method)
method
- The new value.public String jsxGet_target()
public Object jsxGet_onsubmit()
org.mozilla.javascript.Function
public void jsxSet_onsubmit(Object onsubmit)
onsubmit
- the new handlerpublic void jsxSet_target(String target)
target
- The new value.public String jsxGet_encoding()
public void jsxSet_encoding(String encoding)
encoding
- The new value.public void jsxFunction_submit() throws IOException
IOException
- if an io error occurspublic void jsxFunction_reset()
protected Object getWithPreemption(String name)
getWithPreemption
in class SimpleScriptable
name
- the property nameScriptable.NOT_FOUND
if not foundpublic Object get(int index, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
get
in class org.mozilla.javascript.ScriptableObject
index
- The index of the propertystart
- The scriptable object that was originally queried for this propertyCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.