Class DefaultGraphCellEditor.DefaultTextField

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable, SwingConstants
Enclosing class:
DefaultGraphCellEditor

public class DefaultGraphCellEditor.DefaultTextField extends JTextField
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.
See Also:
  • Field Details

    • border

      protected Border border
      Border to use.
  • Constructor Details

    • DefaultTextField

      public DefaultTextField(Border border)
      Constructs a DefaultTreeCellEditor$DefaultTextField object.
      Parameters:
      border - a Border object
  • Method Details