public class HTMLInputElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLInputElement
ALLOW_KEYBOARD_INPUT
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
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
Modifier and Type | Method and Description |
---|---|
Object |
call(String methodName,
Object... args)
Calls a JavaScript method.
|
boolean |
checkValidity() |
void |
click() |
boolean |
equals(Object other) |
Object |
eval(String s)
Evaluates a JavaScript expression.
|
String |
getAccept() |
String |
getAccessKey() |
String |
getAlign() |
String |
getAlt() |
String |
getAutocomplete() |
boolean |
getAutofocus() |
boolean |
getChecked() |
boolean |
getDefaultChecked() |
String |
getDefaultValue() |
String |
getDirName() |
boolean |
getDisabled() |
org.w3c.dom.html.HTMLFormElement |
getForm() |
String |
getFormAction() |
String |
getFormEnctype() |
String |
getFormMethod() |
boolean |
getFormNoValidate() |
String |
getFormTarget() |
int |
getHeight() |
boolean |
getIncremental() |
boolean |
getIndeterminate() |
NodeList |
getLabels() |
String |
getMax() |
int |
getMaxLength() |
Object |
getMember(String name)
Retrieves a named member of a JavaScript object.
|
String |
getMin() |
boolean |
getMultiple() |
String |
getName() |
String |
getPattern() |
String |
getPlaceholder() |
boolean |
getReadOnly() |
boolean |
getRequired() |
String |
getSize() |
Object |
getSlot(int index)
Retrieves an indexed member of a JavaScript object.
|
String |
getSrc() |
String |
getStep() |
String |
getType() |
String |
getUseMap() |
String |
getValidationMessage() |
String |
getValue() |
long |
getValueAsDate() |
double |
getValueAsNumber() |
int |
getWidth() |
boolean |
getWillValidate() |
int |
hashCode() |
void |
removeMember(String name)
Removes a named member of a JavaScript object.
|
void |
select() |
void |
setAccept(String value) |
void |
setAccessKey(String value) |
void |
setAlign(String value) |
void |
setAlt(String value) |
void |
setAutocomplete(String value) |
void |
setAutofocus(boolean value) |
void |
setChecked(boolean value) |
void |
setCustomValidity(String error) |
void |
setDefaultChecked(boolean value) |
void |
setDefaultValue(String value) |
void |
setDirName(String value) |
void |
setDisabled(boolean value) |
void |
setFormAction(String value) |
void |
setFormEnctype(String value) |
void |
setFormMethod(String value) |
void |
setFormNoValidate(boolean value) |
void |
setFormTarget(String value) |
void |
setHeight(int value) |
void |
setIncremental(boolean value) |
void |
setIndeterminate(boolean value) |
void |
setMax(String value) |
void |
setMaxLength(int value) |
void |
setMember(String name,
Object value)
Sets a named member of a JavaScript object.
|
void |
setMin(String value) |
void |
setMultiple(boolean value) |
void |
setName(String value) |
void |
setPattern(String value) |
void |
setPlaceholder(String value) |
void |
setRangeText(String replacement) |
void |
setRangeTextEx(String replacement,
int start,
int end,
String selectionMode) |
void |
setReadOnly(boolean value) |
void |
setRequired(boolean value) |
void |
setSize(String value) |
void |
setSlot(int index,
Object value)
Sets an indexed member of a JavaScript object.
|
void |
setSrc(String value) |
void |
setStep(String value) |
void |
setType(String value) |
void |
setUseMap(String value) |
void |
setValue(String value) |
void |
setValueAsDate(long value) |
void |
setValueAsNumber(double value) |
void |
setValueForUser(String value) |
void |
setWidth(int value) |
void |
stepDown(int n) |
void |
stepUp(int n) |
String |
toString() |
getChildren, getContentEditable, getDir, getDraggable, getHidden, getId, getInnerText, getIsContentEditable, getLang, getOuterText, getSpellcheck, getTabIndex, getTitle, getTitleDisplayString, getTranslate, getWebkitdropzone, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerText, setLang, setOuterText, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzone
blur, closest, focus, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getClassName, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getInnerHTML, getLastElementChild, getNextElementSibling, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnanimationend, getOnanimationiteration, getOnanimationstart, getOnbeforecopy, getOnbeforecut, getOnbeforeload, getOnbeforepaste, getOnblur, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnloadeddata, getOnloadedmetadata, getOnloadstart, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnpause, getOnplay, getOnplaying, getOnprogress, getOnratechange, getOnreset, getOnresize, getOnscroll, getOnsearch, getOnseeked, getOnseeking, getOnselect, getOnselectstart, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntransitionend, getOnvolumechange, getOnwaiting, getOnwebkitanimationend, getOnwebkitanimationiteration, getOnwebkitanimationstart, getOnwebkittransitionend, getOnwheel, getOuterHTML, getPreviousElementSibling, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTagName, hasAttribute, hasAttributeNS, hasAttributes, matches, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoViewIfNeeded, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOnabort, setOnanimationend, setOnanimationiteration, setOnanimationstart, setOnbeforecopy, setOnbeforecut, setOnbeforeload, setOnbeforepaste, setOnblur, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnloadeddata, setOnloadedmetadata, setOnloadstart, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnpause, setOnplay, setOnplaying, setOnprogress, setOnratechange, setOnreset, setOnresize, setOnscroll, setOnsearch, setOnseeked, setOnseeking, setOnselect, setOnselectstart, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntransitionend, setOnvolumechange, setOnwaiting, setOnwebkitanimationend, setOnwebkitanimationiteration, setOnwebkitanimationstart, setOnwebkittransitionend, setOnwheel, setOuterHTML, setScrollLeft, setScrollTop, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreen
addEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
blur, focus, getTabIndex, setTabIndex
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS
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
public String getAccept()
getAccept
in interface org.w3c.dom.html.HTMLInputElement
public void setAccept(String value)
setAccept
in interface org.w3c.dom.html.HTMLInputElement
public String getAlt()
getAlt
in interface org.w3c.dom.html.HTMLInputElement
public void setAlt(String value)
setAlt
in interface org.w3c.dom.html.HTMLInputElement
public String getAutocomplete()
public void setAutocomplete(String value)
public boolean getAutofocus()
public void setAutofocus(boolean value)
public boolean getDefaultChecked()
getDefaultChecked
in interface org.w3c.dom.html.HTMLInputElement
public void setDefaultChecked(boolean value)
setDefaultChecked
in interface org.w3c.dom.html.HTMLInputElement
public boolean getChecked()
getChecked
in interface org.w3c.dom.html.HTMLInputElement
public void setChecked(boolean value)
setChecked
in interface org.w3c.dom.html.HTMLInputElement
public String getDirName()
public void setDirName(String value)
public boolean getDisabled()
getDisabled
in interface org.w3c.dom.html.HTMLInputElement
public void setDisabled(boolean value)
setDisabled
in interface org.w3c.dom.html.HTMLInputElement
public org.w3c.dom.html.HTMLFormElement getForm()
getForm
in interface org.w3c.dom.html.HTMLInputElement
public String getFormAction()
public void setFormAction(String value)
public String getFormEnctype()
public void setFormEnctype(String value)
public String getFormMethod()
public void setFormMethod(String value)
public boolean getFormNoValidate()
public void setFormNoValidate(boolean value)
public String getFormTarget()
public void setFormTarget(String value)
public int getHeight()
public void setHeight(int value)
public boolean getIndeterminate()
public void setIndeterminate(boolean value)
public String getMax()
public void setMax(String value)
public int getMaxLength()
getMaxLength
in interface org.w3c.dom.html.HTMLInputElement
public void setMaxLength(int value) throws DOMException
setMaxLength
in interface org.w3c.dom.html.HTMLInputElement
DOMException
public String getMin()
public void setMin(String value)
public boolean getMultiple()
public void setMultiple(boolean value)
public String getName()
getName
in interface org.w3c.dom.html.HTMLInputElement
public void setName(String value)
setName
in interface org.w3c.dom.html.HTMLInputElement
public String getPattern()
public void setPattern(String value)
public String getPlaceholder()
public void setPlaceholder(String value)
public boolean getReadOnly()
getReadOnly
in interface org.w3c.dom.html.HTMLInputElement
public void setReadOnly(boolean value)
setReadOnly
in interface org.w3c.dom.html.HTMLInputElement
public boolean getRequired()
public void setRequired(boolean value)
public String getSize()
getSize
in interface org.w3c.dom.html.HTMLInputElement
public void setSize(String value)
setSize
in interface org.w3c.dom.html.HTMLInputElement
public String getSrc()
getSrc
in interface org.w3c.dom.html.HTMLInputElement
public void setSrc(String value)
setSrc
in interface org.w3c.dom.html.HTMLInputElement
public String getStep()
public void setStep(String value)
public String getType()
getType
in interface org.w3c.dom.html.HTMLInputElement
public void setType(String value)
public String getDefaultValue()
getDefaultValue
in interface org.w3c.dom.html.HTMLInputElement
public void setDefaultValue(String value)
setDefaultValue
in interface org.w3c.dom.html.HTMLInputElement
public String getValue()
getValue
in interface org.w3c.dom.html.HTMLInputElement
public void setValue(String value)
setValue
in interface org.w3c.dom.html.HTMLInputElement
public long getValueAsDate()
public void setValueAsDate(long value) throws DOMException
DOMException
public double getValueAsNumber()
public void setValueAsNumber(double value) throws DOMException
DOMException
public int getWidth()
public void setWidth(int value)
public boolean getWillValidate()
public String getValidationMessage()
public NodeList getLabels()
public String getAlign()
getAlign
in interface org.w3c.dom.html.HTMLInputElement
public void setAlign(String value)
setAlign
in interface org.w3c.dom.html.HTMLInputElement
public String getUseMap()
getUseMap
in interface org.w3c.dom.html.HTMLInputElement
public void setUseMap(String value)
setUseMap
in interface org.w3c.dom.html.HTMLInputElement
public boolean getIncremental()
public void setIncremental(boolean value)
public String getAccessKey()
getAccessKey
in interface org.w3c.dom.html.HTMLInputElement
getAccessKey
in class HTMLElementImpl
public void setAccessKey(String value)
setAccessKey
in interface org.w3c.dom.html.HTMLInputElement
setAccessKey
in class HTMLElementImpl
public void stepUp(int n) throws DOMException
DOMException
public void stepDown(int n) throws DOMException
DOMException
public boolean checkValidity()
public void setCustomValidity(String error)
public void select()
select
in interface org.w3c.dom.html.HTMLInputElement
public void setRangeText(String replacement) throws DOMException
DOMException
public void setRangeTextEx(String replacement, int start, int end, String selectionMode) throws DOMException
DOMException
public void click()
click
in interface org.w3c.dom.html.HTMLInputElement
click
in class HTMLElementImpl
public void setValueForUser(String value)
public Object eval(String s) throws JSException
JSObject
Evaluates a JavaScript expression. The expression is a string of JavaScript source code which will be evaluated in the context given by "this".
eval
in class JSObject
s
- The JavaScript expression.JSException
public Object getMember(String name)
JSObject
Retrieves a named member of a JavaScript object. Equivalent to "this.name" in JavaScript.
public void setMember(String name, Object value) throws JSException
JSObject
Sets a named member of a JavaScript object. Equivalent to "this.name = value" in JavaScript.
setMember
in class JSObject
name
- The name of the JavaScript property to be accessed.value
- The value of the propery.JSException
public void removeMember(String name) throws JSException
JSObject
Removes a named member of a JavaScript object. Equivalent to "delete this.name" in JavaScript.
removeMember
in class JSObject
name
- The name of the JavaScript property to be removed.JSException
public Object getSlot(int index) throws JSException
JSObject
Retrieves an indexed member of a JavaScript object. Equivalent to "this[index]" in JavaScript.
getSlot
in class JSObject
index
- The index of the array to be accessed.JSException
public void setSlot(int index, Object value) throws JSException
JSObject
Sets an indexed member of a JavaScript object. Equivalent to "this[index] = value" in JavaScript.
setSlot
in class JSObject
index
- The index of the array to be accessed.JSException
public Object call(String methodName, Object... args) throws JSException
JSObject
Calls a JavaScript method. Equivalent to "this.methodName(args[0], args[1], ...)" in JavaScript.
call
in class JSObject
methodName
- The name of the JavaScript method to be invoked.args
- the Java objects passed as arguments to the method.JSException
Copyright © 2020. All rights reserved.