|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
com.meterware.httpunit.javascript.ScriptingEngineImpl
com.meterware.httpunit.dom.AbstractDomComponent
com.meterware.httpunit.dom.NodeImpl
com.meterware.httpunit.dom.NamespaceAwareNodeImpl
com.meterware.httpunit.dom.ElementImpl
com.meterware.httpunit.dom.HTMLElementImpl
com.meterware.httpunit.dom.HTMLControl
com.meterware.httpunit.dom.HTMLInputElementImpl
public class HTMLInputElementImpl
Field Summary |
---|
Fields inherited from class com.meterware.httpunit.dom.HTMLElementImpl |
---|
UNSPECIFIED_ATTRIBUTE |
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.w3c.dom.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 |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
HTMLInputElementImpl()
|
Method Summary | |
---|---|
void |
blur()
simulate blur |
void |
doClickAction()
|
void |
focus()
simulate focus; |
java.lang.String |
getAccept()
|
java.lang.String |
getAccessKey()
|
java.lang.String |
getAlign()
|
java.lang.String |
getAlt()
|
boolean |
getChecked()
|
boolean |
getDefaultChecked()
|
java.lang.String |
getDefaultValue()
|
int |
getMaxLength()
|
java.lang.String |
getSize()
|
java.lang.String |
getSrc()
|
java.lang.String |
getUseMap()
|
java.lang.String |
getValue()
|
void |
reset()
|
void |
select()
|
void |
setAccept(java.lang.String accept)
|
void |
setAccessKey(java.lang.String accessKey)
|
void |
setAlign(java.lang.String align)
|
void |
setAlt(java.lang.String alt)
|
void |
setAttribute(java.lang.String name,
java.lang.String value)
|
void |
setChecked(boolean checked)
|
void |
setDefaultChecked(boolean defaultChecked)
|
void |
setDefaultValue(java.lang.String defaultValue)
|
void |
setMaxLength(int maxLength)
|
void |
setSize(java.lang.String size)
|
void |
setSrc(java.lang.String src)
|
void |
setUseMap(java.lang.String useMap)
|
void |
setValue(java.lang.String value)
|
void |
silenceSubmitButton()
|
Methods inherited from class com.meterware.httpunit.dom.HTMLControl |
---|
getDisabled, getForm, getName, getReadOnly, getTabIndex, getType, setDisabled, setName, setReadOnly, setTabIndex |
Methods inherited from class com.meterware.httpunit.dom.HTMLElementImpl |
---|
click, getAttributeWithDefault, getAttributeWithNoDefault, getBooleanAttribute, getClassName, getDir, getElementsByTagName, getId, getIntegerAttribute, getIntegerAttribute, getLang, getTitle, setAttribute, setAttribute, setClassName, setDir, setId, setLang, setTitle |
Methods inherited from class com.meterware.httpunit.dom.ElementImpl |
---|
addDomListener, createElement, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getElementsByTagNameNS, getNodeType, getNodeValue, getSchemaTypeInfo, handleEvent, hasAttribute, hasAttributeNS, hasAttributes, importNode, removeAttribute, removeAttributeNode, removeAttributeNS, reportPropertyChanged, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue |
Methods inherited from class com.meterware.httpunit.dom.NamespaceAwareNodeImpl |
---|
getLocalName, getNamespaceURI, getNodeName, getTagName, initialize, initialize |
Methods inherited from class com.meterware.httpunit.dom.AbstractDomComponent |
---|
clearCaches, createAnonymousFunctionName, get, has, newScriptingEngine, put |
Methods inherited from class com.meterware.httpunit.javascript.ScriptingEngineImpl |
---|
clearErrorMessages, discardDocumentWriteBuffer, doEvent, doEventScript, evaluateExpression, getDocumentWriteBuffer, getErrorMessages, handleScriptException, runScript, supportsScriptLanguage |
Methods inherited from class org.mozilla.javascript.ScriptableObject |
---|
associateValue, avoidObjectDetection, 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, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.w3c.dom.html.HTMLInputElement |
---|
click, getDisabled, getForm, getName, getReadOnly, getTabIndex, getType, setDisabled, setName, setReadOnly, setTabIndex |
Methods inherited from interface org.w3c.dom.html.HTMLElement |
---|
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle |
Methods inherited from interface org.w3c.dom.Element |
---|
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
---|
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 |
Methods inherited from interface org.mozilla.javascript.Scriptable |
---|
delete, delete, get, getDefaultValue, getIds, getParentScope, getPrototype, has, hasInstance, put, setParentScope, setPrototype |
Constructor Detail |
---|
public HTMLInputElementImpl()
Method Detail |
---|
public void blur()
blur
in interface org.w3c.dom.html.HTMLInputElement
public void focus()
focus
in interface org.w3c.dom.html.HTMLInputElement
public void doClickAction()
doClickAction
in class HTMLElementImpl
public void select()
select
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getAccept()
getAccept
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getAccessKey()
getAccessKey
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getAlign()
getAlign
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getAlt()
getAlt
in interface org.w3c.dom.html.HTMLInputElement
public boolean getChecked()
getChecked
in interface org.w3c.dom.html.HTMLInputElement
public boolean getDefaultChecked()
getDefaultChecked
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getDefaultValue()
getDefaultValue
in interface org.w3c.dom.html.HTMLInputElement
public int getMaxLength()
getMaxLength
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getSize()
getSize
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getSrc()
getSrc
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getUseMap()
getUseMap
in interface org.w3c.dom.html.HTMLInputElement
public void setAccept(java.lang.String accept)
setAccept
in interface org.w3c.dom.html.HTMLInputElement
public void setAccessKey(java.lang.String accessKey)
setAccessKey
in interface org.w3c.dom.html.HTMLInputElement
public void setAlign(java.lang.String align)
setAlign
in interface org.w3c.dom.html.HTMLInputElement
public void setAlt(java.lang.String alt)
setAlt
in interface org.w3c.dom.html.HTMLInputElement
public void setChecked(boolean checked)
setChecked
in interface org.w3c.dom.html.HTMLInputElement
public void setDefaultChecked(boolean defaultChecked)
setDefaultChecked
in interface org.w3c.dom.html.HTMLInputElement
public void setDefaultValue(java.lang.String defaultValue)
setDefaultValue
in interface org.w3c.dom.html.HTMLInputElement
public void setMaxLength(int maxLength)
setMaxLength
in interface org.w3c.dom.html.HTMLInputElement
public void setSize(java.lang.String size)
setSize
in interface org.w3c.dom.html.HTMLInputElement
public void setSrc(java.lang.String src)
setSrc
in interface org.w3c.dom.html.HTMLInputElement
public void setUseMap(java.lang.String useMap)
setUseMap
in interface org.w3c.dom.html.HTMLInputElement
public java.lang.String getValue()
getValue
in interface org.w3c.dom.html.HTMLInputElement
public void setValue(java.lang.String value)
setValue
in interface org.w3c.dom.html.HTMLInputElement
public void reset()
reset
in class HTMLControl
public void setAttribute(java.lang.String name, java.lang.String value) throws org.w3c.dom.DOMException
setAttribute
in interface org.w3c.dom.Element
setAttribute
in class ElementImpl
org.w3c.dom.DOMException
public void silenceSubmitButton()
silenceSubmitButton
in class HTMLControl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |