|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.storm.DynamicObject
ice.pilots.html4.DNode
ice.pilots.html4.DElement
ice.pilots.html4.DFormElement
| Field Summary |
| Fields inherited from class ice.pilots.html4.DNode |
doc, first, last, next, parent, prev |
| Fields inherited from class ice.storm.DynamicObject |
NOT_FOUND, SETD_IGNORE, SETD_NOT_FOUND, SETD_OK |
| Fields inherited from interface org.w3c.dom.Node |
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 Summary | |
protected |
DFormElement(DDocument doc,
int id)
|
| Method Summary | |
void |
do_reset()
|
Object |
execDynamicMethod(String name,
Object[] args,
DynEnv env)
Perform function-like actions for `name' with the given args. |
String |
getAcceptCharset()
List of character sets supported by the server. |
String |
getAction()
Server-side form handler. |
Object |
getDynamicValue(String name,
DynEnv env)
Returns the `key' field or Defs.NOT_FOUND if `name' does not exist. |
HTMLCollection |
getElements()
Returns a collection of all control elements in the form. |
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. |
String |
getMethod()
HTTP method used to submit form. |
Object |
getSlot(int index,
DynEnv env)
|
String |
getTarget()
Frame to render the resource in. |
void |
reset()
Restores a form element's default values. |
void |
setAcceptCharset(String acceptCharset)
|
void |
setAction(String action)
|
int |
setDynamicValue(String name,
Object value,
DynEnv env)
Set field `name' to `value'. |
void |
setEnctype(String enctype)
|
void |
setMethod(String method)
|
void |
setTarget(String target)
|
void |
submit()
Submits the form. |
void |
submit(boolean sendEvent)
Deprecated. Use submit() in place of submit(false) and submitWithEvent() in place of submit(true). |
void |
submitWithEvent()
|
| Methods inherited from class ice.storm.DynamicObject |
deleteSlot, getEnumeratableIds, getMethodPropertySource, getScriptDataLock, getScriptWrapper, hasSlot, javaReflectionTarget, readOnlySlots, script_toSource, script_toString, setScriptWrapperIfAbsent, setSlot |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.html.HTMLFormElement |
getName, setName |
| Methods inherited from interface org.w3c.dom.html.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, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Constructor Detail |
protected DFormElement(DDocument doc,
int id)
| Method Detail |
public HTMLCollection getElements()
HTMLFormElement
getElements in interface HTMLFormElementpublic int getLength()
HTMLFormElement
getLength in interface HTMLFormElementpublic String getAcceptCharset()
HTMLFormElement
getAcceptCharset in interface HTMLFormElementpublic void setAcceptCharset(String acceptCharset)
setAcceptCharset in interface HTMLFormElementpublic String getAction()
HTMLFormElement
getAction in interface HTMLFormElementpublic void setAction(String action)
setAction in interface HTMLFormElementpublic String getEnctype()
HTMLFormElement
getEnctype in interface HTMLFormElementpublic void setEnctype(String enctype)
setEnctype in interface HTMLFormElementpublic String getMethod()
HTMLFormElement
getMethod in interface HTMLFormElementpublic void setMethod(String method)
setMethod in interface HTMLFormElementpublic String getTarget()
HTMLFormElement
getTarget in interface HTMLFormElementpublic void setTarget(String target)
setTarget in interface HTMLFormElementpublic void submit()
HTMLFormElement
submit in interface HTMLFormElementpublic void submit(boolean sendEvent)
submit() in place of submit(false) and submitWithEvent() in place of submit(true).
public void submitWithEvent()
public void reset()
HTMLFormElement
reset in interface HTMLFormElementpublic void do_reset()
public Object getSlot(int index,
DynEnv env)
getSlot in class DynamicObject
public Object getDynamicValue(String name,
DynEnv env)
DynamicObject
getDynamicValue in class DElement
public int setDynamicValue(String name,
Object value,
DynEnv env)
DynamicObject
setDynamicValue in class DElement
public Object execDynamicMethod(String name,
Object[] args,
DynEnv env)
DynamicObject
execDynamicMethod in class DElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||