java.awt.peer
Interface TextComponentPeer
- All Superinterfaces:
- ComponentPeer
- All Known Subinterfaces:
- TextAreaPeer, TextFieldPeer
- public interface TextComponentPeer
- extends ComponentPeer
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.
Methods inherited from interface java.awt.peer.ComponentPeer |
canDetermineObscurity, checkImage, coalescePaintEvent, createBuffers, createImage, createImage, createVolatileImage, destroyBuffers, disable, dispose, enable, flip, getBackBuffer, getColorModel, getFontMetrics, getGraphics, getGraphicsConfiguration, getLocationOnScreen, getMinimumSize, getPreferredSize, getToolkit, handleEvent, handlesWheelScrolling, hide, isFocusable, isObscured, minimumSize, paint, preferredSize, prepareImage, print, repaint, requestFocus, reshape, setBackground, setBounds, setEnabled, setFont, setForeground, setVisible, show, updateCursorImmediately |
setEditable
public void setEditable(boolean editable)
getText
public String getText()
setText
public void setText(String l)
getSelectionStart
public int getSelectionStart()
getSelectionEnd
public int getSelectionEnd()
select
public void select(int selStart,
int selEnd)
setCaretPosition
public void setCaretPosition(int pos)
getCaretPosition
public int getCaretPosition()
getIndexAtPoint
public int getIndexAtPoint(int x,
int y)
getCharacterBounds
public Rectangle getCharacterBounds(int i)
filterEvents
public long filterEvents(long mask)