mxRectangle size = graph.getStartSize(parent); dx += size.getWidth(); dy += size.getHeight();
mxRectangle size = graphComponent.getGraph().getStartSize( source.getCell());
mxRectangle size = graphComponent.getGraph().getStartSize( source.getCell());
mxRectangle size = getStartSize(cell);
mxRectangle size = getStartSize(cell);
mxRectangle size = getStartSize(parent);
other -= 2 * border; mxRectangle size = graph.getStartSize(parent);
other -= 2 * border; mxRectangle size = graph.getStartSize(parent);
mxRectangle size = getStartSize(parent);
/** * Returns the bounds to be used for the given group and children. This * implementation computes the bounding box of the geometries of all * vertices in the given children array. Edges are ignored. If the group * cell is a swimlane the title region is added to the bounds. */ public mxRectangle getBoundsForGroup(Object group, Object[] children, double border) { mxRectangle result = getBoundingBoxFromGeometry(children); if (result != null) { if (isSwimlane(group)) { mxRectangle size = getStartSize(group); result.setX(result.getX() - size.getWidth()); result.setY(result.getY() - size.getHeight()); result.setWidth(result.getWidth() + size.getWidth()); result.setHeight(result.getHeight() + size.getHeight()); } // Adds the border result.setX(result.getX() - border); result.setY(result.getY() - border); result.setWidth(result.getWidth() + 2 * border); result.setHeight(result.getHeight() + 2 * border); } return result; }
/** * Returns the bounds to be used for the given group and children. This * implementation computes the bounding box of the geometries of all * vertices in the given children array. Edges are ignored. If the group * cell is a swimlane the title region is added to the bounds. */ public mxRectangle getBoundsForGroup(Object group, Object[] children, double border) { mxRectangle result = getBoundingBoxFromGeometry(children); if (result != null) { if (isSwimlane(group)) { mxRectangle size = getStartSize(group); result.setX(result.getX() - size.getWidth()); result.setY(result.getY() - size.getHeight()); result.setWidth(result.getWidth() + size.getWidth()); result.setHeight(result.getHeight() + size.getHeight()); } // Adds the border result.setX(result.getX() - border); result.setY(result.getY() - border); result.setWidth(result.getWidth() + 2 * border); result.setHeight(result.getHeight() + 2 * border); } return result; }
.getStartSize(swimlane) : new mxRectangle(); w -= tmp.getWidth(); h -= tmp.getHeight();
.getStartSize(swimlane) : new mxRectangle(); w -= tmp.getWidth(); h -= tmp.getHeight();
current = model.getParent(current); mxRectangle tmp = (graph.isSwimlane(current)) ? graph.getStartSize(current) : new mxRectangle(); size.setWidth(size.getWidth() + tmp.getWidth());
current = model.getParent(current); mxRectangle tmp = (graph.isSwimlane(current)) ? graph.getStartSize(current) : new mxRectangle(); size.setWidth(size.getWidth() + tmp.getWidth());
mxRectangle size = graph.getStartSize(group); left = size.getWidth(); top = size.getHeight();
mxRectangle size = graph.getStartSize(group); left = size.getWidth(); top = size.getHeight();
mxRectangle size = graph.getStartSize(parent); dx += size.getWidth(); dy += size.getHeight();
&& childBounds.getHeight() > 0) mxRectangle size = (isSwimlane(cells[i])) ? getStartSize(cells[i]) : new mxRectangle();
&& childBounds.getHeight() > 0) mxRectangle size = (isSwimlane(cells[i])) ? getStartSize(cells[i]) : new mxRectangle();