Minimum amount of seconds between two consecutive autosaves. Eg. a value of 1 (s) means the graph is not stored more than once per second. Default is 10.
Minimum amount of ignored changes before an autosave. Eg. a value of 2 means after 2 change of the graph model the autosave will trigger if the condition below is true. Default is 5.
Minimum amount of seconds between two consecutive autosaves triggered by
more than
Holds the function that handles graph model changes.
Specifies if event handling is enabled. Default is true.
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.
Counter for ignored changes in autosave.
Used for autosaving. See
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.
Removes all handlers from the
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
Invoked when the graph model has changed.
Returns true if events are handled. This implementation
returns
Returns
Removes all occurrences of the given listener from
Resets all counters.
Empty hook that is called if the graph should be saved.
Enables or disables event handling. This implementation
updates
Sets
Sets
Manager for automatically saving diagrams. The hook must be
implemented.