org.kde.koala
Class HTMLFormElement

java.lang.Object
  extended by org.kde.koala.Node
      extended by org.kde.koala.Element
          extended by org.kde.koala.HTMLElement
              extended by org.kde.koala.HTMLFormElement
All Implemented Interfaces:
org.kde.qt.QtSupport

public class HTMLFormElement
extends HTMLElement

The FORM element encompasses behavior similar to a collection and an element. It provides direct access to the contained input elements as well as the attributes of the form element. See the FORM element definition in HTML 4.0.


Constructor Summary
  HTMLFormElement()
           
protected HTMLFormElement(java.lang.Class dummy)
           
  HTMLFormElement(HTMLFormElement other)
           
  HTMLFormElement(Node other)
           
 
Method Summary
 java.lang.String acceptCharset()
          List of character sets supported by the server.
 java.lang.String action()
          Server-side form handler.
 HTMLCollection elements()
          Returns a collection of all control elements in the form.
 java.lang.String enctype()
          The content type of the submitted form, generally "application/x-www-form-urlencoded".
 long length()
          The number of form controls in the form.
 java.lang.String method()
          HTTP method used to submit form.
 java.lang.String name()
          Names the form.
 void reset()
          Restores a form element's default values.
 void setAcceptCharset(java.lang.String arg1)
          see acceptCharset
 void setAction(java.lang.String arg1)
          see action
 void setEnctype(java.lang.String arg1)
          see enctype
 void setMethod(java.lang.String arg1)
          see method
 void setName(java.lang.String arg1)
          see name
 void setTarget(java.lang.String arg1)
          see target
 void submit()
          Submits the form.
 java.lang.String target()
          Frame to render the resource in.
 
Methods inherited from class org.kde.koala.HTMLElement
addCSSProperty, all, assignOther, children, className, dir, id, innerHTML, innerText, lang, removeCSSProperty, setClassName, setDir, setId, setInnerHTML, setInnerText, setLang, setTitle, title
 
Methods inherited from class org.kde.koala.Element
contentEditable, form, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, isHTMLElement, khtmlMalformedPrefix, khtmlMalformedQualifiedName, khtmlValidAttrName, khtmlValidPrefix, khtmlValidQualifiedName, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setContentEditable, style, tagName
 
Methods inherited from class org.kde.koala.Node
addEventListener, appendChild, applyChanges, attributes, childNodes, cloneNode, dispatchEvent, elementId, firstChild, getRect, hasAttributes, hasChildNodes, index, insertBefore, isNull, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, op_equals, op_not_equals, ownerDocument, parentNode, prefix, previousSibling, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLFormElement

protected HTMLFormElement(java.lang.Class dummy)

HTMLFormElement

public HTMLFormElement()

HTMLFormElement

public HTMLFormElement(HTMLFormElement other)

HTMLFormElement

public HTMLFormElement(Node other)
Method Detail

elements

public HTMLCollection elements()
Returns a collection of all control elements in the form.


length

public long length()
The number of form controls in the form.


name

public java.lang.String name()
Names the form.


setName

public void setName(java.lang.String arg1)
see name


acceptCharset

public java.lang.String acceptCharset()
List of character sets supported by the server. See the accept-charset attribute definition in HTML 4.0.


setAcceptCharset

public void setAcceptCharset(java.lang.String arg1)
see acceptCharset


action

public java.lang.String action()
Server-side form handler. See the action attribute definition in HTML 4.0.


setAction

public void setAction(java.lang.String arg1)
see action


enctype

public java.lang.String enctype()
The content type of the submitted form, generally "application/x-www-form-urlencoded". See the enctype attribute definition in HTML 4.0.


setEnctype

public void setEnctype(java.lang.String arg1)
see enctype


method

public java.lang.String method()
HTTP method used to submit form. See the method attribute definition in HTML 4.0.


setMethod

public void setMethod(java.lang.String arg1)
see method


target

public java.lang.String target()
Frame to render the resource in. See the target attribute definition in HTML 4.0.


setTarget

public void setTarget(java.lang.String arg1)
see target


submit

public void submit()
Submits the form. It performs the same action as a submit button.


reset

public void reset()
Restores a form element's default values. It performs the same action as a reset button.