Java in a Nutshell Online Quick Reference for Java 1.1
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); }