Specifies if the layout should bubble along the cell hierarchy.
Specifies if event handling is enabled.
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.
Specifies if events can be fired. Default is true.
Optional source for events. Default is null.
Reference to the enclosing graph.
Holds the function that handles the move event.
Holds the function that handles the resize event.
Holds the function that handles the endUpdate event.
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 EventObject.
Called from undoHandler.
Called from moveHandler.
Mouse event that represents the mousedown.
Called from resizeHandler.
Removes all handlers from the graph and deletes the reference to it.
Executes the given layout on the given parent.
Executes the given layout on the given parent.
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 Utils#bind).
Example:
fireEvent(new mxEventObject("eventName", key1, val1, .., keyN, valN))
EventObject that represents the event.
Optional sender to be passed to the listener. Default value is
the return value of
Returns the layout for the given cell and eventName. Possible event names are InternalEvent.MOVE_CELLS and InternalEvent.RESIZE_CELLS for callbacks on when cells are moved or resized and InternalEvent.BEGIN_UPDATE and InternalEvent.END_UPDATE for the capture and bubble phase of the layout after any changes of the model.
Returns true if the given cell has a layout. This implementation invokes
Returns true if a layout should bubble, that is, if the parent layout should be executed whenever a cell layout (layout of the children of a cell) has been executed. This implementation returns bubbling.
Returns true if events are handled. This implementation returns enabled.
Executes all layouts which have been scheduled during the changes.
Sets bubbling.
Sets the graph that the layouts operate on.
Implements a layout manager that runs a given layout after any changes to the graph:
Example
See getLayout for a description of the possible eventNames.
Event: mxEvent.LAYOUT_CELLS
Fires between begin- and endUpdate after all cells have been layouted in layoutCells. The
cells
property contains all cells that have been passed to layoutCells.