public class javax.swing.tree
DefaultTreeCellEditor.EditorContainer


Show All Login
Java SE 6
  
Extends: Component > Container
Contained within: DefaultTreeCellEditor

Container responsible for placing the editingComponent.

Constructors
public DefaultTreeCellEditor.EditorContainer()
Constructs an EditorContainer object.

Methods
public void doLayout()
Lays out this Container. If editing, the editor will be placed at offset in the x direction and 0 for y.
public void EditorContainer()
public void paint(Graphics g)
Overrides Container.paint to paint the node's icon and use the selection color for the background.

Properties
public Dimension getPreferredSize() Details
Returns the preferred size for the Container. This will be at least preferred size of the editor plus offset.
returna Dimension containing the preferred size for the Container; if editingComponent is null the Dimension returned is 0, 0