Package com.mxgraph.shape
Class mxSwimlaneShape
java.lang.Object
com.mxgraph.shape.mxBasicShape
com.mxgraph.shape.mxSwimlaneShape
- All Implemented Interfaces:
mxIShape
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected mxGraphicsCanvas2DconfigureCanvas(mxGraphics2DCanvas canvas, mxCellState state, mxGraphicsCanvas2D c) Helper method to configure the given wrapper canvas.protected doublegetArcSize(mxCellState state, double start) Helper method to configure the given wrapper canvas.protected mxRectanglegetGradientBounds(mxGraphics2DCanvas canvas, mxCellState state) protected doublegetTitleSize(mxGraphics2DCanvas canvas, mxCellState state) Returns the bounding box for the gradient box for this shape.protected voidpaintRoundedSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, double r, String fill, boolean swimlaneLine) Function: paintRoundedSwimlane Paints the swimlane vertex shape.protected voidpaintSeparator(mxGraphics2DCanvas canvas, mxCellState state, double start, String color) Function: paintSwimlane Paints the swimlane vertex shape.voidpaintShape(mxGraphics2DCanvas canvas, mxCellState state) protected voidpaintSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, String fill, boolean swimlaneLine) Methods inherited from class com.mxgraph.shape.mxBasicShape
configureGraphics, createShape, getFillColor, getStrokeColor, hasGradient, hasShadow
-
Constructor Details
-
mxSwimlaneShape
public mxSwimlaneShape()
-
-
Method Details
-
getTitleSize
Returns the bounding box for the gradient box for this shape. -
getGradientBounds
- Overrides:
getGradientBoundsin classmxBasicShape
-
paintShape
- Specified by:
paintShapein interfacemxIShape- Overrides:
paintShapein classmxBasicShape
-
getArcSize
Helper method to configure the given wrapper canvas. -
configureCanvas
protected mxGraphicsCanvas2D configureCanvas(mxGraphics2DCanvas canvas, mxCellState state, mxGraphicsCanvas2D c) Helper method to configure the given wrapper canvas. -
paintSwimlane
protected void paintSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, String fill, boolean swimlaneLine) -
paintRoundedSwimlane
protected void paintRoundedSwimlane(mxGraphics2DCanvas canvas, mxCellState state, double start, double r, String fill, boolean swimlaneLine) Function: paintRoundedSwimlane Paints the swimlane vertex shape. -
paintSeparator
protected void paintSeparator(mxGraphics2DCanvas canvas, mxCellState state, double start, String color) Function: paintSwimlane Paints the swimlane vertex shape.
-