Class: Swimlane

Swimlane(client, oOptsopt)

new Swimlane(client, oOptsopt)

The ExSwimlane/JS lets you draw swim lane diagrams. A swim lane (or swimlane diagram) is a visual element used in process flow diagrams, or flowcharts, that visually distinguishes job sharing and responsibilities for sub-processes of a business process. Swim lanes may be arranged either horizontally or vertically. The ExSwimlane/JS is a HTML standalone-component, written in JavaScript, that uses no third-party libraries.
The ExSwimlane/JS component supports/inherits all objects, properties, members, methods and events of the ExSurface/JS component.

Every option of the Surface.Options or Swimlane.Options type has associated a property of the control. For instance, the option:

allowActions {string}, customizes the actions the user can perform once the user clicks or touches the control
is associated with the property:
AllowActions {string}, customizes the actions the user can perform once the user clicks or touches the control
which means that the following statements are equivalent:
oSwimlane.Options = {allowActions: "scroll"}
oSwimlane.SetOptions({allowActions: "scroll"})
oSwimlane.AllowActions = "scroll"
oSwimlane.SetAllowActions("scroll")
where oSwimlane is an object of Swimlane type
Parameters:
Name Type Attributes Description
client any The client parameter indicates the control's client area as:
  • array of [x,y,width,height] type that specifies the control's client area
  • string, that specifies the identifier of the canvas within the document, so the canvas's client area becomes the control's client area
  • HTMLCanvasElement, that specifies the identifier of the canvas within the document, so the canvas's client area becomes the control's client area
oOpts object <optional>
An object of Surface.Options type that defines different options to display the control. Additionally, it supports all fields of Swimlane.Options class.
Requires:
  • module:exontrol.commmon.min.js
  • module:exontrol.surface.min.js

Requires

  • module:exontrol.commmon.min.js
  • module:exontrol.surface.min.js

Classes

Options