Java in a Nutshell Online Quick Reference for Java 1.1

INTERFACE java.awt.peer.TextComponentPeer

Availability: JDK 1.0

public abstract interface TextComponentPeer extends ComponentPeer {
   // Public Instance Methods
1.1  public abstract int getCaretPosition();
      public abstract int getSelectionEnd();
      public abstract int getSelectionStart();
      public abstract String getText();
      public abstract void select(int selStart, int selEnd);
1.1  public abstract void setCaretPosition(int pos);
      public abstract void setEditable(boolean editable);
      public abstract void setText(String l);
}
Extended By:
TextAreaPeer, TextFieldPeer.

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.