Specifies the resource key for the status message after a long operation. If the resource for this key does not exist then the value is used as the status message. Default is 'done'.
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 if only one selected item at a time is allowed. Default is false.
Specifies the resource key for the status message while the selection is being updated. If the resource for this key does not exist then the value is used as the status message. Default is 'updatingSelection'.
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
Clears the selection and fires a {@link change} event if the selection was not empty.
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 true if no cells are currently selected.
Function: isEventsEnabled
Returns
Returns singleSelection as a boolean.
/
Function: removeListener
Removes all occurrences of the given listener from
Function: setEventSource
Sets
Function: setEventsEnabled
Sets
Sets the singleSelection flag.
Boolean that specifies the new value for singleSelection.
Generated using TypeDoc
Event: mxEvent.UNDO
Fires after the selection was changed in changeSelection. The
edit
property contains the mxUndoableEdit which contains the mxSelectionChange.Event: mxEvent.CHANGE
Fires after the selection changes by executing an mxSelectionChange. The
added
andremoved
properties contain arrays of cells that have been added to or removed from the selection, respectively. The names are inverted due to historic reasons. This cannot be changed.