Class RealtimeDragSelectingTool

GoJS® Diagramming Components
version 3.0.16
by Northwoods Software®

This is an extension and not part of the main GoJS library. Note that the API for this class may change at any time. If you intend to use an extension in production, you should copy the code to your own source directory. See the Extensions intro page for more information.

Hierarchy (view full)

The RealtimeDragSelectingTool class lets the user select and deselect Parts within the go.DragSelectingTool.box during a drag, not just at the end of the drag.

If you want to experiment with this extension, try the Realtime Drag Selecting sample.

Index

Constructors

Methods

  • Remember the original collection of selected Parts.

    Returns void

  • Restore the selection which may have been modified during a drag.

    Returns void

  • Release any references to selected Parts.

    Returns void

  • Select Parts within the bounds of the drag-select box.

    Returns void

  • Select Parts within the bounds of the drag-select box.

    Returns void

  • Select Parts within the bounds of the drag-select box.

    Returns void

  • For a given rectangle, select Parts that are within that rectangle.

    Parameters

    • r: Rect

      rectangular bounds in document coordinates.

    Returns void