| 
 | JGraph X 2.1.0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mxgraph.layout.mxGraphLayout
com.mxgraph.layout.mxStackLayout
public class mxStackLayout
| Field Summary | |
|---|---|
| protected  int | borderBorder to be added if fill is true. | 
| protected  boolean | fillBoolean indicating if dimension should be changed to fill out the parent cell. | 
| protected  boolean | horizontalSpecifies the orientation of the layout. | 
| protected  boolean | resizeParentIf the parent should be resized to match the width/height of the stack. | 
| protected  int | spacingSpecifies the spacing between the cells. | 
| protected  int | wrapValue at which a new column or row should be created. | 
| protected  int | x0Specifies the horizontal origin of the layout. | 
| protected  int | y0Specifies the vertical origin of the layout. | 
| Fields inherited from class com.mxgraph.layout.mxGraphLayout | 
|---|
| graph, parent, useBoundingBox | 
| Constructor Summary | |
|---|---|
| mxStackLayout(mxGraph graph)Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. | |
| mxStackLayout(mxGraph graph,
              boolean horizontal)Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. | |
| mxStackLayout(mxGraph graph,
              boolean horizontal,
              int spacing)Constructs a new stack layout layout for the specified graph, spacing, orientation and offset. | |
| mxStackLayout(mxGraph graph,
              boolean horizontal,
              int spacing,
              int x0,
              int y0,
              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. | 
|  boolean | isHorizontal() | 
|  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 x0
protected int y0
protected int border
protected boolean fill
protected boolean resizeParent
protected int wrap
| Constructor Detail | 
|---|
public mxStackLayout(mxGraph graph)
public mxStackLayout(mxGraph graph,
                     boolean horizontal)
public mxStackLayout(mxGraph graph,
                     boolean horizontal,
                     int spacing)
public mxStackLayout(mxGraph graph,
                     boolean horizontal,
                     int spacing,
                     int x0,
                     int y0,
                     int border)
| Method Detail | 
|---|
public boolean isHorizontal()
public void moveCell(Object cell,
                     double x,
                     double y)
mxIGraphLayout
moveCell in interface mxIGraphLayoutmoveCell in class mxGraphLayoutcell - 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 mxIGraphLayoutexecute in class mxGraphLayoutparent - Parent cell that contains the children to be layed out.| 
 | JGraph X 2.1.0.7 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||