Save This Page
Home » openjdk-7 » java » awt » peer » [javadoc | source]
java.awt.peer
public interface: TextFieldPeer [javadoc | source]

All Implemented Interfaces:
    TextComponentPeer

The peer interface for TextField . The peer interfaces are intended only for use in porting the AWT. They are not intended for use by application developers, and developers should not implement peers nor invoke any of the peer methods directly on the peer instances.
Method from java.awt.peer.TextFieldPeer Summary:
getMinimumSize,   getPreferredSize,   setEchoChar
Method from java.awt.peer.TextFieldPeer Detail:
 public Dimension getMinimumSize(int columns)
    Returns the minimum size of the text field with the specified number of columns.
 public Dimension getPreferredSize(int columns)
    Returns the preferred size of the text field with the specified number of columns.
 public  void setEchoChar(char echoChar)
    Sets the echo character.