|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mozilla.javascript.ScriptableObject
com.gargoylesoftware.htmlunit.javascript.SimpleScriptable
com.gargoylesoftware.htmlunit.javascript.host.NodeImpl
com.gargoylesoftware.htmlunit.javascript.host.HTMLElement
com.gargoylesoftware.htmlunit.javascript.host.FocusableHostElement
com.gargoylesoftware.htmlunit.javascript.host.FormField
com.gargoylesoftware.htmlunit.javascript.host.HTMLTextAreaElement
public class HTMLTextAreaElement
The javascript object that represents a textarea
Field Summary |
---|
Fields inherited from class org.mozilla.javascript.ScriptableObject |
---|
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST |
Fields inherited from interface org.mozilla.javascript.Scriptable |
---|
NOT_FOUND |
Constructor Summary | |
---|---|
HTMLTextAreaElement()
Create an instance. |
Method Summary | |
---|---|
void |
jsConstructor()
Javascript constructor. |
java.lang.String |
jsxGet_defaultValue()
Returns the textarea's default value, used if the containing form gets reset. |
int |
jsxGet_selectionEnd()
Gets the value of "selectionEnd" attribute |
int |
jsxGet_selectionStart()
Gets the value of "selectionStart" attribute |
int |
jsxGet_textLength()
Gets the value of "textLength" attribute |
java.lang.String |
jsxGet_type()
Return the type of this input. |
java.lang.String |
jsxGet_value()
Return the value of the "value" attribute |
void |
jsxSet_defaultValue(java.lang.String defaultValue)
Sets the textarea's default value, used if the containing form gets reset. |
void |
jsxSet_selectionEnd(int end)
Sets the value of "selectionEnd" attribute |
void |
jsxSet_selectionStart(int start)
Sets the value of "selectionStart" attribute |
void |
jsxSet_value(java.lang.String value)
Set the value of the "value" attribute |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.FormField |
---|
jsxFunction_click, jsxFunction_select, jsxGet_disabled, jsxGet_form, jsxGet_name, jsxGet_onchange, jsxGet_tabindex, jsxSet_disabled, jsxSet_name, jsxSet_onchange, setDomNode |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.FocusableHostElement |
---|
jsxFunction_blur, jsxFunction_focus |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.host.NodeImpl |
---|
executeEvent, fireEvent, getEventHandler, 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 |
Methods inherited from class com.gargoylesoftware.htmlunit.javascript.SimpleScriptable |
---|
get, getBooleanArg, getClassName, getDefaultValue, getDomNodeOrDie, getDomNodeOrNull, getHtmlElementOrDie, getHtmlElementOrNull, getIntArg, getObjectArg, getStringArg, makeScriptableFor, setHtmlElement |
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, 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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.mozilla.javascript.Scriptable |
---|
delete, delete, get, get, getClassName, getDefaultValue, getIds, getParentScope, getPrototype, has, has, hasInstance, put, put, setParentScope, setPrototype |
Constructor Detail |
---|
public HTMLTextAreaElement()
Method Detail |
---|
public void jsConstructor()
public java.lang.String jsxGet_defaultValue()
public int jsxGet_selectionEnd()
public int jsxGet_selectionStart()
public int jsxGet_textLength()
public java.lang.String jsxGet_type()
jsxGet_type
in class FormField
public java.lang.String jsxGet_value()
jsxGet_value
in class FormField
public void jsxSet_defaultValue(java.lang.String defaultValue)
defaultValue
- The textarea's default value, used if the containing form gets reset.public void jsxSet_selectionEnd(int end)
end
- selection endpublic void jsxSet_selectionStart(int start)
start
- selection startpublic void jsxSet_value(java.lang.String value)
jsxSet_value
in class FormField
value
- The new value
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |