Reference to the enclosing graph.
Specifies if newly added cells should be resized to match the size of their existing siblings.
Holds the function that handles the move event.
Specifies if event handling is enabled.
Variable: eventListeners
Holds the event names and associated listeners in an array. The array contains the event name followed by the respective listener for each registered listener.
Variable: eventSource
Optional source for events. Default is null.
Variable: eventsEnabled
Specifies if events can be fired. Default is true.
Reference to the enclosing mxGraph.
Specifies the orientation of the swimlanes.
Specifies if resizing of swimlanes should be handled.
Holds the function that handles the move event.
Function: addListener
Binds the specified function to the given event name. If no event name is given, then the listener is registered for all events.
The parameters of the listener are the sender and an
Called if any cells have been added.
Called if any cells have been resizes. Calls {@link swimlaneResized} for all swimlanes where isSwimlaneIgnored returns false.
Removes all handlers from the graph and deletes the reference to it.
Function: fireEvent
Dispatches the given event to the listeners which are registered for the event. The sender argument is optional. The current execution scope ("this") is used for the listener invocation (see <mxUtils.bind>).
Example:
(code) fireEvent(new mxEventObject("eventName", key1, val1, .., keyN, valN)) (end)
Parameters:
evt -
Function: getEventSource
Returns
Returns the graph that this manager operates on.
Returns addEnabled.
Returns true if the given cell is horizontal. If the given cell is not a swimlane, then the global orientation is returned.
Returns true if events are handled. This implementation returns enabled.
Function: isEventsEnabled
Returns
Returns horizontal.
Returns resizeEnabled.
Returns true if the given swimlane should be ignored.
Function: removeListener
Removes all occurrences of the given listener from
Called from cellsResized for all swimlanes that are not ignored to update the size of the siblings and the size of the parent swimlanes, recursively, if bubbling is true.
Sets addEnabled.
Enables or disables event handling. This implementation updates enabled.
Function: setEventSource
Sets
Function: setEventsEnabled
Sets
Sets the graph that the manager operates on.
Sets horizontal.
Sets resizeEnabled.
Generated using TypeDoc
Constructs a new swimlane manager for the given graph.