|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextAreaPeer
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 |
Method Detail |
---|
void insert(String text, int pos)
text
- the text to insertpos
- the position to insertTextArea.insert(String, int)
void replaceRange(String text, int start, int end)
text
- the replacement stringstart
- the begin of the range to replaceend
- the end of the range to replaceTextArea.replaceRange(String, int, int)
Dimension getPreferredSize(int rows, int columns)
rows
- the number of rowscolumns
- the number of columns
TextArea.getPreferredSize(int, int)
Dimension getMinimumSize(int rows, int columns)
rows
- the number of rowscolumns
- the number of columns
TextArea.getMinimumSize(int, int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |