In charge of moving cells after a resize.
mxSpaceManager | In charge of moving cells after a resize. |
Functions | |
mxSpaceManager | Constructs a new automatic layout for the given graph. |
Variables | |
graph | Reference to the enclosing mxGraph. |
enabled | Specifies if event handling is enabled. |
shiftRightwards | Specifies if event handling is enabled. |
shiftDownwards | Specifies if event handling is enabled. |
extendParents | Specifies if event handling is enabled. |
resizeHandler | Holds the function that handles the move event. |
foldHandler | Holds the function that handles the fold event. |
Functions | |
isCellIgnored | Sets the graph that the layouts operate on. |
isCellShiftable | Sets the graph that the layouts operate on. |
isEnabled | Returns true if events are handled. |
setEnabled | Enables or disables event handling. |
isShiftRightwards | Returns true if events are handled. |
setShiftRightwards | Enables or disables event handling. |
isShiftDownwards | Returns true if events are handled. |
setShiftDownwards | Enables or disables event handling. |
isExtendParents | Returns true if events are handled. |
setShiftDownwards | Enables or disables event handling. |
getGraph | Returns the graph that this layout operates on. |
setGraph | Sets the graph that the layouts operate on. |
cellsResized | Called from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent. |
cellResized | Called from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent. |
shiftCell | Called from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent. |
getCellsToShift | Returns the cells to shift after a resize of the specified mxCellState. |
destroy | Removes all handlers from the graph and deletes the reference to it. |
mxSpaceManager.prototype.graph
Reference to the enclosing mxGraph.
mxSpaceManager.prototype.isEnabled = function()
Returns true if events are handled. This implementation returns enabled.
mxSpaceManager.prototype.setEnabled = function( value )
Enables or disables event handling. This implementation updates enabled.
enabled | Boolean that specifies the new enabled state. |
mxSpaceManager.prototype.isShiftRightwards = function()
Returns true if events are handled. This implementation returns enabled.
mxSpaceManager.prototype.setShiftRightwards = function( value )
Enables or disables event handling. This implementation updates enabled.
enabled | Boolean that specifies the new enabled state. |
mxSpaceManager.prototype.isShiftDownwards = function()
Returns true if events are handled. This implementation returns enabled.
mxSpaceManager.prototype.setShiftDownwards = function( value )
Enables or disables event handling. This implementation updates enabled.
enabled | Boolean that specifies the new enabled state. |
mxSpaceManager.prototype.isExtendParents = function()
Returns true if events are handled. This implementation returns enabled.
Enables or disables event handling. This implementation updates enabled.
enabled | Boolean that specifies the new enabled state. |
mxSpaceManager.prototype.cellsResized = function( cells )
Called from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent. The event is used to define the x- and y-coordinates passed to the move function.
cell | Array of mxCells that have been resized. |
mxSpaceManager.prototype.cellResized = function( cell )
Called from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent. The event is used to define the x- and y-coordinates passed to the move function.
cell | mxCell that has been resized. |
mxSpaceManager.prototype.shiftCell = function( cell, dx, dy, Ox0, y0, right, bottom, fx, fy, extendParent )
Called from <moveCellsIntoParent> to invoke the <move> hook in the automatic layout of each modified cell’s parent. The event is used to define the x- and y-coordinates passed to the move function.
cell | Array of mxCells that have been moved. |
evt | Mouse event that represents the mousedown. |
mxSpaceManager.prototype.getCellsToShift = function( state )
Returns the cells to shift after a resize of the specified mxCellState.
mxSpaceManager.prototype.destroy = function()
Removes all handlers from the graph and deletes the reference to it.
Constructs a new automatic layout for the given graph.
function mxSpaceManager( graph, shiftRightwards, shiftDownwards, extendParents )
Reference to the enclosing mxGraph.
mxSpaceManager.prototype.graph
Specifies if event handling is enabled.
mxSpaceManager.prototype.enabled
Specifies if event handling is enabled.
mxSpaceManager.prototype.shiftRightwards
Specifies if event handling is enabled.
mxSpaceManager.prototype.shiftDownwards
Specifies if event handling is enabled.
mxSpaceManager.prototype.extendParents
Holds the function that handles the move event.
mxSpaceManager.prototype.resizeHandler
Holds the function that handles the fold event.
mxSpaceManager.prototype.foldHandler
Sets the graph that the layouts operate on.
mxSpaceManager.prototype.isCellIgnored = function( cell )
Sets the graph that the layouts operate on.
mxSpaceManager.prototype.isCellShiftable = function( cell )
Returns true if events are handled.
mxSpaceManager.prototype.isEnabled = function()
Enables or disables event handling.
mxSpaceManager.prototype.setEnabled = function( value )
Returns true if events are handled.
mxSpaceManager.prototype.isShiftRightwards = function()
Enables or disables event handling.
mxSpaceManager.prototype.setShiftRightwards = function( value )
Returns true if events are handled.
mxSpaceManager.prototype.isShiftDownwards = function()
Enables or disables event handling.
mxSpaceManager.prototype.setShiftDownwards = function( value )
Returns true if events are handled.
mxSpaceManager.prototype.isExtendParents = function()
Returns the graph that this layout operates on.
mxSpaceManager.prototype.getGraph = function()
Sets the graph that the layouts operate on.
mxSpaceManager.prototype.setGraph = function( graph )
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
mxSpaceManager.prototype.cellsResized = function( cells )
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
mxSpaceManager.prototype.cellResized = function( cell )
Called from moveCellsIntoParent to invoke the move hook in the automatic layout of each modified cell’s parent.
mxSpaceManager.prototype.shiftCell = function( cell, dx, dy, Ox0, y0, right, bottom, fx, fy, extendParent )
Returns the cells to shift after a resize of the specified mxCellState.
mxSpaceManager.prototype.getCellsToShift = function( state )
Removes all handlers from the graph and deletes the reference to it.
mxSpaceManager.prototype.destroy = function()