javax.swing.tree
public class DefaultTreeCellEditor.DefaultTextField extends JTextField
| Field Summary | |
|---|---|
| protected Border | border
The border of the text field. |
| Constructor Summary | |
|---|---|
| DefaultTextField(Border aBorder)
Creates a DefaultTextField object.
| |
| Method Summary | |
|---|---|
| Border | getBorder()
Returns the border of the text field.
|
| Font | getFont()
Gets the font of this component. |
| Dimension | getPreferredSize()
Overrides JTextField.getPreferredSize to return the preferred size
based on current font, if set, or else use renderer's font.
|
DefaultTextField object.
Parameters: aBorder the border to use
Returns: the border
Returns: this component's font; if a font has not been set for this component, the font of its parent is returned (if the parent is not null, otherwise null is returned).
Returns: the Dimension of this textfield.