Holds the value of the x argument in the last call to
Holds the value of the y argument in the last call to
Specifies the default opacity to be used for the rubberband div. Default is 20.
Holds the DIV element which is currently visible.
Specifies if events are handled. Default is true.
Optional fade out effect. Default is false.
Holds the DIV element which is used to display the rubberband.
Creates the rubberband selection shape.
Resets the state of this handler and selects the current region for the given event.
Returns true if this handler is active.
Creates the rubberband selection shape.
Returns true if the given {@link MouseEvent} should start rubberband selection. This implementation returns true if the alt key is pressed.
Handles the event by initiating a rubberband selection. By consuming the event all subsequent events of the gesture are redirected to this handler.
Handles the event by updating therubberband selection.
Handles the event by selecting the region of the rubberband using {@link Graph#selectRegion}.
Destroys the handler and all its resources and DOM nodes. This does normally not need to be called, it is called automatically when the window unloads.
Computes the bounding box and updates the style of the
Resets the state of the rubberband selection.
Enables or disables event handling. This implementation updates
Creates the rubberband selection shape.
Sets
Generated using TypeDoc
Event handler that selects rectangular regions. This is not built-into [mxGraph]. To enable rubberband selection in a graph, use the following code.