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.
| Modifier and Type | Method and Description |
|---|---|
| public Dimension | Returns: the minimum size of the text fieldthe number of columns columns)Returns the minimum size of the text field with the specified number of columns. |
| public Dimension | Returns: the preferred size of the text fieldthe number of columns columns)Returns the preferred size of the text field with the specified number of columns. |
| public void |
| getMinimumSize | back to summary |
|---|---|
| public Dimension getMinimumSize(int columns) Returns the minimum size of the text field with the specified number of columns.
| |
| getPreferredSize | back to summary |
|---|---|
| public Dimension getPreferredSize(int columns) Returns the preferred size of the text field with the specified number of columns.
| |
| setEchoChar | back to summary |
|---|---|
| public void setEchoChar(char echoChar) Sets the echo character.
| |