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.
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.
Create a WordWrapTextArea with the specified rows and columns
Parameters:
rows - number of rows
columns - number of columns
WordWrapTextArea
public WordWrapTextArea(java.lang.String text,
int rows,
int columns)
Create a WordWrapTextArea with the specified text, rows and columns
Parameters:
text - text
rows - number of rows
columns - number of columns
WordWrapTextArea
public WordWrapTextArea(java.lang.String text,
int rows,
int columns,
int scrollbars)
Create a WordWrapTextArea with the specified text, rows, columns and scrollbar visibility.
If either both(horiznontal and vertical) or horizontal scrollbars are specified, word-wrap capability will be
lost.
Parameters:
text - text
rows - number of rows
columns - number of columns
scrollbars - an integer that specifies the scrollbars for the textArea
(TextArea.SCROLLBARS_BOTH, TextArea.SCROLLBARS_HORIZONTAL_ONLY,
(TextArea.SCROLLBARS_NONE, TextArea.SCROLLBARS_VERTICAL_ONLY)