| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
|
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 |
Method Detail |
---|
public Dimension getMinimumSize(int rows, int columns)
rows
columns
public Dimension getPreferredSize(int rows, int columns)
rows
columns
public void insert(String text, int pos)
text
pos
public void insertText(String txt, int pos)
txt
pos
public Dimension minimumSize(int rows, int cols)
rows
cols
public Dimension preferredSize(int rows, int cols)
rows
cols
public void replaceRange(String text, int start, int end)
text
start
end
public void replaceText(String txt, int start, int end)
txt
start
end
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |