|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectice.storm.DynamicObject
ice.pilots.html4.DNode
ice.pilots.html4.DElement
ice.pilots.html4.FormTypeElement
ice.pilots.html4.DTextAreaElement
| Field Summary | |
static int |
DEFAULT_COLS_COUNT
|
static int |
DEFAULT_ROWS_COUNT
|
protected DFormElement |
hackForm
|
| Fields inherited from class ice.pilots.html4.DNode |
doc, first, last, next, parent, prev |
| Fields inherited from class ice.storm.DynamicObject |
NOT_FOUND, SETD_IGNORE, SETD_NOT_FOUND, SETD_OK |
| Fields inherited from interface org.w3c.dom.Node |
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 Summary | |
protected |
DTextAreaElement(DDocument doc,
int id)
|
| Method Summary | |
void |
blur()
Removes keyboard focus from this element. |
void |
dispatchChange()
|
void |
dispatchSelection(int start,
int end)
|
Object |
execDynamicMethod(String name,
Object[] args,
DynEnv env)
Perform function-like actions for `name' with the given args. |
protected String |
fixValue(String value)
|
void |
focus()
Gives keyboard focus to this element. |
String |
getAccessKey()
A single character access key to give access to the form control. |
int |
getCols()
Width of control (in characters). |
String |
getDefaultValue()
Represents the contents of the element. |
DFormElement |
getDForm()
|
boolean |
getDisabled()
The control is unavailable in this context. |
Object |
getDynamicValue(String name,
DynEnv env)
Returns the `key' field or Defs.NOT_FOUND if `name' does not exist. |
HTMLFormElement |
getForm()
Returns the FORM element containing this control. |
boolean |
getReadOnly()
This control is read-only. |
int |
getRows()
Number of text rows. |
int |
getTabIndex()
Index that represents the element's position in the tabbing order. |
String |
getType()
The type of this form control. |
String |
getValue()
Represents the current contents of the corresponding form control, in an interactive user agent. |
void |
select()
Select the contents of the TEXTAREA. |
void |
setAccessKey(String accessKey)
|
void |
setCols(int value)
|
void |
setDefaultValue(String defaultValue)
|
void |
setDisabled(boolean disabled)
|
int |
setDynamicValue(String name,
Object value,
DynEnv env)
Set field `name' to `value'. |
void |
setReadOnly(boolean readOnly)
|
void |
setRows(int value)
|
void |
setTabIndex(int tabIndex)
|
void |
setValue(String value)
|
| Methods inherited from class ice.storm.DynamicObject |
deleteSlot, getEnumeratableIds, getMethodPropertySource, getScriptDataLock, getScriptWrapper, getSlot, hasSlot, javaReflectionTarget, readOnlySlots, script_toSource, script_toString, setScriptWrapperIfAbsent, setSlot |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.html.HTMLTextAreaElement |
getForm, getName, setName |
| 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, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
| Field Detail |
public static final int DEFAULT_ROWS_COUNT
public static final int DEFAULT_COLS_COUNT
protected DFormElement hackForm
| Constructor Detail |
protected DTextAreaElement(DDocument doc,
int id)
| Method Detail |
public String getDefaultValue()
HTMLTextAreaElement
getDefaultValue in interface HTMLTextAreaElementpublic void setDefaultValue(String defaultValue)
setDefaultValue in interface HTMLTextAreaElementpublic String getAccessKey()
HTMLTextAreaElement
getAccessKey in interface HTMLTextAreaElementpublic void setAccessKey(String accessKey)
setAccessKey in interface HTMLTextAreaElementpublic boolean getDisabled()
HTMLTextAreaElement
getDisabled in interface HTMLTextAreaElementpublic void setDisabled(boolean disabled)
setDisabled in interface HTMLTextAreaElementpublic boolean getReadOnly()
HTMLTextAreaElement
getReadOnly in interface HTMLTextAreaElementpublic void setReadOnly(boolean readOnly)
setReadOnly in interface HTMLTextAreaElementpublic int getTabIndex()
HTMLTextAreaElement
getTabIndex in interface HTMLTextAreaElementpublic void setTabIndex(int tabIndex)
setTabIndex in interface HTMLTextAreaElementpublic String getType()
HTMLTextAreaElement
getType in interface HTMLTextAreaElementpublic String getValue()
HTMLTextAreaElementDOMString, the implementation may truncate the data.
getValue in interface HTMLTextAreaElementpublic void setValue(String value)
setValue in interface HTMLTextAreaElement
public void dispatchSelection(int start,
int end)
public int getCols()
HTMLTextAreaElement
getCols in interface HTMLTextAreaElementpublic void setCols(int value)
setCols in interface HTMLTextAreaElementpublic int getRows()
HTMLTextAreaElement
getRows in interface HTMLTextAreaElementpublic void setRows(int value)
setRows in interface HTMLTextAreaElementpublic void blur()
HTMLTextAreaElement
blur in interface HTMLTextAreaElementpublic void focus()
HTMLTextAreaElement
focus in interface HTMLTextAreaElementpublic void select()
HTMLTextAreaElementTEXTAREA.
select in interface HTMLTextAreaElementpublic void dispatchChange()
public Object getDynamicValue(String name,
DynEnv env)
DynamicObject
getDynamicValue in class DElement
public int setDynamicValue(String name,
Object value,
DynEnv env)
DynamicObject
setDynamicValue in class DElement
public Object execDynamicMethod(String name,
Object[] args,
DynEnv env)
DynamicObject
execDynamicMethod in class DElementpublic final HTMLFormElement getForm()
public DFormElement getDForm()
protected String fixValue(String value)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||