Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.awt.TextField

Availability: JDK 1.0

public class TextField extends TextComponent {
   // Public Constructors
      public TextField();
      public TextField(String text);
      public TextField(int columns);
      public TextField(String text, int columns);
   // Public Instance Methods
1.1  public void addActionListener(ActionListener l);
      public void addNotify();  // Overrides Component.addNotify()
      public boolean echoCharIsSet();
      public int getColumns();
      public char getEchoChar();
1.1  public Dimension getMinimumSize(int columns);
1.1  public Dimension getMinimumSize();  // Overrides Component.getMinimumSize()
1.1  public Dimension getPreferredSize(int columns);
1.1  public Dimension getPreferredSize();  // Overrides Component.getPreferredSize()
#    public Dimension minimumSize(int columns);
#    public Dimension minimumSize();  // Overrides Component.minimumSize()
#    public Dimension preferredSize(int columns);
#    public Dimension preferredSize();  // Overrides Component.preferredSize()
1.1  public void removeActionListener(ActionListener l);
1.1  public void setColumns(int columns);
1.1  public void setEchoChar(char c);
#    public void setEchoCharacter(char c);
   // Protected Instance Methods
      protected String paramString();  // Overrides TextComponent.paramString()
1.1  protected void processActionEvent(ActionEvent e);
1.1  protected void processEvent(AWTEvent e);  // Overrides TextComponent.processEvent()
}
Passed To:
Toolkit.createTextField().

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