Class DefaultGraphCellEditor.EditorContainer

java.lang.Object
java.awt.Component
java.awt.Container
org.jgraph.graph.DefaultGraphCellEditor.EditorContainer
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable
Enclosing class:
DefaultGraphCellEditor

public class DefaultGraphCellEditor.EditorContainer extends Container
Container responsible for placing the editingComponent.
See Also:
  • Constructor Details

    • EditorContainer

      public EditorContainer()
      Constructs an EditorContainer object.
  • Method Details

    • paint

      public void paint(Graphics g)
      Overrides Container.paint to paint the node's icon and use the selection color for the background.
      Overrides:
      paint in class Container
    • 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.
      Overrides:
      doLayout in class Container
    • getPreferredSize

      public Dimension getPreferredSize()
      Returns the preferred size for the Container. This will be the preferred size of the editor offset by offset.
      Overrides:
      getPreferredSize in class Container