|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.visuals.WordWrapTextArea
public class WordWrapTextArea
WordWrapTextArea is a subclass of com.sas.awt.TextArea that should be used when word-wrapping is desired. Word-wrapping causes text to be moved to the beginning of the next line if the current text size is greater than the width of the WordWrapTextArea. Word-wrapping is accomplished by "removing" the horizontal scrollbars.
TextArea,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.sas.awt.TextArea |
|---|
caretRowBeforeDoubleClick, currentCaretRow, currentCaretRowText, currentRowCount, defaultModel, displayTransform, inputTransform, outputTransform, RB_KEY |
| Constructor Summary | |
|---|---|
WordWrapTextArea()
Default constructor |
|
WordWrapTextArea(int rows,
int columns)
Create a WordWrapTextArea with the specified rows and columns |
|
WordWrapTextArea(java.lang.String text)
Create a WordWrapTextArea with the specified text |
|
WordWrapTextArea(java.lang.String text,
int rows,
int columns)
Create a WordWrapTextArea with the specified text, rows and columns |
|
WordWrapTextArea(java.lang.String text,
int rows,
int columns,
int scrollbars)
Create a WordWrapTextArea with the specified text, rows, columns and scrollbar visibility. |
|
| Method Summary |
|---|
| Methods inherited from interface com.sas.ViewInterface |
|---|
getModelInterface, getViewInterfaceSupportInfo, removeInterfaceTraps, setModelInterface, setRequiredInterfaces, setViewInterfaceSupportInfo, supportsRequiredInterfaces, trapInterfaceEvents |
| Methods inherited from interface com.sas.lang.StringDataInterface |
|---|
getText |
| Constructor Detail |
|---|
public WordWrapTextArea()
public WordWrapTextArea(java.lang.String text)
text - text
public WordWrapTextArea(int rows,
int columns)
rows - number of rowscolumns - number of columns
public WordWrapTextArea(java.lang.String text,
int rows,
int columns)
text - textrows - number of rowscolumns - number of columns
public WordWrapTextArea(java.lang.String text,
int rows,
int columns,
int scrollbars)
text - textrows - number of rowscolumns - number of columnsscrollbars - an integer that specifies the scrollbars for the textArea
(TextArea.SCROLLBARS_BOTH, TextArea.SCROLLBARS_HORIZONTAL_ONLY,
(TextArea.SCROLLBARS_NONE, TextArea.SCROLLBARS_VERTICAL_ONLY)
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||