All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jp.kyasu.awt.TextArea

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----jp.kyasu.awt.KContainer
                           |
                           +----jp.kyasu.awt.EventProxyContainer
                                   |
                                   +----jp.kyasu.awt.TextComponent
                                           |
                                           +----jp.kyasu.awt.TextArea

public class TextArea
extends TextComponent
A TextArea object is a multi-line area that displays text. It can be set to allow editing or read-only modes.

Version:
29 Dec 1997
Author:
Kazuki YASUMATSU

Constructor Index

 o TextArea()
Constructs a new text area.
 o TextArea(int, int)
Constructs a new text area with the specified number of rows and columns.
 o TextArea(RichText)
Constructs a new text area with the specified rich text.
 o TextArea(RichText, int, int)
Constructs a new text area with the specified rich text, and with the specified number of rows and columns.
 o TextArea(RichText, int, int, int)
Constructs a new text area with the specified rich text, and with the rows, columns, and scroll bar visibility.
 o TextArea(String)
Constructs a new text area with the specified string.
 o TextArea(String, int, int)
Constructs a new text area with the specified string, and with the specified number of rows and columns.
 o TextArea(String, int, int, int)
Constructs a new text area with the specified text, and with the rows, columns, and scroll bar visibility.
 o TextArea(TextEditModel)
Constructs a new text area with the specified model.
 o TextArea(TextEditModel, int, int)
Constructs a new text area with the specified model, and with the specified number of rows and columns.
 o TextArea(TextEditModel, int, int, int)
Constructs a new text area with the specified model, and with the rows, columns, and scroll bar visibility.

Constructors

 o TextArea
 public TextArea()
Constructs a new text area. This text area is created with vertical bar.

 o TextArea
 public TextArea(String string)
Constructs a new text area with the specified string. This text area is created with vertical scroll bar.

Parameters:
string - the string to be displayed.
 o TextArea
 public TextArea(int rows,
                 int columns)
Constructs a new text area with the specified number of rows and columns. This text area is created with vertical scroll bar.

Parameters:
rows - the number of rows
columns - the number of columns.
 o TextArea
 public TextArea(String string,
                 int rows,
                 int columns)
Constructs a new text area with the specified string, and with the specified number of rows and columns. This text area is created with vertical scroll bar.

Parameters:
string - the string to be displayed.
rows - the number of rows.
columns - the number of columns.
 o TextArea
 public TextArea(String string,
                 int rows,
                 int columns,
                 int scrollbars)
Constructs a new text area with the specified text, and with the rows, columns, and scroll bar visibility.

Parameters:
string - the string to be displayed.
rows - the number of rows.
columns - the number of columns.
scrollbars - a constant that determines what scrollbars are created to view the text area.
 o TextArea
 public TextArea(RichText richText)
Constructs a new text area with the specified rich text. This text area is created with vertical scroll bar.

Parameters:
richText - the rich text to be displayed.
 o TextArea
 public TextArea(RichText richText,
                 int rows,
                 int columns)
Constructs a new text area with the specified rich text, and with the specified number of rows and columns. This text area is created with vertical scroll bar.

Parameters:
richText - the rich text to be displayed.
rows - the number of rows.
columns - the number of columns.
 o TextArea
 public TextArea(RichText richText,
                 int rows,
                 int columns,
                 int scrollbars)
Constructs a new text area with the specified rich text, and with the rows, columns, and scroll bar visibility.

Parameters:
richText - the rich text to be displayed.
rows - the number of rows.
columns - the number of columns.
scrollbars - a constant that determines what scrollbars are created to view the text area.
 o TextArea
 public TextArea(TextEditModel model)
Constructs a new text area with the specified model. This text area is created with vertical scroll bar.

Parameters:
model - the text edit model.
 o TextArea
 public TextArea(TextEditModel model,
                 int rows,
                 int columns)
Constructs a new text area with the specified model, and with the specified number of rows and columns. This text area is created with vertical scroll bar.

Parameters:
model - the text edit model.
rows - the number of rows.
columns - the number of columns.
 o TextArea
 public TextArea(TextEditModel model,
                 int rows,
                 int columns,
                 int scrollbars)
Constructs a new text area with the specified model, and with the rows, columns, and scroll bar visibility.

Parameters:
model - the text edit model.
rows - the number of rows.
columns - the number of columns.
scrollbars - a constant that determines what scrollbars are created to view the text area.

All Packages  Class Hierarchy  This Package  Previous  Next  Index