public class EventHandlerLayout
extends com.mxgraph.layout.mxGraphLayout
Constructor and Description |
---|
EventHandlerLayout(com.mxgraph.view.mxGraph graph)
Creates a new event handler layout.
|
Modifier and Type | Method and 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.
|
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation
public EventHandlerLayout(com.mxgraph.view.mxGraph graph)
graph
- The graph.public void moveCell(java.lang.Object cell, double x, double y)
moveCell
in interface com.mxgraph.layout.mxIGraphLayout
moveCell
in class com.mxgraph.layout.mxGraphLayout
public void execute(java.lang.Object parent)
execute
in interface com.mxgraph.layout.mxIGraphLayout
execute
in class com.mxgraph.layout.mxGraphLayout