Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class TextComponent extends Component { // No Constructor // Protected Instance Variables 1.1 protected transient TextListener textListener; // Public Instance Methods 1.1 public void addTextListener(TextListener l); 1.1 public int getCaretPosition(); public synchronized String getSelectedText(); public synchronized int getSelectionEnd(); public synchronized int getSelectionStart(); public synchronized String getText(); public boolean isEditable(); public void removeNotify(); // Overrides Component.removeNotify() 1.1 public void removeTextListener(TextListener l); public synchronized void select(int selectionStart, int selectionEnd); public synchronized void selectAll(); 1.1 public void setCaretPosition(int position); public synchronized void setEditable(boolean b); 1.1 public synchronized void setSelectionEnd(int selectionEnd); 1.1 public synchronized void setSelectionStart(int selectionStart); public synchronized void setText(String t); // Protected Instance Methods protected String paramString(); // Overrides Component.paramString() 1.1 protected void processEvent(AWTEvent e); // Overrides Component.processEvent() 1.1 protected void processTextEvent(TextEvent e); }