Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.xml.dom.html2
Class DomHTMLButtonElement  view DomHTMLButtonElement download DomHTMLButtonElement.java

java.lang.Object
  extended bygnu.xml.dom.DomNode
      extended bygnu.xml.dom.DomNsNode
          extended bygnu.xml.dom.DomElement
              extended bygnu.xml.dom.html2.DomHTMLElement
                  extended bygnu.xml.dom.html2.DomHTMLButtonElement
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, org.w3c.dom.events.DocumentEvent, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html2.HTMLButtonElement, org.w3c.dom.html2.HTMLElement, org.w3c.dom.Node, org.w3c.dom.NodeList

public class DomHTMLButtonElement
extends DomHTMLElement
implements org.w3c.dom.html2.HTMLButtonElement

An HTML 'BUTTON' element node.


Nested Class Summary
 
Nested classes inherited from class gnu.xml.dom.DomNode
 
Field Summary
 
Fields inherited from class gnu.xml.dom.DomElement
 
Fields inherited from class gnu.xml.dom.DomNsNode
 
Fields inherited from class gnu.xml.dom.DomNode
 
Fields inherited from interface org.w3c.dom.Node
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 Summary
protected DomHTMLButtonElement(DomHTMLDocument owner, java.lang.String namespaceURI, java.lang.String name)
           
 
Method Summary
 java.lang.String getAccessKey()
          A single character access key to give access to the form control.
 boolean getDisabled()
          The control is unavailable in this context.
 org.w3c.dom.html2.HTMLFormElement getForm()
          Returns the FORM element containing this control.
 java.lang.String getName()
          Form control or object name when submitted with a form.
 int getTabIndex()
          Index that represents the element's position in the tabbing order.
 java.lang.String getType()
          The type of button (all lower case).
 java.lang.String getValue()
          The current form control value.
 void setAccessKey(java.lang.String accessKey)
          A single character access key to give access to the form control.
 void setDisabled(boolean disabled)
          The control is unavailable in this context.
 void setName(java.lang.String name)
          Form control or object name when submitted with a form.
 void setTabIndex(int tabIndex)
          Index that represents the element's position in the tabbing order.
 void setValue(java.lang.String value)
          The current form control value.
 
Methods inherited from class gnu.xml.dom.html2.DomHTMLElement
dispatchUIEvent, getBooleanHTMLAttribute, getChildElement, getClassName, getDir, getHTMLAttribute, getId, getIndex, getIntHTMLAttribute, getLang, getParentElement, getTitle, setBooleanHTMLAttribute, setClassName, setDir, setHTMLAttribute, setId, setIntHTMLAttribute, setLang, setTitle
 
Methods inherited from class gnu.xml.dom.DomElement
clone, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, hasAttributes, isDefaultNamespace, isEqualNode, lookupNamespaceURI, lookupPrefix, makeReadonly, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from class gnu.xml.dom.DomNsNode
getLocalName, getNamespaceURI, getNodeName, getPrefix, setPrefix
 
Methods inherited from class gnu.xml.dom.DomNode
addEventListener, appendChild, cloneNode, compact, compareDocumentPosition, compareTo, createEvent, dispatchEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLength, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isReadonly, isSameNode, isSupported, item, list, nameAndTypeEquals, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setTextContent, setUserData, toString, trimToSize
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.html2.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, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
 
Methods inherited from interface org.w3c.dom.Node
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
 

Constructor Detail

DomHTMLButtonElement

protected DomHTMLButtonElement(DomHTMLDocument owner,
                               java.lang.String namespaceURI,
                               java.lang.String name)
Method Detail

getForm

public org.w3c.dom.html2.HTMLFormElement getForm()
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
Returns the FORM element containing this control. Returns null if this control is not within the context of a form.

Specified by:
getForm in interface org.w3c.dom.html2.HTMLButtonElement

getAccessKey

public java.lang.String getAccessKey()
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.01.

Specified by:
getAccessKey in interface org.w3c.dom.html2.HTMLButtonElement

setAccessKey

public void setAccessKey(java.lang.String accessKey)
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.01.

Specified by:
setAccessKey in interface org.w3c.dom.html2.HTMLButtonElement

getDisabled

public boolean getDisabled()
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.

Specified by:
getDisabled in interface org.w3c.dom.html2.HTMLButtonElement

setDisabled

public void setDisabled(boolean disabled)
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.

Specified by:
setDisabled in interface org.w3c.dom.html2.HTMLButtonElement

getName

public java.lang.String getName()
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.

Specified by:
getName in interface org.w3c.dom.html2.HTMLButtonElement

setName

public void setName(java.lang.String name)
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.

Specified by:
setName in interface org.w3c.dom.html2.HTMLButtonElement

getTabIndex

public int getTabIndex()
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.

Specified by:
getTabIndex in interface org.w3c.dom.html2.HTMLButtonElement

setTabIndex

public void setTabIndex(int tabIndex)
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.

Specified by:
setTabIndex in interface org.w3c.dom.html2.HTMLButtonElement

getType

public java.lang.String getType()
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
The type of button (all lower case). See the type attribute definition in HTML 4.01.

Specified by:
getType in interface org.w3c.dom.html2.HTMLButtonElement

getValue

public java.lang.String getValue()
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
The current form control value. See the value attribute definition in HTML 4.01.

Specified by:
getValue in interface org.w3c.dom.html2.HTMLButtonElement

setValue

public void setValue(java.lang.String value)
Description copied from interface: org.w3c.dom.html2.HTMLButtonElement
The current form control value. See the value attribute definition in HTML 4.01.

Specified by:
setValue in interface org.w3c.dom.html2.HTMLButtonElement