| public class javax.swing.tree DefaultTreeCellEditor.DefaultTextField
|
Java SE 6 |
TextField used when no editor is supplied.
This textfield locks into the border it is constructed with.
It also prefers its parents font over its font. And if the
renderer is not null and no font
has been specified the preferred height is that of the renderer.
| Fields | |
|---|---|
| protected Border | border Border to use. |
| Constructors | |||||
|---|---|---|---|---|---|
| public | DefaultTreeCellEditor.DefaultTextField(Border border) Constructs a DefaultTreeCellEditor.DefaultTextField object.
| ||||
| Properties | |||||||
|---|---|---|---|---|---|---|---|
| public void | setBorder(Border border) Sets the border of this component. This is a bound property.
| ||||||
| public Border | getBorder() Overrides JComponent.getBorder to
returns the current border.
| ||||||
| public Font | getFont() | ||||||
| public Dimension | getPreferredSize() Overrides JTextField.getPreferredSize to
return the preferred size based on current font, if set,
or else use renderer's font.
| ||||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|