Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.TextArea

Availability: JDK 1.0

public class TextArea extends TextComponent {
   // Public Constructors
      public TextArea();
      public TextArea(String text);
      public TextArea(int rows, int columns);
      public TextArea(String text, int rows, int columns);
1.1  public TextArea(String text, int rows, int columns, int scrollbars);
   // Constants
1.1  public static final int SCROLLBARS_BOTH;
1.1  public static final int SCROLLBARS_HORIZONTAL_ONLY;
1.1  public static final int SCROLLBARS_NONE;
1.1  public static final int SCROLLBARS_VERTICAL_ONLY;
   // Public Instance Methods
      public void addNotify();  // Overrides Component.addNotify()
1.1  public synchronized void append(String str);
#    public void appendText(String str);
      public int getColumns();
1.1  public Dimension getMinimumSize(int rows, int columns);
1.1  public Dimension getMinimumSize();  // Overrides Component.getMinimumSize()
1.1  public Dimension getPreferredSize(int rows, int columns);
1.1  public Dimension getPreferredSize();  // Overrides Component.getPreferredSize()
      public int getRows();
1.1  public int getScrollbarVisibility();
1.1  public synchronized void insert(String str, int pos);
#    public void insertText(String str, int pos);
#    public Dimension minimumSize(int rows, int columns);
#    public Dimension minimumSize();  // Overrides Component.minimumSize()
#    public Dimension preferredSize(int rows, int columns);
#    public Dimension preferredSize();  // Overrides Component.preferredSize()
1.1  public synchronized void replaceRange(String str, int start, int end);
#    public void replaceText(String str, int start, int end);
1.1  public void setColumns(int columns);
1.1  public void setRows(int rows);
   // Protected Instance Methods
      protected String paramString();  // Overrides TextComponent.paramString()
}
Passed To:
Toolkit.createTextArea().

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.