org.w3c.dom.html
Interface HTMLButtonElement

All Superinterfaces:
Element sample code for org.w3c.dom.Element definition code for org.w3c.dom.Element , HTMLElement sample code for org.w3c.dom.html.HTMLElement definition code for org.w3c.dom.html.HTMLElement , Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node

public interface HTMLButtonElement
extends HTMLElement sample code for org.w3c.dom.html.HTMLElement definition code for org.w3c.dom.html.HTMLElement

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

See also the Document Object Model (DOM) Level 2 Specification.


Field Summary
 
Fields inherited from interface org.w3c.dom.Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node
ATTRIBUTE_NODE sample code for org.w3c.dom.Node.ATTRIBUTE_NODE definition code for org.w3c.dom.Node.ATTRIBUTE_NODE , CDATA_SECTION_NODE sample code for org.w3c.dom.Node.CDATA_SECTION_NODE definition code for org.w3c.dom.Node.CDATA_SECTION_NODE , COMMENT_NODE sample code for org.w3c.dom.Node.COMMENT_NODE definition code for org.w3c.dom.Node.COMMENT_NODE , DOCUMENT_FRAGMENT_NODE sample code for org.w3c.dom.Node.DOCUMENT_FRAGMENT_NODE definition code for org.w3c.dom.Node.DOCUMENT_FRAGMENT_NODE , DOCUMENT_NODE sample code for org.w3c.dom.Node.DOCUMENT_NODE definition code for org.w3c.dom.Node.DOCUMENT_NODE , DOCUMENT_POSITION_CONTAINED_BY sample code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINED_BY definition code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINED_BY , DOCUMENT_POSITION_CONTAINS sample code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINS definition code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINS , DOCUMENT_POSITION_DISCONNECTED sample code for org.w3c.dom.Node.DOCUMENT_POSITION_DISCONNECTED definition code for org.w3c.dom.Node.DOCUMENT_POSITION_DISCONNECTED , DOCUMENT_POSITION_FOLLOWING sample code for org.w3c.dom.Node.DOCUMENT_POSITION_FOLLOWING definition code for org.w3c.dom.Node.DOCUMENT_POSITION_FOLLOWING , DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC sample code for org.w3c.dom.Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC definition code for org.w3c.dom.Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC , DOCUMENT_POSITION_PRECEDING sample code for org.w3c.dom.Node.DOCUMENT_POSITION_PRECEDING definition code for org.w3c.dom.Node.DOCUMENT_POSITION_PRECEDING , DOCUMENT_TYPE_NODE sample code for org.w3c.dom.Node.DOCUMENT_TYPE_NODE definition code for org.w3c.dom.Node.DOCUMENT_TYPE_NODE , ELEMENT_NODE sample code for org.w3c.dom.Node.ELEMENT_NODE definition code for org.w3c.dom.Node.ELEMENT_NODE , ENTITY_NODE sample code for org.w3c.dom.Node.ENTITY_NODE definition code for org.w3c.dom.Node.ENTITY_NODE , ENTITY_REFERENCE_NODE sample code for org.w3c.dom.Node.ENTITY_REFERENCE_NODE definition code for org.w3c.dom.Node.ENTITY_REFERENCE_NODE , NOTATION_NODE sample code for org.w3c.dom.Node.NOTATION_NODE definition code for org.w3c.dom.Node.NOTATION_NODE , PROCESSING_INSTRUCTION_NODE sample code for org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE definition code for org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE , TEXT_NODE sample code for org.w3c.dom.Node.TEXT_NODE definition code for org.w3c.dom.Node.TEXT_NODE
 
Method Summary
 String sample code for java.lang.String definition code for java.lang.String getAccessKey sample code for org.w3c.dom.html.HTMLButtonElement.getAccessKey() definition code for org.w3c.dom.html.HTMLButtonElement.getAccessKey() ()
          A single character access key to give access to the form control.
 boolean getDisabled sample code for org.w3c.dom.html.HTMLButtonElement.getDisabled() definition code for org.w3c.dom.html.HTMLButtonElement.getDisabled() ()
          The control is unavailable in this context.
 HTMLFormElement sample code for org.w3c.dom.html.HTMLFormElement definition code for org.w3c.dom.html.HTMLFormElement getForm sample code for org.w3c.dom.html.HTMLButtonElement.getForm() definition code for org.w3c.dom.html.HTMLButtonElement.getForm() ()
          Returns the FORM element containing this control.
 String sample code for java.lang.String definition code for java.lang.String getName sample code for org.w3c.dom.html.HTMLButtonElement.getName() definition code for org.w3c.dom.html.HTMLButtonElement.getName() ()
          Form control or object name when submitted with a form.
 int getTabIndex sample code for org.w3c.dom.html.HTMLButtonElement.getTabIndex() definition code for org.w3c.dom.html.HTMLButtonElement.getTabIndex() ()
          Index that represents the element's position in the tabbing order.
 String sample code for java.lang.String definition code for java.lang.String getType sample code for org.w3c.dom.html.HTMLButtonElement.getType() definition code for org.w3c.dom.html.HTMLButtonElement.getType() ()
          The type of button.
 String sample code for java.lang.String definition code for java.lang.String getValue sample code for org.w3c.dom.html.HTMLButtonElement.getValue() definition code for org.w3c.dom.html.HTMLButtonElement.getValue() ()
          The current form control value.
 void setAccessKey sample code for org.w3c.dom.html.HTMLButtonElement.setAccessKey(java.lang.String) definition code for org.w3c.dom.html.HTMLButtonElement.setAccessKey(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  accessKey)
           
 void setDisabled sample code for org.w3c.dom.html.HTMLButtonElement.setDisabled(boolean) definition code for org.w3c.dom.html.HTMLButtonElement.setDisabled(boolean) (boolean disabled)
           
 void setName sample code for org.w3c.dom.html.HTMLButtonElement.setName(java.lang.String) definition code for org.w3c.dom.html.HTMLButtonElement.setName(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  name)
           
 void setTabIndex sample code for org.w3c.dom.html.HTMLButtonElement.setTabIndex(int) definition code for org.w3c.dom.html.HTMLButtonElement.setTabIndex(int) (int tabIndex)
           
 void setValue sample code for org.w3c.dom.html.HTMLButtonElement.setValue(java.lang.String) definition code for org.w3c.dom.html.HTMLButtonElement.setValue(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  value)
           
 
Methods inherited from interface org.w3c.dom.html.HTMLElement sample code for org.w3c.dom.html.HTMLElement definition code for org.w3c.dom.html.HTMLElement
getClassName sample code for org.w3c.dom.html.HTMLElement.getClassName() definition code for org.w3c.dom.html.HTMLElement.getClassName() , getDir sample code for org.w3c.dom.html.HTMLElement.getDir() definition code for org.w3c.dom.html.HTMLElement.getDir() , getId sample code for org.w3c.dom.html.HTMLElement.getId() definition code for org.w3c.dom.html.HTMLElement.getId() , getLang sample code for org.w3c.dom.html.HTMLElement.getLang() definition code for org.w3c.dom.html.HTMLElement.getLang() , getTitle sample code for org.w3c.dom.html.HTMLElement.getTitle() definition code for org.w3c.dom.html.HTMLElement.getTitle() , setClassName sample code for org.w3c.dom.html.HTMLElement.setClassName(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setClassName(java.lang.String) , setDir sample code for org.w3c.dom.html.HTMLElement.setDir(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setDir(java.lang.String) , setId sample code for org.w3c.dom.html.HTMLElement.setId(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setId(java.lang.String) , setLang sample code for org.w3c.dom.html.HTMLElement.setLang(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setLang(java.lang.String) , setTitle sample code for org.w3c.dom.html.HTMLElement.setTitle(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setTitle(java.lang.String)
 
Methods inherited from interface org.w3c.dom.Element sample code for org.w3c.dom.Element definition code for org.w3c.dom.Element
getAttribute sample code for org.w3c.dom.Element.getAttribute(java.lang.String) definition code for org.w3c.dom.Element.getAttribute(java.lang.String) , getAttributeNode sample code for org.w3c.dom.Element.getAttributeNode(java.lang.String) definition code for org.w3c.dom.Element.getAttributeNode(java.lang.String) , getAttributeNodeNS sample code for org.w3c.dom.Element.getAttributeNodeNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.getAttributeNodeNS(java.lang.String, java.lang.String) , getAttributeNS sample code for org.w3c.dom.Element.getAttributeNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.getAttributeNS(java.lang.String, java.lang.String) , getElementsByTagName sample code for org.w3c.dom.Element.getElementsByTagName(java.lang.String) definition code for org.w3c.dom.Element.getElementsByTagName(java.lang.String) , getElementsByTagNameNS sample code for org.w3c.dom.Element.getElementsByTagNameNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.getElementsByTagNameNS(java.lang.String, java.lang.String) , getSchemaTypeInfo sample code for org.w3c.dom.Element.getSchemaTypeInfo() definition code for org.w3c.dom.Element.getSchemaTypeInfo() , getTagName sample code for org.w3c.dom.Element.getTagName() definition code for org.w3c.dom.Element.getTagName() , hasAttribute sample code for org.w3c.dom.Element.hasAttribute(java.lang.String) definition code for org.w3c.dom.Element.hasAttribute(java.lang.String) , hasAttributeNS sample code for org.w3c.dom.Element.hasAttributeNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.hasAttributeNS(java.lang.String, java.lang.String) , removeAttribute sample code for org.w3c.dom.Element.removeAttribute(java.lang.String) definition code for org.w3c.dom.Element.removeAttribute(java.lang.String) , removeAttributeNode sample code for org.w3c.dom.Element.removeAttributeNode(org.w3c.dom.Attr) definition code for org.w3c.dom.Element.removeAttributeNode(org.w3c.dom.Attr) , removeAttributeNS sample code for org.w3c.dom.Element.removeAttributeNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.removeAttributeNS(java.lang.String, java.lang.String) , setAttribute sample code for org.w3c.dom.Element.setAttribute(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.setAttribute(java.lang.String, java.lang.String) , setAttributeNode sample code for org.w3c.dom.Element.setAttributeNode(org.w3c.dom.Attr) definition code for org.w3c.dom.Element.setAttributeNode(org.w3c.dom.Attr) , setAttributeNodeNS sample code for org.w3c.dom.Element.setAttributeNodeNS(org.w3c.dom.Attr) definition code for org.w3c.dom.Element.setAttributeNodeNS(org.w3c.dom.Attr) , setAttributeNS sample code for org.w3c.dom.Element.setAttributeNS(java.lang.String, java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.setAttributeNS(java.lang.String, java.lang.String, java.lang.String) , setIdAttribute sample code for org.w3c.dom.Element.setIdAttribute(java.lang.String, boolean) definition code for org.w3c.dom.Element.setIdAttribute(java.lang.String, boolean) , setIdAttributeNode sample code for org.w3c.dom.Element.setIdAttributeNode(org.w3c.dom.Attr, boolean) definition code for org.w3c.dom.Element.setIdAttributeNode(org.w3c.dom.Attr, boolean) , setIdAttributeNS sample code for org.w3c.dom.Element.setIdAttributeNS(java.lang.String, java.lang.String, boolean) definition code for org.w3c.dom.Element.setIdAttributeNS(java.lang.String, java.lang.String, boolean)
 
Methods inherited from interface org.w3c.dom.Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node
appendChild sample code for org.w3c.dom.Node.appendChild(org.w3c.dom.Node) definition code for org.w3c.dom.Node.appendChild(org.w3c.dom.Node) , cloneNode sample code for org.w3c.dom.Node.cloneNode(boolean) definition code for org.w3c.dom.Node.cloneNode(boolean) , compareDocumentPosition sample code for org.w3c.dom.Node.compareDocumentPosition(org.w3c.dom.Node) definition code for org.w3c.dom.Node.compareDocumentPosition(org.w3c.dom.Node) , getAttributes sample code for org.w3c.dom.Node.getAttributes() definition code for org.w3c.dom.Node.getAttributes() , getBaseURI sample code for org.w3c.dom.Node.getBaseURI() definition code for org.w3c.dom.Node.getBaseURI() , getChildNodes sample code for org.w3c.dom.Node.getChildNodes() definition code for org.w3c.dom.Node.getChildNodes() , getFeature sample code for org.w3c.dom.Node.getFeature(java.lang.String, java.lang.String) definition code for org.w3c.dom.Node.getFeature(java.lang.String, java.lang.String) , getFirstChild sample code for org.w3c.dom.Node.getFirstChild() definition code for org.w3c.dom.Node.getFirstChild() , getLastChild sample code for org.w3c.dom.Node.getLastChild() definition code for org.w3c.dom.Node.getLastChild() , getLocalName sample code for org.w3c.dom.Node.getLocalName() definition code for org.w3c.dom.Node.getLocalName() , getNamespaceURI sample code for org.w3c.dom.Node.getNamespaceURI() definition code for org.w3c.dom.Node.getNamespaceURI() , getNextSibling sample code for org.w3c.dom.Node.getNextSibling() definition code for org.w3c.dom.Node.getNextSibling() , getNodeName sample code for org.w3c.dom.Node.getNodeName() definition code for org.w3c.dom.Node.getNodeName() , getNodeType sample code for org.w3c.dom.Node.getNodeType() definition code for org.w3c.dom.Node.getNodeType() , getNodeValue sample code for org.w3c.dom.Node.getNodeValue() definition code for org.w3c.dom.Node.getNodeValue() , getOwnerDocument sample code for org.w3c.dom.Node.getOwnerDocument() definition code for org.w3c.dom.Node.getOwnerDocument() , getParentNode sample code for org.w3c.dom.Node.getParentNode() definition code for org.w3c.dom.Node.getParentNode() , getPrefix sample code for org.w3c.dom.Node.getPrefix() definition code for org.w3c.dom.Node.getPrefix() , getPreviousSibling sample code for org.w3c.dom.Node.getPreviousSibling() definition code for org.w3c.dom.Node.getPreviousSibling() , getTextContent sample code for org.w3c.dom.Node.getTextContent() definition code for org.w3c.dom.Node.getTextContent() , getUserData sample code for org.w3c.dom.Node.getUserData(java.lang.String) definition code for org.w3c.dom.Node.getUserData(java.lang.String) , hasAttributes sample code for org.w3c.dom.Node.hasAttributes() definition code for org.w3c.dom.Node.hasAttributes() , hasChildNodes sample code for org.w3c.dom.Node.hasChildNodes() definition code for org.w3c.dom.Node.hasChildNodes() , insertBefore sample code for org.w3c.dom.Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node) definition code for org.w3c.dom.Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node) , isDefaultNamespace sample code for org.w3c.dom.Node.isDefaultNamespace(java.lang.String) definition code for org.w3c.dom.Node.isDefaultNamespace(java.lang.String) , isEqualNode sample code for org.w3c.dom.Node.isEqualNode(org.w3c.dom.Node) definition code for org.w3c.dom.Node.isEqualNode(org.w3c.dom.Node) , isSameNode sample code for org.w3c.dom.Node.isSameNode(org.w3c.dom.Node) definition code for org.w3c.dom.Node.isSameNode(org.w3c.dom.Node) , isSupported sample code for org.w3c.dom.Node.isSupported(java.lang.String, java.lang.String) definition code for org.w3c.dom.Node.isSupported(java.lang.String, java.lang.String) , lookupNamespaceURI sample code for org.w3c.dom.Node.lookupNamespaceURI(java.lang.String) definition code for org.w3c.dom.Node.lookupNamespaceURI(java.lang.String) , lookupPrefix sample code for org.w3c.dom.Node.lookupPrefix(java.lang.String) definition code for org.w3c.dom.Node.lookupPrefix(java.lang.String) , normalize sample code for org.w3c.dom.Node.normalize() definition code for org.w3c.dom.Node.normalize() , removeChild sample code for org.w3c.dom.Node.removeChild(org.w3c.dom.Node) definition code for org.w3c.dom.Node.removeChild(org.w3c.dom.Node) , replaceChild sample code for org.w3c.dom.Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node) definition code for org.w3c.dom.Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node) , setNodeValue sample code for org.w3c.dom.Node.setNodeValue(java.lang.String) definition code for org.w3c.dom.Node.setNodeValue(java.lang.String) , setPrefix sample code for org.w3c.dom.Node.setPrefix(java.lang.String) definition code for org.w3c.dom.Node.setPrefix(java.lang.String) , setTextContent sample code for org.w3c.dom.Node.setTextContent(java.lang.String) definition code for org.w3c.dom.Node.setTextContent(java.lang.String) , setUserData sample code for org.w3c.dom.Node.setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler) definition code for org.w3c.dom.Node.setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
 

Method Detail

getForm sample code for org.w3c.dom.html.HTMLButtonElement.getForm() definition code for org.w3c.dom.html.HTMLButtonElement.getForm()

HTMLFormElement sample code for org.w3c.dom.html.HTMLFormElement definition code for org.w3c.dom.html.HTMLFormElement  getForm()
Returns the FORM element containing this control. Returns null if this control is not within the context of a form.


getAccessKey sample code for org.w3c.dom.html.HTMLButtonElement.getAccessKey() definition code for org.w3c.dom.html.HTMLButtonElement.getAccessKey()

String sample code for java.lang.String definition code for java.lang.String  getAccessKey()
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0.


setAccessKey sample code for org.w3c.dom.html.HTMLButtonElement.setAccessKey(java.lang.String) definition code for org.w3c.dom.html.HTMLButtonElement.setAccessKey(java.lang.String)

void setAccessKey(String sample code for java.lang.String definition code for java.lang.String  accessKey)

getDisabled sample code for org.w3c.dom.html.HTMLButtonElement.getDisabled() definition code for org.w3c.dom.html.HTMLButtonElement.getDisabled()

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


setDisabled sample code for org.w3c.dom.html.HTMLButtonElement.setDisabled(boolean) definition code for org.w3c.dom.html.HTMLButtonElement.setDisabled(boolean)

void setDisabled(boolean disabled)

getName sample code for org.w3c.dom.html.HTMLButtonElement.getName() definition code for org.w3c.dom.html.HTMLButtonElement.getName()

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


setName sample code for org.w3c.dom.html.HTMLButtonElement.setName(java.lang.String) definition code for org.w3c.dom.html.HTMLButtonElement.setName(java.lang.String)

void setName(String sample code for java.lang.String definition code for java.lang.String  name)

getTabIndex sample code for org.w3c.dom.html.HTMLButtonElement.getTabIndex() definition code for org.w3c.dom.html.HTMLButtonElement.getTabIndex()

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


setTabIndex sample code for org.w3c.dom.html.HTMLButtonElement.setTabIndex(int) definition code for org.w3c.dom.html.HTMLButtonElement.setTabIndex(int)

void setTabIndex(int tabIndex)

getType sample code for org.w3c.dom.html.HTMLButtonElement.getType() definition code for org.w3c.dom.html.HTMLButtonElement.getType()

String sample code for java.lang.String definition code for java.lang.String  getType()
The type of button. See the type attribute definition in HTML 4.0.


getValue sample code for org.w3c.dom.html.HTMLButtonElement.getValue() definition code for org.w3c.dom.html.HTMLButtonElement.getValue()

String sample code for java.lang.String definition code for java.lang.String  getValue()
The current form control value. See the value attribute definition in HTML 4.0.


setValue sample code for org.w3c.dom.html.HTMLButtonElement.setValue(java.lang.String) definition code for org.w3c.dom.html.HTMLButtonElement.setValue(java.lang.String)

void setValue(String sample code for java.lang.String definition code for java.lang.String  value)