@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="HTMLFormElement")
public class HTMLFormElement
extends HTMLElement
implements PasswordCredentialInit
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
acceptCharset
The HTMLFormElement.acceptCharset property represents a list of the supported character encodings for the given form element.
|
java.lang.String |
action
The HTMLFormElement.action property represents the action of the form element.
|
java.lang.String |
autocomplete |
java.lang.String |
encoding
The HTMLFormElement.encoding property is an alternative name for the enctype element on the DOM HTMLFormElement object.
|
java.lang.String |
enctype
The HTMLFormElement.enctype property is the MIME type of content that is used to submit the form to the server.
|
java.lang.String |
method
The HTMLFormElement.method property represents the HTTP method used to submit the form.
|
java.lang.String |
name
The HTMLFormElement.name property represents the name of the current form element as a string.
|
boolean |
noValidate |
java.lang.String |
rel |
java.lang.String |
target
The target property of the HTMLFormElement interface represents the target of the form's action (i.e., the frame in which to render its output).
|
accessKey, autocapitalize, autofocus, contentEditable, dir, draggable, enterKeyHint, hidden, innerText, inputMode, lang, nonce, onabort, onanimationcancel, onanimationend, onanimationiteration, onanimationstart, onauxclick, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, onclose, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onformdata, ongotpointercapture, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onlostpointercapture, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onpaste, onpause, onplay, onplaying, onpointercancel, onpointerdown, onpointerenter, onpointerleave, onpointermove, onpointerout, onpointerover, onpointerup, onprogress, onratechange, onreset, onresize, onscroll, onsecuritypolicyviolation, onseeked, onseeking, onselect, onselectionchange, onselectstart, onslotchange, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, ontouchcancel, ontouchend, ontouchmove, ontouchstart, ontransitioncancel, ontransitionend, ontransitionrun, ontransitionstart, onvolumechange, onwaiting, onwebkitanimationend, onwebkitanimationiteration, onwebkitanimationstart, onwebkittransitionend, onwheel, outerText, spellcheck, tabIndex, title, translateariaAtomic, ariaAutoComplete, ariaBusy, ariaChecked, ariaColCount, ariaColIndex, ariaColIndexText, ariaColSpan, ariaCurrent, ariaDescription, ariaDisabled, ariaExpanded, ariaHasPopup, ariaHidden, ariaInvalid, ariaKeyShortcuts, ariaLabel, ariaLevel, ariaLive, ariaModal, ariaMultiLine, ariaMultiSelectable, ariaOrientation, ariaPlaceholder, ariaPosInSet, ariaPressed, ariaReadOnly, ariaRequired, ariaRoleDescription, ariaRowCount, ariaRowIndex, ariaRowIndexText, ariaRowSpan, ariaSelected, ariaSetSize, ariaSort, ariaValueMax, ariaValueMin, ariaValueNow, ariaValueText, className, id, innerHTML, onfullscreenchange, onfullscreenerror, outerHTML, role, scrollLeft, scrollTop, slotATTRIBUTE_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, nodeValue, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent| Modifier | Constructor and Description |
|---|---|
protected |
HTMLFormElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
addFormdataListener(FormDataEventListener callback) |
void |
addFormdataListener(FormDataEventListener callback,
AddEventListenerOptions options) |
void |
addFormdataListener(FormDataEventListener callback,
boolean useCapture) |
void |
addResetListener(EventListener callback) |
void |
addResetListener(EventListener callback,
AddEventListenerOptions options) |
void |
addResetListener(EventListener callback,
boolean useCapture) |
void |
addSubmitListener(SubmitEventListener callback) |
void |
addSubmitListener(SubmitEventListener callback,
AddEventListenerOptions options) |
void |
addSubmitListener(SubmitEventListener callback,
boolean useCapture) |
boolean |
checkValidity() |
HTMLFormControlsCollection |
elements()
The HTMLFormElement property elements returns an HTMLFormControlsCollection listing all the form controls contained in the form element.
|
RadioNodeListOrElementUnion |
get(java.lang.String name) |
Element |
getAt(int index) |
int |
length()
The HTMLFormElement.length read-only property returns the number of controls in the form element.
|
DOMTokenList |
relList() |
void |
removeFormdataListener(FormDataEventListener callback) |
void |
removeFormdataListener(FormDataEventListener callback,
boolean useCapture) |
void |
removeFormdataListener(FormDataEventListener callback,
EventListenerOptions options) |
void |
removeResetListener(EventListener callback) |
void |
removeResetListener(EventListener callback,
boolean useCapture) |
void |
removeResetListener(EventListener callback,
EventListenerOptions options) |
void |
removeSubmitListener(SubmitEventListener callback) |
void |
removeSubmitListener(SubmitEventListener callback,
boolean useCapture) |
void |
removeSubmitListener(SubmitEventListener callback,
EventListenerOptions options) |
boolean |
reportValidity()
The HTMLFormElement.reportValidity() method returns true if the element's child controls satisfy their validation constraints.
|
void |
requestSubmit()
The HTMLFormElement method requestSubmit() requests that the form be submitted using a specific submit button.
|
void |
requestSubmit(HTMLElement submitter)
The HTMLFormElement method requestSubmit() requests that the form be submitted using a specific submit button.
|
void |
reset()
The HTMLFormElement.reset() method restores a form element's default values.
|
void |
submit()
The HTMLFormElement.submit() method submits a given form.
|
accessKeyLabel, addAnimationcancelListener, addAnimationcancelListener, addAnimationcancelListener, addAnimationendListener, addAnimationendListener, addAnimationendListener, addAnimationiterationListener, addAnimationiterationListener, addAnimationiterationListener, addAnimationstartListener, addAnimationstartListener, addAnimationstartListener, addBeforeinputListener, addBeforeinputListener, addBeforeinputListener, addChangeListener, addChangeListener, addChangeListener, addGotpointercaptureListener, addGotpointercaptureListener, addGotpointercaptureListener, addInputListener, addInputListener, addInputListener, addInvalidListener, addInvalidListener, addInvalidListener, addLostpointercaptureListener, addLostpointercaptureListener, addLostpointercaptureListener, addPointercancelListener, addPointercancelListener, addPointercancelListener, addPointerdownListener, addPointerdownListener, addPointerdownListener, addPointerenterListener, addPointerenterListener, addPointerenterListener, addPointerleaveListener, addPointerleaveListener, addPointerleaveListener, addPointermoveListener, addPointermoveListener, addPointermoveListener, addPointeroutListener, addPointeroutListener, addPointeroutListener, addPointeroverListener, addPointeroverListener, addPointeroverListener, addPointerupListener, addPointerupListener, addPointerupListener, addTransitioncancelListener, addTransitioncancelListener, addTransitioncancelListener, addTransitionendListener, addTransitionendListener, addTransitionendListener, addTransitionrunListener, addTransitionrunListener, addTransitionrunListener, addTransitionstartListener, addTransitionstartListener, addTransitionstartListener, attachInternals, blur, click, dataset, focus, focus, isContentEditable, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, removeAnimationcancelListener, removeAnimationcancelListener, removeAnimationcancelListener, removeAnimationendListener, removeAnimationendListener, removeAnimationendListener, removeAnimationiterationListener, removeAnimationiterationListener, removeAnimationiterationListener, removeAnimationstartListener, removeAnimationstartListener, removeAnimationstartListener, removeBeforeinputListener, removeBeforeinputListener, removeBeforeinputListener, removeChangeListener, removeChangeListener, removeChangeListener, removeGotpointercaptureListener, removeGotpointercaptureListener, removeGotpointercaptureListener, removeInputListener, removeInputListener, removeInputListener, removeInvalidListener, removeInvalidListener, removeInvalidListener, removeLostpointercaptureListener, removeLostpointercaptureListener, removeLostpointercaptureListener, removePointercancelListener, removePointercancelListener, removePointercancelListener, removePointerdownListener, removePointerdownListener, removePointerdownListener, removePointerenterListener, removePointerenterListener, removePointerenterListener, removePointerleaveListener, removePointerleaveListener, removePointerleaveListener, removePointermoveListener, removePointermoveListener, removePointermoveListener, removePointeroutListener, removePointeroutListener, removePointeroutListener, removePointeroverListener, removePointeroverListener, removePointeroverListener, removePointerupListener, removePointerupListener, removePointerupListener, removeTransitioncancelListener, removeTransitioncancelListener, removeTransitioncancelListener, removeTransitionendListener, removeTransitionendListener, removeTransitionendListener, removeTransitionrunListener, removeTransitionrunListener, removeTransitionrunListener, removeTransitionstartListener, removeTransitionstartListener, removeTransitionstartListener, styleaddAuxclickListener, addAuxclickListener, addAuxclickListener, addBlurListener, addBlurListener, addBlurListener, addCancelListener, addCancelListener, addCancelListener, addClickListener, addClickListener, addClickListener, addCompositionendListener, addCompositionendListener, addCompositionendListener, addCompositionstartListener, addCompositionstartListener, addCompositionstartListener, addCompositionupdateListener, addCompositionupdateListener, addCompositionupdateListener, addContextmenuListener, addContextmenuListener, addContextmenuListener, addCopyListener, addCopyListener, addCopyListener, addCutListener, addCutListener, addCutListener, addDblclickListener, addDblclickListener, addDblclickListener, addDOMActivateListener, addDOMActivateListener, addDOMActivateListener, addFocusinListener, addFocusinListener, addFocusinListener, addFocusListener, addFocusListener, addFocusListener, addFocusoutListener, addFocusoutListener, addFocusoutListener, addFullscreenchangeListener, addFullscreenchangeListener, addFullscreenchangeListener, addFullscreenerrorListener, addFullscreenerrorListener, addFullscreenerrorListener, addMousedownListener, addMousedownListener, addMousedownListener, addMouseenterListener, addMouseenterListener, addMouseenterListener, addMouseleaveListener, addMouseleaveListener, addMouseleaveListener, addMousemoveListener, addMousemoveListener, addMousemoveListener, addMouseoutListener, addMouseoutListener, addMouseoutListener, addMouseoverListener, addMouseoverListener, addMouseoverListener, addMouseupListener, addMouseupListener, addMouseupListener, addPasteListener, addPasteListener, addPasteListener, addScrollListener, addScrollListener, addScrollListener, addShowListener, addShowListener, addShowListener, addTouchcancelListener, addTouchcancelListener, addTouchcancelListener, addTouchendListener, addTouchendListener, addTouchendListener, addTouchmoveListener, addTouchmoveListener, addTouchmoveListener, addTouchstartListener, addTouchstartListener, addTouchstartListener, addWebkitmouseforcechangedListener, addWebkitmouseforcechangedListener, addWebkitmouseforcechangedListener, addWebkitmouseforcedownListener, addWebkitmouseforcedownListener, addWebkitmouseforcedownListener, addWebkitmouseforceupListener, addWebkitmouseforceupListener, addWebkitmouseforceupListener, addWebkitmouseforcewillbeginListener, addWebkitmouseforcewillbeginListener, addWebkitmouseforcewillbeginListener, addWheelListener, addWheelListener, addWheelListener, after, after, animate, animate, animate, append, append, assignedSlot, attachShadow, attributes, before, before, childElementCount, children, classList, clientHeight, clientLeft, clientTop, clientWidth, closest, firstElementChild, getAnimations, getAnimations, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, hasAttributes, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, lastElementChild, localName, matches, namespaceURI, nextElementSibling, prefix, prepend, prepend, previousElementSibling, pseudo, querySelector, querySelectorAll, releasePointerCapture, remove, removeAttribute, removeAttributeNode, removeAttributeNS, removeAuxclickListener, removeAuxclickListener, removeAuxclickListener, removeBlurListener, removeBlurListener, removeBlurListener, removeCancelListener, removeCancelListener, removeCancelListener, removeClickListener, removeClickListener, removeClickListener, removeCompositionendListener, removeCompositionendListener, removeCompositionendListener, removeCompositionstartListener, removeCompositionstartListener, removeCompositionstartListener, removeCompositionupdateListener, removeCompositionupdateListener, removeCompositionupdateListener, removeContextmenuListener, removeContextmenuListener, removeContextmenuListener, removeCopyListener, removeCopyListener, removeCopyListener, removeCutListener, removeCutListener, removeCutListener, removeDblclickListener, removeDblclickListener, removeDblclickListener, removeDOMActivateListener, removeDOMActivateListener, removeDOMActivateListener, removeFocusinListener, removeFocusinListener, removeFocusinListener, removeFocusListener, removeFocusListener, removeFocusListener, removeFocusoutListener, removeFocusoutListener, removeFocusoutListener, removeFullscreenchangeListener, removeFullscreenchangeListener, removeFullscreenchangeListener, removeFullscreenerrorListener, removeFullscreenerrorListener, removeFullscreenerrorListener, removeMousedownListener, removeMousedownListener, removeMousedownListener, removeMouseenterListener, removeMouseenterListener, removeMouseenterListener, removeMouseleaveListener, removeMouseleaveListener, removeMouseleaveListener, removeMousemoveListener, removeMousemoveListener, removeMousemoveListener, removeMouseoutListener, removeMouseoutListener, removeMouseoutListener, removeMouseoverListener, removeMouseoverListener, removeMouseoverListener, removeMouseupListener, removeMouseupListener, removeMouseupListener, removePasteListener, removePasteListener, removePasteListener, removeScrollListener, removeScrollListener, removeScrollListener, removeShowListener, removeShowListener, removeShowListener, removeTouchcancelListener, removeTouchcancelListener, removeTouchcancelListener, removeTouchendListener, removeTouchendListener, removeTouchendListener, removeTouchmoveListener, removeTouchmoveListener, removeTouchmoveListener, removeTouchstartListener, removeTouchstartListener, removeTouchstartListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcechangedListener, removeWebkitmouseforcedownListener, removeWebkitmouseforcedownListener, removeWebkitmouseforcedownListener, removeWebkitmouseforceupListener, removeWebkitmouseforceupListener, removeWebkitmouseforceupListener, removeWebkitmouseforcewillbeginListener, removeWebkitmouseforcewillbeginListener, removeWebkitmouseforcewillbeginListener, removeWheelListener, removeWheelListener, removeWheelListener, replaceChildren, replaceChildren, replaceWith, replaceWith, requestFullscreen, requestFullscreen, requestPointerLock, scroll, scroll, scroll, scrollBy, scrollBy, scrollBy, scrollHeight, scrollIntoView, scrollIntoView, scrollIntoView, scrollTo, scrollTo, scrollTo, scrollWidth, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setPointerCapture, shadowRoot, tagName, toggleAttribute, toggleAttribute, webkitMatchesSelectorappendChild, baseURI, childNodes, cloneNode, cloneNode, compareDocumentPosition, contains, firstChild, getRootNode, getRootNode, hasChildNodes, insertBefore, isConnected, isDefaultNamespace, isEqualNode, isSameNode, lastChild, lookupNamespaceURI, lookupPrefix, nextSibling, nodeName, nodeType, normalize, ownerDocument, parentElement, parentNode, previousSibling, removeChild, replaceChildaddEventListener, addEventListener, addEventListener, dispatchEvent, removeEventListener, removeEventListener, removeEventListenerassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, values@Nonnull public java.lang.String acceptCharset
@Nonnull public java.lang.String action
@Nonnull @FormAutocompleteType public java.lang.String autocomplete
@Nonnull public java.lang.String encoding
@Nonnull @FormEncodingType public java.lang.String enctype
@Nonnull @FormMethodType public java.lang.String method
@Nonnull public java.lang.String name
public boolean noValidate
@Nonnull public java.lang.String rel
@Nonnull public java.lang.String target
@JsProperty(name="elements") @Nonnull public HTMLFormControlsCollection elements()
@JsProperty(name="length") public int length()
@JsProperty(name="relList") @Nonnull public DOMTokenList relList()
public boolean checkValidity()
public boolean reportValidity()
public void requestSubmit(@Nullable
HTMLElement submitter)
public void requestSubmit()
public void reset()
public void submit()
@JsOverlay @Nonnull public final Element getAt(int index)
@JsOverlay @Nonnull public final RadioNodeListOrElementUnion get(@Nonnull java.lang.String name)
@JsOverlay
public final void addFormdataListener(@Nonnull
FormDataEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addFormdataListener(@Nonnull
FormDataEventListener callback,
boolean useCapture)
@JsOverlay
public final void addFormdataListener(@Nonnull
FormDataEventListener callback)
@JsOverlay
public final void removeFormdataListener(@Nonnull
FormDataEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeFormdataListener(@Nonnull
FormDataEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeFormdataListener(@Nonnull
FormDataEventListener callback)
@JsOverlay
public final void addSubmitListener(@Nonnull
SubmitEventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addSubmitListener(@Nonnull
SubmitEventListener callback,
boolean useCapture)
@JsOverlay
public final void addSubmitListener(@Nonnull
SubmitEventListener callback)
@JsOverlay
public final void removeSubmitListener(@Nonnull
SubmitEventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeSubmitListener(@Nonnull
SubmitEventListener callback,
boolean useCapture)
@JsOverlay
public final void removeSubmitListener(@Nonnull
SubmitEventListener callback)
@JsOverlay
public final void addResetListener(@Nonnull
EventListener callback,
@Nonnull
AddEventListenerOptions options)
@JsOverlay
public final void addResetListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void addResetListener(@Nonnull
EventListener callback)
@JsOverlay
public final void removeResetListener(@Nonnull
EventListener callback,
@Nonnull
EventListenerOptions options)
@JsOverlay
public final void removeResetListener(@Nonnull
EventListener callback,
boolean useCapture)
@JsOverlay
public final void removeResetListener(@Nonnull
EventListener callback)