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 controlis associated with the property:
AllowActions {string}, customizes the actions the user can perform once the user clicks or touches the controlwhich means that the following statements are equivalent:
oSwimlane.Options = {allowActions: "scroll"}where oSwimlane is an object of Swimlane type
oSwimlane.SetOptions({allowActions: "scroll"})
oSwimlane.AllowActions = "scroll"
oSwimlane.SetAllowActions("scroll")
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
client |
any | The client parameter indicates the control's client area as:
|
|
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