public interface TextComponentPeer extends ComponentPeer
Modifier and Type | Method and Description |
---|---|
long |
filterEvents(long filter) |
int |
getCaretPosition() |
Rectangle |
getCharacterBounds(int pos) |
int |
getIndexAtPoint(int x,
int y) |
InputMethodRequests |
getInputMethodRequests()
Retrieve this text component peer's input method requests.
|
int |
getSelectionEnd() |
int |
getSelectionStart() |
String |
getText() |
void |
select(int start_pos,
int end_pos) |
void |
setCaretPosition(int pos) |
void |
setEditable(boolean editable) |
void |
setText(String text) |
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, isFocusTraversable, isObscured, isReparentSupported, layout, minimumSize, paint, preferredSize, prepareImage, print, repaint, reparent, requestFocus, requestFocus, requestFocus, reshape, setBackground, setBounds, setBounds, setCursor, setEnabled, setEventMask, setFont, setForeground, setVisible, show, updateCursorImmediately
int getSelectionEnd()
int getSelectionStart()
void select(int start_pos, int end_pos)
void setEditable(boolean editable)
int getCaretPosition()
void setCaretPosition(int pos)
int getIndexAtPoint(int x, int y)
Rectangle getCharacterBounds(int pos)
long filterEvents(long filter)
InputMethodRequests getInputMethodRequests()