This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


java.awt.peer
interface TextAreaPeer

All Superinterfaces:
ComponentPeer, TextComponentPeer

public interface TextAreaPeer
extends TextComponentPeer

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.


Field Summary
 
Fields inherited from class java.awt.peer.ComponentPeer
DEFAULT_OPERATION, NO_EMBEDDED_CHECK, RESET_OPERATION, SET_BOUNDS, SET_CLIENT_SIZE, SET_LOCATION, SET_SIZE
 
Method Summary
 Dimension
getMinimumSize(int rows, int columns)

          
 Dimension
getPreferredSize(int rows, int columns)

          
 void
insert(String text, int pos)

          
 void
insertText(String txt, int pos)

          DEPRECATED: Replaced by insert(String, int).
 Dimension
minimumSize(int rows, int cols)

          DEPRECATED: Replaced by getMinimumSize(int, int).
 Dimension
preferredSize(int rows, int cols)

          DEPRECATED: Replaced by getPreferredSize(int, int).
 void
replaceRange(String text, int start, int end)

          
 void
replaceText(String txt, int start, int end)

          DEPRECATED: Replaced by ReplaceRange(String, int, int).
 
Methods inherited from class java.awt.peer.TextComponentPeer
filterEvents, getCaretPosition, getCharacterBounds, getIndexAtPoint, getInputMethodRequests, getSelectionEnd, getSelectionStart, getText, select, setCaretPosition, setEditable, setText
 
Methods inherited from class java.awt.peer.ComponentPeer
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getBounds, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isObscured, isReparentSupported, layout, minimumSize, paint, preferredSize, prepareImage, print, repaint, reparent, requestFocus, reshape, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, show, updateCursorImmediately
 

Method Detail

getMinimumSize

public Dimension getMinimumSize(int rows,
                                int columns)
Parameters:
rows
columns

getPreferredSize

public Dimension getPreferredSize(int rows,
                                  int columns)
Parameters:
rows
columns

insert

public void insert(String text,
                   int pos)
Parameters:
text
pos

insertText

public void insertText(String txt,
                       int pos)
DEPRECATED: Replaced by insert(String, int).

Parameters:
txt
pos

minimumSize

public Dimension minimumSize(int rows,
                             int cols)
DEPRECATED: Replaced by getMinimumSize(int, int).

Parameters:
rows
cols

preferredSize

public Dimension preferredSize(int rows,
                               int cols)
DEPRECATED: Replaced by getPreferredSize(int, int).

Parameters:
rows
cols

replaceRange

public void replaceRange(String text,
                         int start,
                         int end)
Parameters:
text
start
end

replaceText

public void replaceText(String txt,
                        int start,
                        int end)
DEPRECATED: Replaced by ReplaceRange(String, int, int).

Parameters:
txt
start
end


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.