public class HTMLInputElement extends FormField
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
Constructor and Description |
---|
HTMLInputElement()
Create an instance.
|
Modifier and Type | Method and Description |
---|---|
protected HtmlInput |
getHtmlInputOrDie()
Commodity for
(HtmlInput) getHtmlElementOrDie() |
void |
jsConstructor()
Javascript constructor.
|
void |
jsxFunction_setAttribute(String name,
String value)
Uses
jsxSet_type(String) if attribute's name is type to
replace DOM node as well as long as we have subclasses of HtmlInput . |
boolean |
jsxGet_checked()
Return the value of the checked property.
|
boolean |
jsxGet_defaultChecked()
Returns the input's default checked value, used if the containing form gets reset.
|
String |
jsxGet_defaultValue()
Returns the input's default value, used if the containing form gets reset.
|
void |
jsxSet_checked(boolean checked)
Set the checked property.
|
void |
jsxSet_defaultChecked(boolean defaultChecked)
Sets the input's default checked value, used if the containing form gets reset.
|
void |
jsxSet_defaultValue(String defaultValue)
Sets the input's default value, used if the containing form gets reset.
|
void |
jsxSet_type(String newType)
Sets the value of the attribute "type".
|
jsxFunction_click, jsxFunction_select, jsxGet_disabled, jsxGet_form, jsxGet_name, jsxGet_onchange, jsxGet_tabindex, jsxGet_type, jsxGet_value, jsxSet_disabled, jsxSet_name, jsxSet_onchange, jsxSet_value, setDomNode
addComponentRequest, clearComponentRequest, compareVersions, doComponentRequest, getAvailHeight, getAvailWidth, getBoxObject, getBufferDepth, getColorDepth, getComponentVersion, getConnectionType, getCookieEnabled, getCpuClass, getHeight, getHtmlElementOrDie, getHtmlElementOrNull, getJavaEnabled, getPlatform, getSystemLanguage, getUserLanguage, getWidth, getWithFallback, isComponentInstalled, isHomePage, jsxFunction_addBehavior, jsxFunction_blur, jsxFunction_dispatchEvent, jsxFunction_fireEvent, jsxFunction_focus, jsxFunction_getAttribute, jsxFunction_getAttributeNode, jsxFunction_getAttributeNS, jsxFunction_getBoundingClientRect, jsxFunction_getClientRects, jsxFunction_getElementsByTagName, jsxFunction_hasAttribute, jsxFunction_hasAttributeNS, jsxFunction_insertAdjacentElement, jsxFunction_insertAdjacentHTML, jsxFunction_removeAttribute, jsxFunction_removeBehavior, jsxFunction_removeExpression, jsxFunction_scrollIntoView, jsxFunction_setAttributeNode, jsxFunction_setAttributeNS, jsxFunction_setExpression, jsxGet_all, jsxGet_attributes, jsxGet_children, jsxGet_className, jsxGet_currentStyle, jsxGet_id, jsxGet_innerHTML, jsxGet_innerText, jsxGet_localName, jsxGet_namespaceURI, jsxGet_offsetHeight, jsxGet_offsetLeft, jsxGet_offsetParent, jsxGet_offsetTop, jsxGet_offsetWidth, jsxGet_onblur, jsxGet_onclick, jsxGet_oncontextmenu, jsxGet_ondblclick, jsxGet_onfocus, jsxGet_onkeydown, jsxGet_onkeypress, jsxGet_onkeyup, jsxGet_onmousedown, jsxGet_onmousemove, jsxGet_onmouseout, jsxGet_onmouseover, jsxGet_onmouseup, jsxGet_onresize, jsxGet_outerHTML, jsxGet_ownerDocument, jsxGet_parentElement, jsxGet_prefix, jsxGet_runtimeStyle, jsxGet_scrollHeight, jsxGet_scrollLeft, jsxGet_scrollTop, jsxGet_scrollWidth, jsxGet_style, jsxGet_tagName, jsxGet_title, jsxGet_uniqueID, jsxSet_className, jsxSet_id, jsxSet_innerHTML, jsxSet_innerText, jsxSet_onblur, jsxSet_onclick, jsxSet_oncontextmenu, jsxSet_ondblclick, jsxSet_onfocus, jsxSet_onkeydown, jsxSet_onkeypress, jsxSet_onkeyup, jsxSet_onmousedown, jsxSet_onmousemove, jsxSet_onmouseout, jsxSet_onmouseover, jsxSet_onmouseup, jsxSet_onresize, jsxSet_outerHTML, jsxSet_scrollLeft, jsxSet_scrollTop, jsxSet_title, navigateHomePage, readAttributes, setHomePage, startDownload, toString
executeEvent, fireEvent, getEventHandler, getEventHandlerProp, getJavaScriptNode, jsxFunction_addEventListener, jsxFunction_appendChild, jsxFunction_attachEvent, jsxFunction_cloneNode, jsxFunction_detachEvent, jsxFunction_hasChildNodes, jsxFunction_insertBefore, jsxFunction_isSameNode, jsxFunction_removeChild, jsxFunction_removeEventListener, jsxFunction_replaceChild, jsxGet_childNodes, jsxGet_firstChild, jsxGet_lastChild, jsxGet_nextSibling, jsxGet_nodeName, jsxGet_nodeType, jsxGet_nodeValue, jsxGet_parentNode, jsxGet_previousSibling, jsxSet_nodeValue, setEventHandler, setEventHandlerProp
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getIntArg, getLog, getObjectArg, getPrototype, getScriptableFor, getStartingScope, getStringArg, getTransformerScriptableFor, getWindow, getWindow, getWithPreemption, makeScriptableFor, setDomNode, setHtmlElement
associateValue, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
public void jsConstructor()
public void jsxSet_type(String newType)
newType
- the new type to setpublic void jsxSet_checked(boolean checked)
checked
- True if this input should have the "checked" attribute setprotected HtmlInput getHtmlInputOrDie()
(HtmlInput) getHtmlElementOrDie()
public boolean jsxGet_checked()
public void jsxFunction_setAttribute(String name, String value)
jsxSet_type(String)
if attribute's name is type to
replace DOM node as well as long as we have subclasses of HtmlInput
.
Set an attribute.
See also
the DOM referencejsxFunction_setAttribute
in class HTMLElement
name
- Name of the attribute to setvalue
- Value to set the attribute topublic String jsxGet_defaultValue()
public void jsxSet_defaultValue(String defaultValue)
defaultValue
- The input's default value, used if the containing form gets reset.public boolean jsxGet_defaultChecked()
public void jsxSet_defaultChecked(boolean defaultChecked)
defaultChecked
- The input's default checked value, used if the containing form gets reset.Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.