Documentation of 'com.mxgraph.layout.mxPartitionLayout' Java class
mxPartitionLayout
com.mxgraph.layout

Class mxPartitionLayout

    • Constructor Detail

      • mxPartitionLayout

        public mxPartitionLayout(mxGraph graph)
        Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
      • mxPartitionLayout

        public mxPartitionLayout(mxGraph graph,
                                 boolean horizontal)
        Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
      • mxPartitionLayout

        public mxPartitionLayout(mxGraph graph,
                                 boolean horizontal,
                                 int spacing)
        Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
      • mxPartitionLayout

        public mxPartitionLayout(mxGraph graph,
                                 boolean horizontal,
                                 int spacing,
                                 int border)
        Constructs a new stack layout layout for the specified graph, spacing, orientation and offset.
    • Method Detail

      • moveCell

        public void moveCell(java.lang.Object cell,
                             double x,
                             double y)
        Description copied from interface: mxIGraphLayout
        Notified when a cell is being moved in a parent that has automatic layout to update the cell state (eg. index) so that the outcome of the layout will position the vertex as close to the point (x, y) as possible.
        Specified by:
        moveCell in interface mxIGraphLayout
        Overrides:
        moveCell in class mxGraphLayout
        Parameters:
        cell - Cell which is being moved.
        x - X-coordinate of the new cell location.
        y - Y-coordinate of the new cell location.
      • getContainerSize

        public mxRectangle getContainerSize()
        Hook for subclassers to return the container size.
      • execute

        public void execute(java.lang.Object parent)
        Description copied from interface: mxIGraphLayout
        Executes the layout for the children of the specified parent.
        Specified by:
        execute in interface mxIGraphLayout
        Overrides:
        execute in class mxGraphLayout
        Parameters:
        parent - Parent cell that contains the children to be layed out.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.