Class EventHandlerLayout

  • All Implemented Interfaces:
    com.mxgraph.layout.mxIGraphLayout

    public class EventHandlerLayout
    extends com.mxgraph.layout.mxGraphLayout
    Layout for ordering event handlers.
    • Field Summary

      • Fields inherited from class com.mxgraph.layout.mxGraphLayout

        graph, parent, useBoundingBox
    • Constructor Summary

      Constructors 
      Constructor Description
      EventHandlerLayout​(com.mxgraph.view.mxGraph graph)
      Creates a new event handler layout.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(java.lang.Object parent)
      Executes the layout.
      void moveCell​(java.lang.Object cell, double x, double y)
      Called when a cell is moved.
      • Methods inherited from class com.mxgraph.layout.mxGraphLayout

        arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EventHandlerLayout

        public EventHandlerLayout​(com.mxgraph.view.mxGraph graph)
        Creates a new event handler layout.
        Parameters:
        graph - The graph.
    • Method Detail

      • moveCell

        public void moveCell​(java.lang.Object cell,
                             double x,
                             double y)
        Called when a cell is moved.
        Specified by:
        moveCell in interface com.mxgraph.layout.mxIGraphLayout
        Overrides:
        moveCell in class com.mxgraph.layout.mxGraphLayout
      • execute

        public void execute​(java.lang.Object parent)
        Executes the layout.
        Specified by:
        execute in interface com.mxgraph.layout.mxIGraphLayout
        Overrides:
        execute in class com.mxgraph.layout.mxGraphLayout