|
mxGraph 1.10.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.mxgraph.layout.mxGraphLayout com.mxgraph.layout.mxPartitionLayout
public class mxPartitionLayout
Field Summary | |
---|---|
protected int |
border
Integer that specifies the absolute inset in pixels for the parent that contains the children. |
protected boolean |
horizontal
Boolean indicating the direction in which the space is partitioned. |
protected boolean |
resizeVertices
Boolean that specifies if vertices should be resized. |
protected int |
spacing
Integer that specifies the absolute spacing in pixels between the children. |
Fields inherited from class com.mxgraph.layout.mxGraphLayout |
---|
graph, parent, useBoundingBox |
Constructor Summary | |
---|---|
mxPartitionLayout(mxGraph graph)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. |
|
mxPartitionLayout(mxGraph graph,
boolean horizontal)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. |
|
mxPartitionLayout(mxGraph graph,
boolean horizontal,
int spacing)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. |
|
mxPartitionLayout(mxGraph graph,
boolean horizontal,
int spacing,
int border)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. |
Method Summary | |
---|---|
void |
execute(Object parent)
Executes the layout for the children of the specified parent. |
mxRectangle |
getContainerSize()
Hook for subclassers to return the container size. |
void |
moveCell(Object cell,
double x,
double y)
Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. |
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 |
Field Detail |
---|
protected boolean horizontal
protected int spacing
protected int border
protected boolean resizeVertices
Constructor Detail |
---|
public mxPartitionLayout(mxGraph graph)
public mxPartitionLayout(mxGraph graph, boolean horizontal)
public mxPartitionLayout(mxGraph graph, boolean horizontal, int spacing)
public mxPartitionLayout(mxGraph graph, boolean horizontal, int spacing, int border)
Method Detail |
---|
public void moveCell(Object cell, double x, double y)
mxIGraphLayout
moveCell
in interface mxIGraphLayout
moveCell
in class mxGraphLayout
cell
- Cell which is being moved.x
- X-coordinate of the new cell location.y
- Y-coordinate of the new cell location.public mxRectangle getContainerSize()
public void execute(Object parent)
mxIGraphLayout
execute
in interface mxIGraphLayout
execute
in class mxGraphLayout
parent
- Parent cell that contains the children to be layed out.
|
mxGraph 1.10.3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |