Class CaseGraph.CustomGraphComponent

  • All Implemented Interfaces:
    java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.print.Printable, java.io.Serializable, javax.accessibility.Accessible, javax.swing.ScrollPaneConstants
    Enclosing class:
    CaseGraph

    public static class CaseGraph.CustomGraphComponent
    extends mxGraphComponent
    See Also:
    Serialized Form
    • Constructor Detail

      • CustomGraphComponent

        public CustomGraphComponent​(mxGraph graph)
        Parameters:
        graph -
    • Method Detail

      • importCells

        public java.lang.Object[] importCells​(java.lang.Object[] cells,
                                              double dx,
                                              double dy,
                                              java.lang.Object target,
                                              java.awt.Point location)
        Overrides drop behaviour to set the cell style if the target is not a valid drop target and the cells are of the same type (eg. both vertices or both edges).
        Overrides:
        importCells in class mxGraphComponent