KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > awt > peer > TextFieldPeer


1 /*
2  * @(#)TextFieldPeer.java 1.16 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7 package java.awt.peer;
8
9 import java.awt.Dimension JavaDoc;
10
11 /**
12  * The peer interfaces are intended only for use in porting
13  * the AWT. They are not intended for use by application
14  * developers, and developers should not implement peers
15  * nor invoke any of the peer methods directly on the peer
16  * instances.
17  */

18 public interface TextFieldPeer extends TextComponentPeer {
19     void setEchoChar(char echoChar);
20     Dimension JavaDoc getPreferredSize(int columns);
21     Dimension JavaDoc getMinimumSize(int columns);
22
23     /**
24      * DEPRECATED: Replaced by setEchoChar(char echoChar).
25      */

26     void setEchoCharacter(char c);
27
28     /**
29      * DEPRECATED: Replaced by getPreferredSize(int).
30      */

31     Dimension JavaDoc preferredSize(int cols);
32
33     /**
34      * DEPRECATED: Replaced by getMinimumSize(int).
35      */

36     Dimension JavaDoc minimumSize(int cols);
37 }
38
Popular Tags