Java in a Nutshell

Previous Chapter 22
The java.awt.peer Package
Next
 

22.24 java.awt.peer.TextComponentPeer (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


Previous Home Next
java.awt.peer.TextAreaPeer (JDK 1.0) Book Index java.awt.peer.TextFieldPeer (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java
This HTML Help has been published using the chm2web software.