Save This Page
Home » openjdk-7 » java » awt » peer » [javadoc | source]
java.awt.peer
public interface: TextComponentPeer [javadoc | source]

All Implemented Interfaces:
    ComponentPeer

All Known Implementing Classes:
    TextFieldPeer, TextAreaPeer

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.
Method from java.awt.peer.TextComponentPeer Summary:
filterEvents,   getCaretPosition,   getCharacterBounds,   getIndexAtPoint,   getInputMethodRequests,   getSelectionEnd,   getSelectionStart,   getText,   select,   setCaretPosition,   setEditable,   setText
Method from java.awt.peer.TextComponentPeer Detail:
 public long filterEvents(long mask)
 public int getCaretPosition()
 public Rectangle getCharacterBounds(int i)
 public int getIndexAtPoint(int x,
    int y)
 public InputMethodRequests getInputMethodRequests()
 public int getSelectionEnd()
 public int getSelectionStart()
 public String getText()
 public  void select(int selStart,
    int selEnd)
 public  void setCaretPosition(int pos)
 public  void setEditable(boolean editable)
 public  void setText(String l)