TextArea.
The peer interfaces are intended only for use in porting
the AWT. They are not intended for use by application
developers, and developers should not implement peers
nor invoke any of the peer methods directly on the peer
instances.
| Modifier and Type | Method and Description |
|---|---|
| public Dimension | Returns: the minimum size of a textareathe number of rows rows, int the number of columns columns)Returns the minimum size of a textarea with the specified number of columns and rows. |
| public Dimension | Returns: the preferred size of a textareathe number of rows rows, int the number of columns columns)Returns the preferred size of a textarea with the specified number of columns and rows. |
| public void | |
| public void | replaceRange(String
the replacement string text, int the begin of the range to replace start, int the end of the range to replace end)Replaces a range of text by the specified string. |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize(int rows, int columns) Returns the minimum size of a textarea with the specified number of columns and rows.
| |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize(int rows, int columns) Returns the preferred size of a textarea with the specified number of columns and rows.
| |
| insert | back to summary |
|---|---|
| public void insert(String text, int pos) Inserts the specified text at the specified position in the document.
| |
| replaceRange | back to summary |
|---|---|
| public void replaceRange(String text, int start, int end) Replaces a range of text by the specified string.
| |