code: function mxSwimlaneManager(graph, horizontal, addEnabled, resizeEnabled)
  {
  	this.horizontal = (horizontal != null) ? horizontal : true;
  	this.addEnabled = (addEnabled != null) ? addEnabled : true;
  	this.resizeEnabled = (resizeEnabled != null) ? resizeEnabled : true;
  
  	this.addHandler = mxUtils.bind(this, function(sender, evt)
  	{
  		if (this.isEnabled() && this.isAddEnabled())
  		{
  			this.cellsAdded(evt.getProperty('cells'));
  		}
  	});
  	
  	this.resizeHandler = mxUtils.bind(this, function(sender, evt)
  	{
  		if (this.isEnabled() && this.isResizeEnabled())
  		{
  			this.cellsResized(evt.getProperty('cells'));
  		}
  	});
  	
  	this.setGraph(graph);
  }
docs: Copyright (c) 2006-2015, JGraph Ltd
  Copyright (c) 2006-2015, Gaudenz Alder
   
  Class: mxSwimlaneManager
  
  Manager for swimlanes and nested swimlanes that sets the size of newly added
  swimlanes to that of their siblings, and propagates changes to the size of a
  swimlane to its siblings, if <siblings> is true, and its ancestors, if
  <bubbling> is true.
  
  Constructor: mxSwimlaneManager
  
  Constructs a new swimlane manager for the given graph.
  
  Arguments:
  
  graph - Reference to the enclosing graph.