public class HTMLTextArea extends HTMLFormComponent implements HTMLReadOnlyToggle, HandlesSingleClick
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
disabledFg |
protected boolean |
readOnlyFg |
STYLE_STS_FIELD, STYLE_STS_FIELD_IN_TABLE, STYLE_STS_FIELD_PRINTOUTalignment, alt, bgColor, cancelBubble, events, gMutableTheme, hasInitFocus, id, intStyleSheet, items, name, parent, styleId, styleProperty, tabIndex, toolTip, VALID_NAME_REGEX, VALID_STYLE_REGEX| Constructor and Description |
|---|
HTMLTextArea(java.lang.String name,
int rows,
int cols) |
| Modifier and Type | Method and Description |
|---|---|
void |
addOnChangeEvent(java.lang.String call) |
void |
addOnChangeEvent(java.lang.String call,
java.lang.String script) |
void |
cancelClickBubble()
Prevent the click of the mouse from propagation up the dom and kicking off other things.
|
java.lang.String |
getName() |
java.lang.String |
getPlaceHolder()
get the placeholder string
|
int |
getRows() |
java.lang.String |
getValue() |
protected void |
iGenerate(ClientBrowser browser,
java.lang.StringBuilder buffer)
generate the raw HTML for this component.
|
boolean |
isDisabled()
Is this is Disabled
|
boolean |
isReadOnly()
Is this is ReadOnly
|
void |
setDisabled(boolean flag)
Disables this input.
|
void |
setPlaceHolder(java.lang.String plSring)
set the placeholder string
|
void |
setReadOnly(boolean flag)
Sets the field to READONLY
|
void |
setValue(java.lang.String value) |
addJavaScript, addJavaScript, addOnLoadScript, appendClassName, checkIsContainer, compile, copyAttributes, doBuildToolTip, fetchStyleProperty, getClassName, getId, getMutableTheme, getParent, getParentPage, getStyleSheet, getTheme, hasTheme, iAddComponent, iAddComponent, iAddedToPage, iAddEvent, iClear, iFindId, iGenerateAttributes, iGenerateAttributesID, iGenerateComponent, iGenerateComponent, iGenerateEvents, iGetComponent, iGetComponentCount, iHasEvent, iRemoveComponent, isCompiled, iSetId, iSetName, iSetStyleId, makeColorID, makeListOfEvents, monitorPage, postCompile, resetParent, setAlignment, setAttribute, setClassName, setHasInitFocus, setParent, setStyleProperty, setTabIndex, touchpublic HTMLTextArea(java.lang.String name,
int rows,
int cols)
name - rows - cols - public void setPlaceHolder(java.lang.String plSring)
plSring - the place holder stringpublic java.lang.String getPlaceHolder()
public java.lang.String getName()
getName in class HTMLFormComponentpublic void cancelClickBubble()
cancelClickBubble in interface HandlesSingleClickpublic void addOnChangeEvent(java.lang.String call)
addOnChangeEvent in class HTMLFormComponentcall - public void addOnChangeEvent(java.lang.String call,
java.lang.String script)
addOnChangeEvent in class HTMLFormComponentcall - script - public void setReadOnly(boolean flag)
setReadOnly in interface HTMLReadOnlyToggleflag - public void setDisabled(boolean flag)
setDisabled in interface HTMLReadOnlyToggleflag - public boolean isDisabled()
isDisabled in interface HTMLReadOnlypublic boolean isReadOnly()
isReadOnly in interface HTMLReadOnlyprotected void iGenerate(ClientBrowser browser, java.lang.StringBuilder buffer)
iGenerate in class HTMLComponentbrowser - The target browserbuffer - The generate HTMLpublic java.lang.String getValue()
getValue in class HTMLFormComponentpublic int getRows()
public void setValue(java.lang.String value)
setValue in class HTMLFormComponentvalue - the valuestSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.