Package com.mxgraph.layout
Class mxEdgeLabelLayout
- java.lang.Object
-
- com.mxgraph.layout.mxGraphLayout
-
- com.mxgraph.layout.mxEdgeLabelLayout
-
- All Implemented Interfaces:
mxIGraphLayout
public class mxEdgeLabelLayout extends mxGraphLayout
-
-
Field Summary
-
Fields inherited from class com.mxgraph.layout.mxGraphLayout
graph, parent, useBoundingBox
-
-
Constructor Summary
Constructors Constructor Description mxEdgeLabelLayout(mxGraph graph)Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidavoid(mxCellState edge, mxCellState vertex)voidexecute(java.lang.Object parent)Executes the layout for the children of the specified parent.protected voidplaceLabels(java.lang.Object[] v, java.lang.Object[] e)-
Methods inherited from class com.mxgraph.layout.mxGraphLayout
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, setEdgePoints, setEdgeStyleEnabled, setOrthogonalEdge, setUseBoundingBox, setVertexLocation
-
-
-
-
Constructor Detail
-
mxEdgeLabelLayout
public mxEdgeLabelLayout(mxGraph graph)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
-
-
Method Detail
-
execute
public void execute(java.lang.Object parent)
Description copied from interface:mxIGraphLayoutExecutes the layout for the children of the specified parent.- Specified by:
executein interfacemxIGraphLayout- Overrides:
executein classmxGraphLayout- Parameters:
parent- Parent cell that contains the children to be layed out.
-
placeLabels
protected void placeLabels(java.lang.Object[] v, java.lang.Object[] e)
-
avoid
protected void avoid(mxCellState edge, mxCellState vertex)
-
-