org.jgraph.graph
Class DefaultGraphCellEditor.EditorContainer
Container
org.jgraph.graph.DefaultGraphCellEditor.EditorContainer
- DefaultGraphCellEditor
public class DefaultGraphCellEditor.EditorContainer
extends Container
Container responsible for placing the editingComponent.
void | doLayout() - Lays out this Container.
|
Dimension | getPreferredSize() - Returns the preferred size for the Container.
|
void | paint(Graphics g) - Overrides
Container.paint to paint the node's
icon and use the selection color for the background.
|
EditorContainer
public EditorContainer()
Constructs an EditorContainer object.
doLayout
public void doLayout()
Lays out this Container. If editing, the editor will be placed at
offset in the x direction and 0 for y.
getPreferredSize
public Dimension getPreferredSize()
Returns the preferred size for the Container. This will be
the preferred size of the editor offset by offset.
paint
public void paint(Graphics g)
Overrides Container.paint
to paint the node's
icon and use the selection color for the background.
Copyright (C) 2001-2006 Gaudenz Alder. All rights reserved.