public class HTMLButtonElement extends HTMLElement
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Boolean> |
autofocus
Provides a way to direct a user to a specific field when a document loads.
|
Objs.Property<Boolean> |
disabled |
Objs.Property<HTMLFormElement> |
form
Retrieves a reference to the form that the object is embedded in.
|
Objs.Property<String> |
formAction
Overrides the action attribute (where the data on a form is sent) on the parent form element.
|
Objs.Property<String> |
formEnctype
Used to override the encoding (formEnctype attribute) specified on the form element.
|
Objs.Property<String> |
formMethod
Overrides the submit method attribute previously specified on a form element.
|
Objs.Property<String> |
formNoValidate
Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation.
|
Objs.Property<String> |
formTarget
Overrides the target attribute on a form element.
|
Objs.Property<String> |
name
Sets or retrieves the name of the object.
|
Objs.Property<Object> |
status |
Objs.Property<String> |
type
Gets the classification and default behavior of the button.
|
Objs.Property<String> |
validationMessage
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message.
|
Objs.Property<ValidityState> |
validity
Returns a ValidityState object that represents the validity states of an element.
|
Objs.Property<String> |
value
Sets or retrieves the default or selected value of the control.
|
Objs.Property<Boolean> |
willValidate
Returns whether an element will successfully validate based on forms validation rules and constraints.
|
accessKey, contentEditable, dataset, dir, draggable, hidden, hideFocus, children, innerHTML, innerText, isContentEditable, lang, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onabort, onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforepaste, onblur, oncanplay, oncanplaythrough, onclick, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onchange, oninput, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmscontentzoom, onmsmanipulationstatechanged, onpaste, onpause, onplay, onplaying, onprogress, onratechange, onreset, onscroll, onseeked, onseeking, onselect, onselectstart, onstalled, onsubmit, onsuspend, ontimeupdate, onvolumechange, onwaiting, outerHTML, outerText, spellcheck, style, tabIndex, title
classList, className, clientHeight, clientLeft, clientTop, clientWidth, id, msContentZoomFactor, msRegionOverflow, onariarequest, oncommand, ongotpointercapture, onlostpointercapture, onmsgesturedoubletap, onmsgestureend, onmsgesturehold, onmsgesturechange, onmsgesturestart, onmsgesturetap, onmsgotpointercapture, onmsinertiastart, onmslostpointercapture, onmspointercancel, onmspointerdown, onmspointerenter, onmspointerleave, onmspointermove, onmspointerout, onmspointerover, onmspointerup, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onwebkitfullscreenerror, onwebkitfullscreenchange, scrollHeight, scrollLeft, scrollTop, scrollWidth, tagName
ATTRIBUTE_NODE, attributes, baseURI, 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, firstChild, childNodes, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent
Modifier | Constructor and Description |
---|---|
protected |
HTMLButtonElement(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static HTMLButtonElement |
$as(Object obj) |
Boolean |
autofocus() |
TextRange |
createTextRange()
Creates a TextRange object for the element.
|
Boolean |
disabled() |
HTMLFormElement |
form() |
String |
formAction() |
String |
formEnctype() |
String |
formMethod() |
String |
formNoValidate() |
String |
formTarget() |
Boolean |
checkValidity()
Returns whether a form will validate when it is submitted, without having to submit it.
|
String |
name() |
void |
setCustomValidity(String error)
Sets a custom error message that is displayed when a form is submitted.
|
String |
type() |
String |
validationMessage() |
ValidityState |
validity() |
String |
value() |
Boolean |
willValidate() |
accessKey, addEventListener, addEventListener, addEventListener, addEventListener, addEventListener, addEventListener, blur, click, contains, contentEditable, dataset, dir, dragDrop, draggable, focus, hidden, hideFocus, children, innerHTML, innerText, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, lang, msGetInputContext, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onabort, onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforepaste, onblur, oncanplay, oncanplaythrough, onclick, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onchange, oninput, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmscontentzoom, onmsmanipulationstatechanged, onpaste, onpause, onplay, onplaying, onprogress, onratechange, onreset, onscroll, onseeked, onseeking, onselect, onselectstart, onstalled, onsubmit, onsuspend, ontimeupdate, onvolumechange, onwaiting, outerHTML, outerText, scrollIntoView, scrollIntoView, setActive, spellcheck, style, tabIndex, title
classList, className, clientHeight, clientLeft, clientTop, clientWidth, getAttribute, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, id, msContentZoomFactor, msGetRegionContent, msGetUntransformedBounds, msMatchesSelector, msRegionOverflow, msReleasePointerCapture, msSetPointerCapture, msZoomTo, onariarequest, oncommand, ongotpointercapture, onlostpointercapture, onmsgesturedoubletap, onmsgestureend, onmsgesturehold, onmsgesturechange, onmsgesturestart, onmsgesturetap, onmsgotpointercapture, onmsinertiastart, onmslostpointercapture, onmspointercancel, onmspointerdown, onmspointerenter, onmspointerleave, onmspointermove, onmspointerout, onmspointerover, onmspointerup, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onwebkitfullscreenerror, onwebkitfullscreenchange, releasePointerCapture, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, requestFullscreen, requestPointerLock, scrollHeight, scrollLeft, scrollTop, scrollWidth, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setPointerCapture, tagName, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
appendChild, ATTRIBUTE_NODE, attributes, baseURI, CDATA_SECTION_NODE, cloneNode, cloneNode, COMMENT_NODE, compareDocumentPosition, 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, firstChild, hasAttributes, hasChildNodes, childNodes, insertBefore, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lastChild, localName, lookupNamespaceURI, lookupPrefix, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, removeChild, replaceChild, TEXT_NODE, textContent
dispatchEvent, removeEventListener, removeEventListener, removeEventListener, removeEventListener
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Boolean> autofocus
public Objs.Property<Boolean> disabled
public Objs.Property<HTMLFormElement> form
public Objs.Property<String> formAction
public Objs.Property<String> formEnctype
public Objs.Property<String> formMethod
public Objs.Property<String> formNoValidate
public Objs.Property<String> formTarget
public Objs.Property<String> name
public Objs.Property<Object> status
public Objs.Property<String> type
public Objs.Property<String> validationMessage
public Objs.Property<ValidityState> validity
public Objs.Property<String> value
public Objs.Property<Boolean> willValidate
protected HTMLButtonElement(Objs.Constructor<?> c, Object js)
public static HTMLButtonElement $as(Object obj)
public Boolean autofocus()
public Boolean disabled()
public HTMLFormElement form()
public String formAction()
public String formEnctype()
public String formMethod()
public String formNoValidate()
public String formTarget()
public String name()
public String type()
public String validationMessage()
public ValidityState validity()
public String value()
public Boolean willValidate()
public Boolean checkValidity()
public TextRange createTextRange()
public void setCustomValidity(String error)
error
- Sets a custom error message that is displayed when a form is submitted.Copyright © 2018. All rights reserved.