|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.servlet.tbeans.form.BaseTextArea
public abstract class BaseTextArea
The BaseTextArea is an abstract TransformationBean for creating a TextArea input field. The TEXTAREA element creates a multi-line text input control.
Note that subclasses of this bean actually provide the markup rendering used in/with Servlet and JavaServer Pages technologies. If you need to add support for a markup language that is not explicitly provided with AppDev Studio, then you must extend this class.
For More Information:
JSP custom tags provide an alternative to using the TransformationBeans. Visit the Custom Tag Library Reference for additional information on the sas:TextArea custom tag.
Note: A snapshot of the AppDev Studio Developers Site is installed on your local Web server when you install AppDev Studio. To access the site from webAF, select Help -> Developer Site .
Field Summary |
---|
Fields inherited from class com.sas.servlet.tbeans.form.BaseFormElement |
---|
RB_KEY |
Constructor Summary | |
---|---|
BaseTextArea()
Construct a new TextArea |
Method Summary | |
---|---|
void |
appendText(java.lang.String text)
Appends the given text to the current text |
int |
getColumns()
Gets the number of columns in this text area. |
int |
getRows()
Gets the number of visible text lines. |
java.lang.String |
getText()
Gets the text of the TextArea |
java.lang.String |
getWrap()
Gets the current wrap type |
boolean |
isReadOnly()
Determines the readOnly value associated with the TextArea. |
void |
setColumns(int columns)
Sets the number of columns in this text area. |
void |
setReadOnly(boolean value)
Sets the readOnly attribute associated with the TextArea. |
void |
setRows(int rows)
Sets the number of visible text lines. |
void |
setText(java.lang.String text)
Sets the text of the TextArea. |
void |
setWrap(java.lang.String value)
Specifies whether lines longer than the text area's column width wrap to the next line. |
Constructor Detail |
---|
public BaseTextArea()
Method Detail |
---|
public void setRows(int rows)
rows
- The number of visible lines.public int getRows()
public void setColumns(int columns)
columns
- The number of columns in the text areapublic int getColumns()
public void setText(java.lang.String text)
text
- The text of the TextAreapublic java.lang.String getText()
public void appendText(java.lang.String text)
text
- The text to be appendedpublic void setWrap(java.lang.String value)
Specifies whether lines longer than the text area's column width wrap to the next line.
Valid values are:
wrap
- The wrap typepublic java.lang.String getWrap()
public void setReadOnly(boolean value)
value
- The readOnly valuepublic boolean isReadOnly()
|
Components |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |