Class HTMLInputElementImpl
java.lang.Object
org.loboevolution.js.AbstractScriptableDelegate
org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
org.loboevolution.html.dom.nodeimpl.NodeImpl
org.loboevolution.html.dom.nodeimpl.ElementImpl
org.loboevolution.html.dom.domimpl.HTMLElementImpl
org.loboevolution.html.dom.domimpl.HTMLBasicInputElement
org.loboevolution.html.dom.domimpl.HTMLInputElementImpl
- All Implemented Interfaces:
Cloneable
,EventTarget
,GlobalEventHandlers
,HTMLElement
,HTMLInputElement
,ModelNode
,Element
,InnerHTML
,Node
,NonDocumentTypeChildNode
,ParentNode
,CSSPropertiesContext
,ScriptableDelegate
HTMLInputElementImpl class.
-
Field Summary
Fields inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
document, nodeList, notificationsSuspended, parentNode, uiNode
Fields inherited from interface org.loboevolution.html.node.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, NONE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
blur()
blur.void
click()
click.protected RenderState
createRenderState
(RenderState prevRenderState) createRenderState.void
draw
(InputControl ic) draw.void
focus()
focus.Sets or retrieves a comma-separated list of content types.getAlign()
Sets or retrieves how the object is aligned with adjacent text.getAlt()
Sets or retrieves a text alternative to the graphic.int
getClientHeight.getClientWidth.getForm()
Retrieves a reference to the form that the object is embedded in.Overrides the action attribute (where the data on a form is sent) on the parent form element.Used to override the encoding (formEnctype attribute) specified on the form element.Overrides the submit method attribute previously specified on a form element.Overrides the target attribute on a form element.double
Sets or retrieves the height of the object.getList()
Specifies the ID of a pre-defined datalist of options for an input element.getMax()
Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.getMin()
Defines the minimum acceptable value for an input element with type="number".getName()
Sets or retrieves the name of the object.getOffsetWidth.Gets or sets a string containing a regular expression that the user's input must match.int
getSize()
getSize.getSrc()
The address or URL of the a media resource that is to be considered.getStep()
Defines an increment or jump between values that you want to allow the user to enter.getType()
Returns the content type of the object.Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.getValue()
Returns the value of the data at the cursor's current position.double
Returns the input field value as a number.double
getWidth()
Sets or retrieves the width of the object.boolean
Sets or retrieves the state of the check box or radio button.boolean
Sets or retrieves the state of the check box or radio button.boolean
Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation.boolean
isIndeterminate.boolean
Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.void
reset()
reset.void
resetInput.void
select()
Makes the selection equal to the current object.void
setAccept.void
setAlign.void
setAlt.void
setChecked
(boolean checked) setChecked.void
setDefaultChecked
(boolean defaultChecked) setDefaultChecked.void
setFormAction
(String formAction) setFormAction.void
setFormEnctype
(String formEnctype) setFormEnctype.void
setFormMethod
(String formMethod) setFormMethod.void
setFormNoValidate
(boolean formNoValidate) setFormNoValidate.void
setFormTarget
(String formTarget) setFormTarget.void
setHeight
(double height) setHeight.void
setIndeterminate
(boolean indeterminate) setIndeterminate.void
setMax.void
setMin.void
setMultiple
(boolean multiple) setMultiple.void
setName.void
setPattern
(String pattern) setPattern.void
setRangeText
(String select, int start, int end, String preserve) setRangeText.void
setSize
(int size) setSize.void
setSrc.void
setStep.void
setType.void
setUseMap.void
setValue.void
setValueAsNumber
(double valueAsNumber) setValueAsNumber.void
setWidth
(double width) setWidth.void
stepDown()
stepDown.void
stepDown
(double n) Decrements a range input control's value by the value given by the Step attribute.void
stepUp()
stepUp.void
stepUp
(double n) Increments a range input control's value by the value given by the Step attribute.void
submit()
submit.void
submitForm
(FormInput[] extraFormInputs) submitForm.void
submitImage
(int x, int y) submitImage.toString()
Methods inherited from class org.loboevolution.html.dom.domimpl.HTMLBasicInputElement
checkValidity, getDefaultValue, getDirName, getLabels, getMaxLength, getMinLength, getPlaceholder, getSelectionDirection, getSelectionEnd, getSelectionStart, getTextLength, getValidationMessage, getValidity, isAutocomplete, isAutofocus, isDisabled, isReadOnly, isRequired, isWillValidate, reportValidity, setAutocomplete, setAutofocus, setCustomValidity, setDefaultValue, setDirName, setDisabled, setMaxLength, setMinLength, setPlaceholder, setRangeText, setRangeText, setReadOnly, setRequired, setSelectionDirection, setSelectionRange, setSelectionRange
Methods inherited from class org.loboevolution.html.dom.domimpl.HTMLElementImpl
assignAttributeField, findStyleDeclarations, forgetLocalStyle, forgetStyle, getAccessKey, getAccessKeyLabel, getAncestorForJavaClass, getAttributeAsBoolean, getAttributeAsInt, getAutocapitalize, getCharset, getComputedStyle, getComputedStyle, getContentEditable, getCurrentStyle, getDocumentBaseURI, getFormInputs, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOnabort, getOnanimationcancel, getOnanimationend, getOnanimationiteration, getOnanimationstart, getOnauxclick, getOnblur, getOncancel, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOnclose, getOncontextmenu, getOncuechange, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragexit, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOnfullscreenchange, getOngotpointercapture, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnloadeddata, getOnloadedmetadata, getOnloadend, getOnloadstart, getOnlostpointercapture, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnpause, getOnplay, getOnplaying, getOnpointercancel, getOnpointerdown, getOnpointerenter, getOnpointerleave, getOnpointermove, getOnpointerout, getOnpointerover, getOnpointerup, getOnprogress, getOnratechange, getOnreset, getOnresize, getOnscroll, getOnsecuritypolicyviolation, getOnseeked, getOnseeking, getOnselect, getOnselectionchange, getOnselectstart, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntoggle, getOntouchcancel, getOntouchend, getOntouchmove, getOntouchstart, getOntransitioncancel, getOntransitionend, getOntransitionrun, getOntransitionstart, getOnvolumechange, getOnwaiting, getOnwheel, getParent, getParentStyle, getStyle, informInvalid, informInvalidAttibute, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setCharset, setContentEditable, setDraggable, setHidden, setMouseOver, setOnabort, setOnanimationcancel, setOnanimationend, setOnanimationiteration, setOnanimationstart, setOnauxclick, setOnblur, setOncancel, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOnclose, setOncontextmenu, setOncuechange, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragexit, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOngotpointercapture, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnloadeddata, setOnloadedmetadata, setOnloadend, setOnloadstart, setOnlostpointercapture, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnoffline, setOnpause, setOnplay, setOnplaying, setOnpointercancel, setOnpointerdown, setOnpointerenter, setOnpointerleave, setOnpointermove, setOnpointerout, setOnpointerover, setOnpointerup, setOnprogress, setOnratechange, setOnreset, setOnresize, setOnscroll, setOnsecuritypolicyviolation, setOnseeked, setOnseeking, setOnselect, setOnselectionchange, setOnselectstart, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntoggle, setOntouchcancel, setOntouchend, setOntouchmove, setOntouchstart, setOntransitioncancel, setOntransitionend, setOntransitionrun, setOntransitionstart, setOnvolumechange, setOnwaiting, setOnwheel, setSpellcheck, setStyle, setTranslate, warn, warn
Methods inherited from class org.loboevolution.html.dom.nodeimpl.ElementImpl
appendOuterHTMLImpl, calculateHeight, calculateWidth, closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBoundingClientRect, getChildElementCount, getClassList, getClassName, getClientLeft, getClientRects, getClientTop, getDir, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getInnerText, getLang, getLastElementChild, getLocalName, getNodeName, getNodeType, getNodeValue, getOuterHTML, getRawInnerText, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, getTitle, hasAttribute, hasAttributeNS, hasAttributes, hasPointerCapture, htmlEncodeChildText, insertAdjacentElement, insertAdjacentHTML, isEqualNode, matches, querySelector, querySelectorAll, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setDir, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setInnerText, setLang, setNodeValue, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, setTitle, toggleAttribute, toggleAttribute
Methods inherited from class org.loboevolution.html.dom.nodeimpl.NodeImpl
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, clone, cloneNode, cloneNode, compareDocumentPosition, contains, findUINode, forgetRenderState, getATTRIBUTE_NODE, getBaseURI, getCDATA_SECTION_NODE, getChildIndex, getChildNodes, getChildren, getCOMMENT_NODE, getDescendents, getDOCUMENT_FRAGMENT_NODE, getDOCUMENT_NODE, getDOCUMENT_POSITION_CONTAINED_BY, getDOCUMENT_POSITION_CONTAINS, getDOCUMENT_POSITION_DISCONNECTED, getDOCUMENT_POSITION_FOLLOWING, getDOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, getDOCUMENT_POSITION_PRECEDING, getDOCUMENT_TYPE_NODE, getDocumentItem, getDocumentNode, getDocumentURL, getELEMENT_NODE, getENTITY_NODE, getENTITY_REFERENCE_NODE, getFeature, getFirstChild, getFirstChildByFilter, getFullURL, getHtmlRendererConfig, getHtmlRendererContext, getLastChild, getNamespaceURI, getNextElementSibling, getNextSibling, getNodeList, getNONE, getNOTATION_NODE, getOwnerDocument, getParentElement, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousElementSibling, getPreviousSibling, getPROCESSING_INSTRUCTION_NODE, getRenderState, getRootNode, getTEXT_NODE, getTextContent, getUINode, getUserAgentContext, getUserData, hasChildNodes, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualOrDescendentOf, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, removeChildAt, removeChildrenImpl, removeTableChildren, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setOwnerDocument, setOwnerDocument, setParentImpl, setPrefix, setTextContent, setUINode, setUserData, visit, visitImpl
Methods inherited from class org.loboevolution.html.dom.nodeimpl.event.EventTargetImpl
addEventListener, addEventListener, dispatchEvent, dispatchEvent, getFunction, removeEventListener, removeEventListener
Methods inherited from class org.loboevolution.js.AbstractScriptableDelegate
getScriptable, setScriptable
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.loboevolution.html.style.CSSPropertiesContext
informLayoutInvalid, informLookInvalid, informPositionInvalid, informSizeInvalid
Methods inherited from interface org.loboevolution.html.node.Element
closest, getAttribute, getAttributeNames, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClassList, getClassName, getClientLeft, getClientRects, getClientTop, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getId, getInnerHTML, getLocalName, getNamespaceURI, getOuterHTML, getPrefix, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSlot, getTagName, hasAttribute, hasAttributeNS, hasPointerCapture, insertAdjacentElement, insertAdjacentHTML, matches, releasePointerCapture, removeAttribute, removeAttributeNode, removeAttributeNS, requestPointerLock, scroll, scrollBy, scrollIntoView, scrollIntoView, scrollTo, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOuterHTML, setPointerCapture, setScrollLeft, setScrollTop, setSlot, toggleAttribute, toggleAttribute
Methods inherited from interface org.loboevolution.events.EventTarget
addEventListener, addEventListener, dispatchEvent, dispatchEvent, removeEventListener, removeEventListener
Methods inherited from interface org.loboevolution.events.GlobalEventHandlers
addAbortEventListener, addAbortEventListener, addAnimationCancelEventListener, addAnimationCancelEventListener, addAnimationEndEventListener, addAnimationEndEventListener, addAnimationIterationEventListener, addAnimationIterationEventListener, addAnimationStartEventListener, addAnimationStartEventListener, addAuxClickEventListener, addAuxClickEventListener, addBlurEventListener, addBlurEventListener, addCancelEventListener, addCancelEventListener, addCanPlayEventListener, addCanPlayEventListener, addCanPlayThroughEventListener, addCanPlayThroughEventListener, addChangeEventListener, addChangeEventListener, addClickEventListener, addClickEventListener, addCloseEventListener, addCloseEventListener, addContextMenuEventListener, addContextMenuEventListener, addCueChangeEventListener, addCueChangeEventListener, addDblClickEventListener, addDblClickEventListener, addDragEndEventListener, addDragEndEventListener, addDragEnterEventListener, addDragEnterEventListener, addDragEventListener, addDragEventListener, addDragExitEventListener, addDragExitEventListener, addDragLeaveEventListener, addDragLeaveEventListener, addDragOverEventListener, addDragOverEventListener, addDragStartEventListener, addDragStartEventListener, addDropEventListener, addDropEventListener, addDurationChangeEventListener, addDurationChangeEventListener, addEmptiedEventListener, addEmptiedEventListener, addEndedEventListener, addEndedEventListener, addErrorEventListener, addErrorEventListener, addFocusEventListener, addFocusEventListener, addFocusInEventListener, addFocusInEventListener, addFocusOutEventListener, addFocusOutEventListener, addGotPointerCaptureEventListener, addGotPointerCaptureEventListener, addInputEventListener, addInputEventListener, addInvalidEventListener, addInvalidEventListener, addKeyDownEventListener, addKeyDownEventListener, addKeyPressEventListener, addKeyPressEventListener, addKeyUpEventListener, addKeyUpEventListener, addLoadedDataEventListener, addLoadedDataEventListener, addLoadedMetaDataEventListener, addLoadedMetaDataEventListener, addLoadEndEventListener, addLoadEndEventListener, addLoadEventListener, addLoadEventListener, addLoadStartEventListener, addLoadStartEventListener, addLostPointerCaptureEventListener, addLostPointerCaptureEventListener, addMouseDownEventListener, addMouseDownEventListener, addMouseEnterEventListener, addMouseEnterEventListener, addMouseLeaveEventListener, addMouseLeaveEventListener, addMouseMoveEventListener, addMouseMoveEventListener, addMouseOutEventListener, addMouseOutEventListener, addMouseOverEventListener, addMouseOverEventListener, addMouseUpEventListener, addMouseUpEventListener, addPauseEventListener, addPauseEventListener, addPlayEventListener, addPlayEventListener, addPlayingEventListener, addPlayingEventListener, addPointerCancelEventListener, addPointerCancelEventListener, addPointerDownEventListener, addPointerDownEventListener, addPointerEnterEventListener, addPointerEnterEventListener, addPointerLeaveEventListener, addPointerLeaveEventListener, addPointerMoveEventListener, addPointerMoveEventListener, addPointerOutEventListener, addPointerOutEventListener, addPointerOverEventListener, addPointerOverEventListener, addPointerUpEventListener, addPointerUpEventListener, addProgressEventListener, addProgressEventListener, addRateChangeEventListener, addRateChangeEventListener, addResetEventListener, addResetEventListener, addResizeEventListener, addResizeEventListener, addScrollEventListener, addScrollEventListener, addSecurityPolicyViolationEventListener, addSecurityPolicyViolationEventListener, addSeekedEventListener, addSeekedEventListener, addSeekingEventListener, addSeekingEventListener, addSelectEventListener, addSelectEventListener, addSelectionChangeEventListener, addSelectionChangeEventListener, addSelectStartEventListener, addSelectStartEventListener, addStalledEventListener, addStalledEventListener, addSubmitEventListener, addSubmitEventListener, addSuspendEventListener, addSuspendEventListener, addTimeUpdateEventListener, addTimeUpdateEventListener, addToggleEventListener, addToggleEventListener, addTouchCancelEventListener, addTouchCancelEventListener, addTouchEndEventListener, addTouchEndEventListener, addTouchMoveEventListener, addTouchMoveEventListener, addTouchStartEventListener, addTouchStartEventListener, addTransitionCancelEventListener, addTransitionCancelEventListener, addTransitionEndEventListener, addTransitionEndEventListener, addTransitionRunEventListener, addTransitionRunEventListener, addTransitionStartEventListener, addTransitionStartEventListener, addVolumeChangeEventListener, addVolumeChangeEventListener, addWaitingEventListener, addWaitingEventListener, addWheelEventListener, addWheelEventListener, removeAbortEventListener, removeAbortEventListener, removeAnimationCancelEventListener, removeAnimationCancelEventListener, removeAnimationEndEventListener, removeAnimationEndEventListener, removeAnimationIterationEventListener, removeAnimationIterationEventListener, removeAnimationStartEventListener, removeAnimationStartEventListener, removeAuxClickEventListener, removeAuxClickEventListener, removeBlurEventListener, removeBlurEventListener, removeCancelEventListener, removeCancelEventListener, removeCanPlayEventListener, removeCanPlayEventListener, removeCanPlayThroughEventListener, removeCanPlayThroughEventListener, removeChangeEventListener, removeChangeEventListener, removeClickEventListener, removeClickEventListener, removeCloseEventListener, removeCloseEventListener, removeContextMenuEventListener, removeContextMenuEventListener, removeCueChangeEventListener, removeCueChangeEventListener, removeDblClickEventListener, removeDblClickEventListener, removeDragEndEventListener, removeDragEndEventListener, removeDragEnterEventListener, removeDragEnterEventListener, removeDragEventListener, removeDragEventListener, removeDragExitEventListener, removeDragExitEventListener, removeDragLeaveEventListener, removeDragLeaveEventListener, removeDragOverEventListener, removeDragOverEventListener, removeDragStartEventListener, removeDragStartEventListener, removeDropEventListener, removeDropEventListener, removeDurationChangeEventListener, removeDurationChangeEventListener, removeEmptiedEventListener, removeEmptiedEventListener, removeEndedEventListener, removeEndedEventListener, removeErrorEventListener, removeErrorEventListener, removeFocusEventListener, removeFocusEventListener, removeFocusInEventListener, removeFocusInEventListener, removeFocusOutEventListener, removeFocusOutEventListener, removeGotPointerCaptureEventListener, removeGotPointerCaptureEventListener, removeInputEventListener, removeInputEventListener, removeInvalidEventListener, removeInvalidEventListener, removeKeyDownEventListener, removeKeyDownEventListener, removeKeyPressEventListener, removeKeyPressEventListener, removeKeyUpEventListener, removeKeyUpEventListener, removeLoadedDataEventListener, removeLoadedDataEventListener, removeLoadedMetaDataEventListener, removeLoadedMetaDataEventListener, removeLoadEndEventListener, removeLoadEndEventListener, removeLoadEventListener, removeLoadEventListener, removeLoadStartEventListener, removeLoadStartEventListener, removeLostPointerCaptureEventListener, removeLostPointerCaptureEventListener, removeMouseDownEventListener, removeMouseDownEventListener, removeMouseEnterEventListener, removeMouseEnterEventListener, removeMouseLeaveEventListener, removeMouseLeaveEventListener, removeMouseMoveEventListener, removeMouseMoveEventListener, removeMouseOutEventListener, removeMouseOutEventListener, removeMouseOverEventListener, removeMouseOverEventListener, removeMouseUpEventListener, removeMouseUpEventListener, removePauseEventListener, removePauseEventListener, removePlayEventListener, removePlayEventListener, removePlayingEventListener, removePlayingEventListener, removePointerCancelEventListener, removePointerCancelEventListener, removePointerDownEventListener, removePointerDownEventListener, removePointerEnterEventListener, removePointerEnterEventListener, removePointerLeaveEventListener, removePointerLeaveEventListener, removePointerMoveEventListener, removePointerMoveEventListener, removePointerOutEventListener, removePointerOutEventListener, removePointerOverEventListener, removePointerOverEventListener, removePointerUpEventListener, removePointerUpEventListener, removeProgressEventListener, removeProgressEventListener, removeRateChangeEventListener, removeRateChangeEventListener, removeResetEventListener, removeResetEventListener, removeResizeEventListener, removeResizeEventListener, removeScrollEventListener, removeScrollEventListener, removeSecurityPolicyViolationEventListener, removeSecurityPolicyViolationEventListener, removeSeekedEventListener, removeSeekedEventListener, removeSeekingEventListener, removeSeekingEventListener, removeSelectEventListener, removeSelectEventListener, removeSelectionChangeEventListener, removeSelectionChangeEventListener, removeSelectStartEventListener, removeSelectStartEventListener, removeStalledEventListener, removeStalledEventListener, removeSubmitEventListener, removeSubmitEventListener, removeSuspendEventListener, removeSuspendEventListener, removeTimeUpdateEventListener, removeTimeUpdateEventListener, removeToggleEventListener, removeToggleEventListener, removeTouchCancelEventListener, removeTouchCancelEventListener, removeTouchEndEventListener, removeTouchEndEventListener, removeTouchMoveEventListener, removeTouchMoveEventListener, removeTouchStartEventListener, removeTouchStartEventListener, removeTransitionCancelEventListener, removeTransitionCancelEventListener, removeTransitionEndEventListener, removeTransitionEndEventListener, removeTransitionRunEventListener, removeTransitionRunEventListener, removeTransitionStartEventListener, removeTransitionStartEventListener, removeVolumeChangeEventListener, removeVolumeChangeEventListener, removeWaitingEventListener, removeWaitingEventListener, removeWheelEventListener, removeWheelEventListener
Methods inherited from interface org.loboevolution.html.dom.HTMLElement
getAccessKey, getAccessKeyLabel, getAutocapitalize, getContentEditable, getDir, getInnerText, getLang, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getTitle, isDraggable, isHidden, isSpellcheck, isTranslate, setAccessKey, setAutocapitalize, setContentEditable, setDir, setDraggable, setHidden, setInnerText, setLang, setSpellcheck, setTitle, setTranslate
Methods inherited from interface org.loboevolution.html.dom.HTMLInputElement
checkValidity, getDefaultValue, getDirName, getLabels, getMaxLength, getMinLength, getPlaceholder, getSelectionDirection, getSelectionEnd, getSelectionStart, getValidationMessage, getValidity, isAutocomplete, isAutofocus, isDisabled, isReadOnly, isRequired, isWillValidate, reportValidity, setAutocomplete, setAutofocus, setCustomValidity, setDefaultValue, setDirName, setDisabled, setMaxLength, setMinLength, setPlaceholder, setRangeText, setRangeText, setReadOnly, setRequired, setSelectionDirection, setSelectionEnd, setSelectionRange, setSelectionRange, setSelectionStart
Methods inherited from interface org.loboevolution.html.node.InnerHTML
setInnerHTML
Methods inherited from interface org.loboevolution.html.node.Node
appendChild, cloneNode, cloneNode, compareDocumentPosition, contains, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRootNode, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isIsConnected, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prepend, prependChild, removeChild, replaceChild, setNodeValue, setOwnerDocument, setPrefix, setTextContent, setUserData
Methods inherited from interface org.loboevolution.html.node.NonDocumentTypeChildNode
getNextElementSibling, getPreviousElementSibling
Methods inherited from interface org.loboevolution.html.node.ParentNode
getChildElementCount, getChildren, getFirstElementChild, getLastElementChild, querySelector, querySelectorAll
-
Constructor Details
-
HTMLInputElementImpl
Constructor for HTMLInputElementImpl.
- Parameters:
name
- aString
object.
-
-
Method Details
-
getAccept
Sets or retrieves a comma-separated list of content types.- Specified by:
getAccept
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
getAlt
Sets or retrieves a text alternative to the graphic.- Specified by:
getAlt
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
isChecked
public boolean isChecked()Sets or retrieves the state of the check box or radio button.- Specified by:
isChecked
in interfaceHTMLInputElement
- Returns:
- a boolean.
-
getForm
Retrieves a reference to the form that the object is embedded in.- Specified by:
getForm
in interfaceHTMLInputElement
- Returns:
- a
HTMLFormElement
object.
-
getName
Sets or retrieves the name of the object.- Specified by:
getName
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
getSize
public int getSize()getSize.
- Specified by:
getSize
in interfaceHTMLInputElement
- Returns:
- a
Integer
object.
-
getSrc
The address or URL of the a media resource that is to be considered.- Specified by:
getSrc
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
getType
Returns the content type of the object.- Specified by:
getType
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
getValue
Returns the value of the data at the cursor's current position.- Specified by:
getValue
in interfaceHTMLInputElement
- Specified by:
getValue
in classHTMLBasicInputElement
- Returns:
- a
String
object.
-
select
public void select()Makes the selection equal to the current object.- Specified by:
select
in interfaceHTMLInputElement
-
blur
public void blur()blur.
-
focus
public void focus()focus.
-
click
public void click()Description copied from class:HTMLElementImpl
click.
- Specified by:
click
in interfaceHTMLElement
- Overrides:
click
in classHTMLElementImpl
-
setRangeText
setRangeText.
- Specified by:
setRangeText
in interfaceHTMLInputElement
- Parameters:
select
- aString
object.start
- aInteger
object.end
- aInteger
object.preserve
- aString
object.
-
setAccept
setAccept.
- Specified by:
setAccept
in interfaceHTMLInputElement
- Parameters:
accept
- aString
object.
-
setAlt
setAlt.
- Specified by:
setAlt
in interfaceHTMLInputElement
- Parameters:
alt
- aString
object.
-
setChecked
public void setChecked(boolean checked) setChecked.
- Specified by:
setChecked
in interfaceHTMLInputElement
- Parameters:
checked
- a boolean.
-
setName
setName.
- Specified by:
setName
in interfaceHTMLInputElement
- Parameters:
name
- aString
object.
-
setSize
public void setSize(int size) setSize.
- Specified by:
setSize
in interfaceHTMLInputElement
- Parameters:
size
- aInteger
object.
-
setSrc
setSrc.
- Specified by:
setSrc
in interfaceHTMLInputElement
- Parameters:
src
- aString
object.
-
setType
setType.
- Specified by:
setType
in interfaceHTMLInputElement
- Parameters:
type
- aString
object.
-
setValue
setValue.
- Specified by:
setValue
in interfaceHTMLInputElement
- Specified by:
setValue
in classHTMLBasicInputElement
- Parameters:
value
- aString
object.
-
draw
draw.
- Parameters:
ic
- aInputControl
object.
-
submit
public void submit()submit.
-
reset
public void reset()reset.
-
submitImage
public void submitImage(int x, int y) submitImage.
-
submitForm
submitForm.
- Parameters:
extraFormInputs
- an array ofFormInput
objects.
-
resetInput
public void resetInput()resetInput.
-
getAlign
Sets or retrieves how the object is aligned with adjacent text.- Specified by:
getAlign
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setAlign
setAlign.
- Specified by:
setAlign
in interfaceHTMLInputElement
- Parameters:
align
- aString
object.
-
isDefaultChecked
public boolean isDefaultChecked()Sets or retrieves the state of the check box or radio button.- Specified by:
isDefaultChecked
in interfaceHTMLInputElement
- Returns:
- a boolean.
-
setDefaultChecked
public void setDefaultChecked(boolean defaultChecked) setDefaultChecked.
- Specified by:
setDefaultChecked
in interfaceHTMLInputElement
- Parameters:
defaultChecked
- a boolean.
-
getFormAction
Overrides the action attribute (where the data on a form is sent) on the parent form element.- Specified by:
getFormAction
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setFormAction
setFormAction.
- Specified by:
setFormAction
in interfaceHTMLInputElement
- Parameters:
formAction
- aString
object.
-
getFormEnctype
Used to override the encoding (formEnctype attribute) specified on the form element.- Specified by:
getFormEnctype
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setFormEnctype
setFormEnctype.
- Specified by:
setFormEnctype
in interfaceHTMLInputElement
- Parameters:
formEnctype
- aString
object.
-
getFormMethod
Overrides the submit method attribute previously specified on a form element.- Specified by:
getFormMethod
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setFormMethod
setFormMethod.
- Specified by:
setFormMethod
in interfaceHTMLInputElement
- Parameters:
formMethod
- aString
object.
-
isFormNoValidate
public boolean isFormNoValidate()Overrides any validation or required attributes on a form or form elements to allow it to be submitted without validation. This can be used to create a "save draft"-type submit option.- Specified by:
isFormNoValidate
in interfaceHTMLInputElement
- Returns:
- a boolean.
-
setFormNoValidate
public void setFormNoValidate(boolean formNoValidate) setFormNoValidate.
- Specified by:
setFormNoValidate
in interfaceHTMLInputElement
- Parameters:
formNoValidate
- a boolean.
-
getFormTarget
Overrides the target attribute on a form element.- Specified by:
getFormTarget
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setFormTarget
setFormTarget.
- Specified by:
setFormTarget
in interfaceHTMLInputElement
- Parameters:
formTarget
- aString
object.
-
getHeight
public double getHeight()Sets or retrieves the height of the object.- Specified by:
getHeight
in interfaceHTMLInputElement
- Returns:
- a double.
-
setHeight
public void setHeight(double height) setHeight.
- Specified by:
setHeight
in interfaceHTMLInputElement
- Parameters:
height
- a double.
-
isIndeterminate
public boolean isIndeterminate()isIndeterminate.
- Specified by:
isIndeterminate
in interfaceHTMLInputElement
- Returns:
- a boolean.
-
setIndeterminate
public void setIndeterminate(boolean indeterminate) setIndeterminate.
- Specified by:
setIndeterminate
in interfaceHTMLInputElement
- Parameters:
indeterminate
- a boolean.
-
getList
Specifies the ID of a pre-defined datalist of options for an input element.- Specified by:
getList
in interfaceHTMLInputElement
- Returns:
- a
HTMLElement
object.
-
getMax
Defines the maximum acceptable value for an input element with type="number".When used with the min and step attributes, lets you control the range and increment (such as only even numbers) that the user can enter into an input field.- Specified by:
getMax
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setMax
setMax.
- Specified by:
setMax
in interfaceHTMLInputElement
- Parameters:
max
- aString
object.
-
getMin
Defines the minimum acceptable value for an input element with type="number". When used with the max and step attributes, lets you control the range and increment (such as even numbers only) that the user can enter into an input field.- Specified by:
getMin
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setMin
setMin.
- Specified by:
setMin
in interfaceHTMLInputElement
- Parameters:
min
- aString
object.
-
isMultiple
public boolean isMultiple()Sets or retrieves the Boolean value indicating whether multiple items can be selected from a list.- Specified by:
isMultiple
in interfaceHTMLInputElement
- Returns:
- a boolean.
-
setMultiple
public void setMultiple(boolean multiple) setMultiple.
- Specified by:
setMultiple
in interfaceHTMLInputElement
- Parameters:
multiple
- a boolean.
-
getPattern
Gets or sets a string containing a regular expression that the user's input must match.- Specified by:
getPattern
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setPattern
setPattern.
- Specified by:
setPattern
in interfaceHTMLInputElement
- Parameters:
pattern
- aString
object.
-
getStep
Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field.- Specified by:
getStep
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setStep
setStep.
- Specified by:
setStep
in interfaceHTMLInputElement
- Parameters:
step
- aString
object.
-
getUseMap
Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.- Specified by:
getUseMap
in interfaceHTMLInputElement
- Returns:
- a
String
object.
-
setUseMap
setUseMap.
- Specified by:
setUseMap
in interfaceHTMLInputElement
- Parameters:
useMap
- aString
object.
-
getValueAsNumber
public double getValueAsNumber()Returns the input field value as a number.- Specified by:
getValueAsNumber
in interfaceHTMLInputElement
- Returns:
- a double.
-
setValueAsNumber
public void setValueAsNumber(double valueAsNumber) setValueAsNumber.
- Specified by:
setValueAsNumber
in interfaceHTMLInputElement
- Parameters:
valueAsNumber
- a double.
-
getWidth
public double getWidth()Sets or retrieves the width of the object.- Specified by:
getWidth
in interfaceHTMLInputElement
- Returns:
- a double.
-
setWidth
public void setWidth(double width) setWidth.
- Specified by:
setWidth
in interfaceHTMLInputElement
- Parameters:
width
- a double.
-
stepDown
public void stepDown(double n) Decrements a range input control's value by the value given by the Step attribute. If the optional parameter is used, it will decrement the input control's step value multiplied by the parameter's value.- Specified by:
stepDown
in interfaceHTMLInputElement
- Parameters:
n
- Value to decrement the value by.
-
stepDown
public void stepDown()stepDown.
- Specified by:
stepDown
in interfaceHTMLInputElement
-
stepUp
public void stepUp(double n) Increments a range input control's value by the value given by the Step attribute. If the optional parameter is used, will increment the input control's value by that value.- Specified by:
stepUp
in interfaceHTMLInputElement
- Parameters:
n
- Value to increment the value by.
-
stepUp
public void stepUp()stepUp.
- Specified by:
stepUp
in interfaceHTMLInputElement
-
getOffsetWidth
Description copied from class:HTMLElementImpl
getOffsetWidth.
- Specified by:
getOffsetWidth
in interfaceHTMLElement
- Overrides:
getOffsetWidth
in classHTMLElementImpl
- Returns:
- a
Integer
object.
-
getClientWidth
Description copied from class:ElementImpl
getClientWidth.
- Specified by:
getClientWidth
in interfaceElement
- Overrides:
getClientWidth
in classElementImpl
- Returns:
- a
Integer
object.
-
getClientHeight
public int getClientHeight()Description copied from class:ElementImpl
getClientHeight.
- Specified by:
getClientHeight
in interfaceElement
- Overrides:
getClientHeight
in classElementImpl
- Returns:
- a
Integer
object.
-
createRenderState
createRenderState.
- Overrides:
createRenderState
in classHTMLElementImpl
- Parameters:
prevRenderState
- aRenderState
object.- Returns:
- a
RenderState
object.
-
toString
- Overrides:
toString
in classHTMLElementImpl
-