| 
JavaTM 2 Platform Std. Ed. v1.4.1  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--javax.swing.text.JTextComponent
                          |
                          +--javax.swing.JTextField
                                |
                                +--javax.swing.tree.DefaultTreeCellEditor.DefaultTextField
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.
| Nested Class Summary | 
| Nested classes inherited from class javax.swing.JTextField | 
JTextField.AccessibleJTextField | 
| Nested classes inherited from class javax.swing.text.JTextComponent | 
JTextComponent.AccessibleJTextComponent, JTextComponent.KeyBinding | 
| Nested classes inherited from class javax.swing.JComponent | 
JComponent.AccessibleJComponent | 
| Nested classes inherited from class java.awt.Container | 
Container.AccessibleAWTContainer | 
| Nested classes inherited from class java.awt.Component | 
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy | 
| Field Summary | |
protected  Border | 
border
Border to use.  | 
| Fields inherited from class javax.swing.JTextField | 
notifyAction | 
| Fields inherited from class javax.swing.text.JTextComponent | 
DEFAULT_KEYMAP, FOCUS_ACCELERATOR_KEY | 
| Fields inherited from class javax.swing.JComponent | 
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW | 
| Fields inherited from class java.awt.Component | 
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT | 
| Fields inherited from interface javax.swing.SwingConstants | 
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST | 
| Fields inherited from interface java.awt.image.ImageObserver | 
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH | 
| Constructor Summary | |
DefaultTreeCellEditor.DefaultTextField(Border border)
Constructs a DefaultTreeCellEditor.DefaultTextField object. | 
|
| Method Summary | |
 Border | 
getBorder()
Overrides JComponent.getBorder to
 returns the current border. | 
 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. | 
 void | 
setBorder(Border border)
Sets the border of this component.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
protected Border border
| Constructor Detail | 
public DefaultTreeCellEditor.DefaultTextField(Border border)
DefaultTreeCellEditor.DefaultTextField object.
border - a Border object| Method Detail | 
public void setBorder(Border border)
This is a bound property.
setBorder in class JComponentborder - the border to be rendered for this componentBorder, 
CompoundBorderpublic Border getBorder()
JComponent.getBorder to
 returns the current border.
getBorder in class JComponentJComponent.setBorder(javax.swing.border.Border)public Font getFont()
Component
getFont in interface MenuContainergetFont in class ComponentComponent.setFont(java.awt.Font)public Dimension getPreferredSize()
JTextField.getPreferredSize to
 return the preferred size based on current font, if set,
 or else use renderer's font.
getPreferredSize in class JTextFieldDimension object containing
   the preferred size
  | 
JavaTM 2 Platform Std. Ed. v1.4.1  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.