Packages This Package Prev Next Index
public interface java.awt.peer.TextComponentPeer extends java.awt.peer.ComponentPeer (II-§3.6) { // Methods public abstract int getSelectionEnd(); §3.20.1 public abstract int getSelectionStart(); §3.20.2 public abstract String getText(); §3.20.3 public abstract void select(int selStart, int selEnd); §3.20.4 public abstract void setEditable(boolean editable) §3.20.5 public abstract void setText(String l); §3.20.6 }
public abstract int getSelectionEnd()
public abstract int getSelectionStart()
public abstract String getText()
public abstract void select(int selStart, int selEnd)
selStart
-
the start position of the text to select
selEnd
-
the end position of the text to select
public abstract void setEditable(boolean editable)
editable
-
a flag indicating whether the text component should become
user editable
public abstract void setText(String l)
l
-
the new text
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)