|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.htmlb.Component
com.sapportals.htmlb.EventValidationComponent
com.sapportals.htmlb.TextEdit
An editable TextArea
Copyright 2004 SAP AG
| Field Summary | |
static String |
UI_ID
|
| Constructor Summary | |
TextEdit(String name)
|
|
| Method Summary | |
int |
getCols()
|
String |
getHeight()
gets the height for this TextEdit |
int |
getRows()
gets the visible number of rows for this TextEdit |
String |
getText()
|
ForcedTextDirection |
getTextDirection()
Gets the text direction for the component |
String |
getTooltip()
gets the Tooltip for this TextEdit. |
String |
getUI()
get get unique component ID for a TextEdit |
AbstractDataType |
getValueAsDataType()
get the content of the TextEdit as a simple DataString Caution: ARRAY SUPPORT??? |
String |
getWidth()
gets the width for this TextEdit |
TextWrapping |
getWrapping()
get the wrapping mode of this text edit field |
protected void |
initFromPageContext(IPageContext pc,
String baseId)
internal use only. |
boolean |
isLabeled()
checks if a label has been assigned to this component. |
boolean |
isValid()
|
void |
setCols(int cols)
|
void |
setHeight(String height)
sets the height for this TextEdit |
void |
setLabeled(boolean isLabeled)
notify the component that a label has been assigned to it. |
void |
setRows(int rows)
sets the visible number of rows for this TextEdit |
void |
setText(String text)
set the visible text for the TextEdit |
void |
setTextDirection(ForcedTextDirection textDirection)
Sets the text direction for the component |
void |
setTooltip(String tooltip)
sets the Tooltip for this TextEdit. |
void |
setValid(boolean isValid)
|
void |
setWidth(String width)
sets the width for this TextEdit |
void |
setWrapping(TextWrapping wrapping)
sets the wrapping mode of this text edit field Possible values are HARD, SOFT or OFF. |
| Methods inherited from class com.sapportals.htmlb.EventValidationComponent |
getAllValidators, getClientEvent, getClientEventMap, getErrorText, getServerEvent, getServerEventMap, getValidator, isDisabled, isEnabled, isRequiresValidation, renderJavascriptInterface, setClientEvent, setDisabled, setEnabled, setErrorText, setRequiresValidation, setServerEvent, setValidator |
| Methods inherited from class com.sapportals.htmlb.Component |
getEncodedIdForForm, getId, getParent, initFromShortId, initializeFromId, isJsObjectNeeded, preRender, render, renderAsString, requiresForm, setId, setJsObjectNeeded, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String UI_ID
| Constructor Detail |
public TextEdit(String name)
| Method Detail |
protected void initFromPageContext(IPageContext pc,
String baseId)
Component
initFromPageContext in class Componentpc - the context, including the parametersbaseId - the prefix used for the component. (The
result of a former RenderUtil.getIdForForm(rc, c);)public int getCols()
public void setCols(int cols)
public int getRows()
public void setRows(int rows)
rows - the number of rows.public String getWidth()
public void setWidth(String width)
public String getHeight()
public void setHeight(String height)
public String getText()
public TextWrapping getWrapping()
public void setWrapping(TextWrapping wrapping)
wrapping - the wrapping modepublic void setText(String text)
text - the text to showpublic String getTooltip()
public void setTooltip(String tooltip)
tooltip - the tooltip textpublic String getUI()
getUI in class Componentpublic AbstractDataType getValueAsDataType()
getValueAsDataType in interface IUserDataComponentpublic void setLabeled(boolean isLabeled)
LabeledComponent
setLabeled in interface LabeledComponentpublic boolean isLabeled()
LabeledComponent
isLabeled in interface LabeledComponentpublic void setValid(boolean isValid)
public boolean isValid()
public ForcedTextDirection getTextDirection()
public void setTextDirection(ForcedTextDirection textDirection)
textDirection - com.sapportals.htmlb.enum.ForcedTextDirection
|
SAP NetWeaver 2004S SPS 10 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||