java.awt.peer
Interface TextAreaPeer

All Superinterfaces:
ComponentPeer, TextComponentPeer

public interface TextAreaPeer
extends TextComponentPeer

Disabled: no SafeJ information.

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.


Field Summary
 
Fields inherited from interface 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)
          Returns the minimum size of a textarea with the specified number of columns and rows.
 Dimension getPreferredSize(int rows, int columns)
          Returns the preferred size of a textarea with the specified number of columns and rows.
 void insert(String text, int pos)
          Inserts the specified text at the specified position in the document.
 void replaceRange(String text, int start, int end)
          Replaces a range of text by the specified string
 
Methods inherited from interface java.awt.peer.TextComponentPeer
getCaretPosition, getInputMethodRequests, getSelectionEnd, getSelectionStart, getText, select, setCaretPosition, setEditable, setText
 
Methods inherited from interface java.awt.peer.ComponentPeer
applyShape, canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, dispose, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, isFocusable, isObscured, isReparentSupported, layout, paint, prepareImage, print, reparent, requestFocus, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, setZOrder, updateCursorImmediately, updateGraphicsData
 

Method Detail

insert

void insert(String text,
            int pos)
Class is disabled.

Inserts the specified text at the specified position in the document.

Parameters:
text - the text to insert
pos - the position to insert
See Also:
TextArea.insert(String, int)

replaceRange

void replaceRange(String text,
                  int start,
                  int end)
Class is disabled.

Replaces a range of text by the specified string

Parameters:
text - the replacement string
start - the begin of the range to replace
end - the end of the range to replace
See Also:
TextArea.replaceRange(String, int, int)

getPreferredSize

Dimension getPreferredSize(int rows,
                           int columns)
Class is disabled.

Returns the preferred size of a textarea with the specified number of columns and rows.

Parameters:
rows - the number of rows
columns - the number of columns
Returns:
the preferred size of a textarea
See Also:
TextArea.getPreferredSize(int, int)

getMinimumSize

Dimension getMinimumSize(int rows,
                         int columns)
Class is disabled.

Returns the minimum size of a textarea with the specified number of columns and rows.

Parameters:
rows - the number of rows
columns - the number of columns
Returns:
the minimum size of a textarea
See Also:
TextArea.getMinimumSize(int, int)