|
mxGraph 2.1.0.3 |
|||||||||
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.mxCircleLayout
public class mxCircleLayout
Field Summary | |
---|---|
protected boolean |
disableEdgeStyle
Specifies if the STYLE_NOEDGESTYLE flag should be set on edges that are modified by the result. |
protected boolean |
moveCircle
Boolean specifying if the circle should be moved to the top, left corner specified by x0 and y0. |
protected double |
radius
Integer specifying the size of the radius. |
protected boolean |
resetEdges
Specifies if all edge points of traversed edges should be removed. |
protected double |
x0
Integer specifying the left coordinate of the circle. |
protected double |
y0
Integer specifying the top coordinate of the circle. |
Fields inherited from class com.mxgraph.layout.mxGraphLayout |
---|
graph, parent, useBoundingBox |
Constructor Summary | |
---|---|
mxCircleLayout(mxGraph graph)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. |
|
mxCircleLayout(mxGraph graph,
double radius)
Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. |
Method Summary | |
---|---|
void |
circle(Object[] vertices,
double r,
double left,
double top)
Executes the circular layout for the specified array of vertices and the given radius. |
void |
execute(Object parent)
Executes the layout for the children of the specified parent. |
double |
getRadius()
|
double |
getX0()
|
double |
getY0()
|
boolean |
isDisableEdgeStyle()
|
boolean |
isMoveCircle()
|
boolean |
isResetEdges()
|
void |
setDisableEdgeStyle(boolean disableEdgeStyle)
|
void |
setMoveCircle(boolean moveCircle)
|
void |
setRadius(double radius)
|
void |
setResetEdges(boolean resetEdges)
|
void |
setX0(double x0)
|
void |
setY0(double y0)
|
Methods inherited from class com.mxgraph.layout.mxGraphLayout |
---|
arrangeGroups, getConstraint, getConstraint, getGraph, getParentOffset, getVertexBounds, isEdgeIgnored, isUseBoundingBox, isVertexIgnored, isVertexMovable, moveCell, 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 double radius
protected boolean moveCircle
protected double x0
protected double y0
protected boolean resetEdges
protected boolean disableEdgeStyle
Constructor Detail |
---|
public mxCircleLayout(mxGraph graph)
public mxCircleLayout(mxGraph graph, double radius)
Method Detail |
---|
public double getRadius()
public void setRadius(double radius)
radius
- the radius to setpublic boolean isMoveCircle()
public void setMoveCircle(boolean moveCircle)
moveCircle
- the moveCircle to setpublic double getX0()
public void setX0(double x0)
x0
- the x0 to setpublic double getY0()
public void setY0(double y0)
y0
- the y0 to setpublic boolean isResetEdges()
public void setResetEdges(boolean resetEdges)
resetEdges
- the resetEdges to setpublic boolean isDisableEdgeStyle()
public void setDisableEdgeStyle(boolean disableEdgeStyle)
disableEdgeStyle
- the disableEdgeStyle to setpublic void execute(Object parent)
mxIGraphLayout
execute
in interface mxIGraphLayout
execute
in class mxGraphLayout
parent
- Parent cell that contains the children to be layed out.public void circle(Object[] vertices, double r, double left, double top)
|
mxGraph 2.1.0.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |