mxSwimlane

Extends mxShape to implement a swimlane shape.  This shape is registered under mxConstants.SHAPE_SWIMLANE in mxCellRenderer.

Summary
mxSwimlaneExtends mxShape to implement a swimlane shape.
Functions
mxSwimlaneConstructs a new swimlane shape.
Variables
vmlNodesAdds local references to mxShape.vmlNodes.
imageSizeDefault imagewidth and imageheight if an image but no imagewidth and imageheight are defined in the style.
mixedModeHtmlOverrides the parent value with false, meaning it will draw in VML in mixed Html mode.
preferModeHtmlOverrides the parent value with false, meaning it will draw as VML in prefer Html mode.
Functions
createHtmlCreates and returns the HTML node to represent this shape.
reconfigureOverrides to avoid filled content area in HTML and updates the shadow in SVG.
redrawHtmlUpdates the HTML node(s) to reflect the latest bounds and scale.
createVmlCreates and returns the VML node(s) to represent this shape.
redrawVmlUpdates the VML node(s) to reflect the latest bounds and scale.
createSvgCreates and returns the SVG node(s) to represent this shape.
redrawSvgUpdates the SVG node(s) to reflect the latest bounds and scale.

Functions

mxSwimlane

function mxSwimlane(bounds,
fill,
stroke,
strokewidth)

Constructs a new swimlane shape.

Parameters

boundsmxRectangle that defines the bounds.  This is stored in mxShape.bounds.
fillString that defines the fill color.  This is stored in <fill>.
strokeString that defines the stroke color.  This is stored in <stroke>.
strokewidthOptional integer that defines the stroke width.  Default is 1.  This is stored in <strokewidth>.

Variables

vmlNodes

mxSwimlane.prototype.vmlNodes

Adds local references to mxShape.vmlNodes.

imageSize

mxSwimlane.prototype.imageSize

Default imagewidth and imageheight if an image but no imagewidth and imageheight are defined in the style.  Value is 16.

mixedModeHtml

mxSwimlane.prototype.mixedModeHtml

Overrides the parent value with false, meaning it will draw in VML in mixed Html mode.  This is for better handling of event-transparency of the content area.

preferModeHtml

mxRhombus.prototype.preferModeHtml

Overrides the parent value with false, meaning it will draw as VML in prefer Html mode.  This is for better handling of event-transparency of the content area.

Functions

createHtml

mxSwimlane.prototype.createHtml = function()

Creates and returns the HTML node to represent this shape.

reconfigure

mxSwimlane.prototype.reconfigure = function(node)

Overrides to avoid filled content area in HTML and updates the shadow in SVG.

redrawHtml

mxSwimlane.prototype.redrawHtml = function()

Updates the HTML node(s) to reflect the latest bounds and scale.

createVml

mxSwimlane.prototype.createVml = function()

Creates and returns the VML node(s) to represent this shape.

redrawVml

mxSwimlane.prototype.redrawVml = function()

Updates the VML node(s) to reflect the latest bounds and scale.

createSvg

mxSwimlane.prototype.createSvg = function()

Creates and returns the SVG node(s) to represent this shape.

redrawSvg

mxSwimlane.prototype.redrawSvg = function()

Updates the SVG node(s) to reflect the latest bounds and scale.

Base class for all shapes.
function mxSwimlane(bounds,
fill,
stroke,
strokewidth)
Constructs a new swimlane shape.
mxSwimlane.prototype.vmlNodes
Adds local references to mxShape.vmlNodes.
mxShape.prototype.vmlNodes
Array if VML node names to fix in IE8 standards mode.
mxSwimlane.prototype.imageSize
Default imagewidth and imageheight if an image but no imagewidth and imageheight are defined in the style.
mxSwimlane.prototype.mixedModeHtml
Overrides the parent value with false, meaning it will draw in VML in mixed Html mode.
mxRhombus.prototype.preferModeHtml
Overrides the parent value with false, meaning it will draw as VML in prefer Html mode.
mxSwimlane.prototype.createHtml = function()
Creates and returns the HTML node to represent this shape.
mxSwimlane.prototype.reconfigure = function(node)
Overrides to avoid filled content area in HTML and updates the shadow in SVG.
mxSwimlane.prototype.redrawHtml = function()
Updates the HTML node(s) to reflect the latest bounds and scale.
mxSwimlane.prototype.createVml = function()
Creates and returns the VML node(s) to represent this shape.
mxSwimlane.prototype.redrawVml = function()
Updates the VML node(s) to reflect the latest bounds and scale.
mxSwimlane.prototype.createSvg = function()
Creates and returns the SVG node(s) to represent this shape.
mxSwimlane.prototype.redrawSvg = function()
Updates the SVG node(s) to reflect the latest bounds and scale.
Name under which mxSwimlane is registered in mxCellRenderer.
Renders cells into a document object model.
Extends mxPoint to implement a 2-dimensional rectangle with double precision coordinates.
mxShape.prototype.bounds
Holds the mxRectangle that specifies the bounds of this shape.
Close