Save This Page
Home » openjdk-7 » java » awt » peer » [javadoc | source]
java.awt.peer
public interface: TextAreaPeer [javadoc | source]

All Implemented Interfaces:
    TextComponentPeer

The peer interface for 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.
Method from java.awt.peer.TextAreaPeer Summary:
getMinimumSize,   getPreferredSize,   insert,   replaceRange
Method from java.awt.peer.TextAreaPeer Detail:
 public Dimension getMinimumSize(int rows,
    int columns)
    Returns the minimum size of a textarea with the specified number of columns and rows.
 public Dimension getPreferredSize(int rows,
    int columns)
    Returns the preferred size of a textarea with the specified number of columns and rows.
 public  void insert(String text,
    int pos)
    Inserts the specified text at the specified position in the document.
 public  void replaceRange(String text,
    int start,
    int end)
    Replaces a range of text by the specified string