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.
Optional source for events. Default is null.
Specifies if events can be fired. Default is true.
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.
{@link mxRectangle} taht represents the new bounds.
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 {@link 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
Executes all layouts which have been scheduled during the changes.
mxChildChange|mxTerminalChange|mxVisibleChange|...
Returns the cells for which a layout should be executed.
Returns
Returns the graph that this layout operates on.
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.
Returns
Executes all layouts which have been scheduled during the changes.
Removes all occurrences of the given listener from
Sets bubbling.
Enables or disables event handling. This implementation updates enabled.
Boolean that specifies the new enabled state.
Sets
Sets
Sets the graph that the layouts operate on.
Generated using TypeDoc
Specifies if the layout should bubble along the cell hierarchy.
true