org.kde.koala
Class HTMLButtonElement

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.HTMLButtonElement
All Implemented Interfaces:
org.kde.qt.QtSupport

public class HTMLButtonElement
extends HTMLElement

Push button. See the BUTTON element definition in HTML 4.0.


Constructor Summary
  HTMLButtonElement()
           
protected HTMLButtonElement(java.lang.Class dummy)
           
  HTMLButtonElement(HTMLButtonElement other)
           
  HTMLButtonElement(Node other)
           
 
Method Summary
 java.lang.String accessKey()
          A single character access key to give access to the form control.
 void blur()
          Removes keyboard focus from this element.
 boolean disabled()
          The control is unavailable in this context.
 void focus()
          Gives keyboard focus to this element.
 HTMLFormElement formElement()
          Returns the FORM element containing this control.
 java.lang.String name()
          Form control or object name when submitted with a form.
 void setAccessKey(java.lang.String arg1)
          see accessKey
 void setDisabled(boolean arg1)
          see disabled
 void setName(java.lang.String arg1)
          see name
 void setTabIndex(long arg1)
          see tabIndex
 void setValue(java.lang.String arg1)
          see value
 long tabIndex()
          Index that represents the element's position in the tabbing order.
 java.lang.String type()
          The type of button.
 java.lang.String value()
          The current form control value.
 
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

HTMLButtonElement

protected HTMLButtonElement(java.lang.Class dummy)

HTMLButtonElement

public HTMLButtonElement()

HTMLButtonElement

public HTMLButtonElement(HTMLButtonElement other)

HTMLButtonElement

public HTMLButtonElement(Node other)
Method Detail

formElement

public HTMLFormElement formElement()
Returns the FORM element containing this control. Returns null if this control is not within the context of a form.


accessKey

public java.lang.String accessKey()
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.


setAccessKey

public void setAccessKey(java.lang.String arg1)
see accessKey


disabled

public boolean disabled()
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.


setDisabled

public void setDisabled(boolean arg1)
see disabled


name

public java.lang.String name()
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.


setName

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


tabIndex

public long tabIndex()
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.


setTabIndex

public void setTabIndex(long arg1)
see tabIndex


type

public java.lang.String type()
The type of button. See the type attribute definition in HTML 4.0.


value

public java.lang.String value()
The current form control value. See the value attribute definition in HTML 4.0.


setValue

public void setValue(java.lang.String arg1)
see value


blur

public void blur()
Removes keyboard focus from this element.


focus

public void focus()
Gives keyboard focus to this element.