222 lines
144 KiB
HTML
222 lines
144 KiB
HTML
<!DOCTYPE html><html class="default"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SelectionHandler | @maxgraph/core</title><meta name="description" content="Documentation for @maxgraph/core"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><script>document.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@maxgraph/core</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../index.html">@maxgraph/core</a></li><li><a href="SelectionHandler.html">SelectionHandler</a></li></ul><h1>Class SelectionHandler</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Graph event handler that handles selection. Individual cells are handled
|
|
separately using <a href="VertexHandler.html">VertexHandler</a> or one of the edge handlers. These
|
|
handlers are created using {@link Graph#createHandler} in
|
|
{@link GraphSelectionModel#cellAdded}.</p>
|
|
</div><div><p>To avoid the container to scroll a moved cell into view, set
|
|
<scrollAfterMove> to false.</p>
|
|
<p>Constructor: mxGraphHandler</p>
|
|
<p>Constructs an event handler that creates handles for the
|
|
selection cells.</p>
|
|
</div><dl class="tsd-comment-tags"><dt>param graph</dt><dd><p>Reference to the enclosing <a href="Graph.html">Graph</a>.</p>
|
|
</dd></dl></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">SelectionHandler</span></li></ul></section><section class="tsd-panel"><h3>Implements</h3><ul class="tsd-hierarchy"><li><span class="tsd-signature-type">GraphPlugin</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Constructors</h3><ul class="tsd-index-list"><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="SelectionHandler.html#constructor" class="tsd-kind-icon">constructor</a></li></ul></section><section class="tsd-index-section "><h3>Properties</h3><ul class="tsd-index-list"><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#allCells" class="tsd-kind-icon">all<wbr/>Cells</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#allowLivePreview" class="tsd-kind-icon">allow<wbr/>Live<wbr/>Preview</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#bounds" class="tsd-kind-icon">bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cell" class="tsd-kind-icon">cell</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cellCount" class="tsd-kind-icon">cell<wbr/>Count</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cellWasClicked" class="tsd-kind-icon">cell<wbr/>Was<wbr/>Clicked</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cells" class="tsd-kind-icon">cells</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cloneEnabled" class="tsd-kind-icon">clone<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cloning" class="tsd-kind-icon">cloning</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#connectOnDrop" class="tsd-kind-icon">connect<wbr/>On<wbr/>Drop</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#currentDx" class="tsd-kind-icon">current<wbr/>Dx</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#currentDy" class="tsd-kind-icon">current<wbr/>Dy</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#delayedSelection" class="tsd-kind-icon">delayed<wbr/>Selection</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#enabled" class="tsd-kind-icon">enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#escapeHandler" class="tsd-kind-icon">escape<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#first" class="tsd-kind-icon">first</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#graph" class="tsd-kind-icon">graph</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#guide" class="tsd-kind-icon">guide</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#guidesEnabled" class="tsd-kind-icon">guides<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#handlesVisible" class="tsd-kind-icon">handles<wbr/>Visible</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#highlight" class="tsd-kind-icon">highlight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#highlightEnabled" class="tsd-kind-icon">highlight<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#htmlPreview" class="tsd-kind-icon">html<wbr/>Preview</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#keyHandler" class="tsd-kind-icon">key<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#livePreviewActive" class="tsd-kind-icon">live<wbr/>Preview<wbr/>Active</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#livePreviewUsed" class="tsd-kind-icon">live<wbr/>Preview<wbr/>Used</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#maxCells" class="tsd-kind-icon">max<wbr/>Cells</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#maxLivePreview" class="tsd-kind-icon">max<wbr/>Live<wbr/>Preview</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#minimumSize" class="tsd-kind-icon">minimum<wbr/>Size</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#moveEnabled" class="tsd-kind-icon">move<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#pBounds" class="tsd-kind-icon">p<wbr/>Bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#panHandler" class="tsd-kind-icon">pan<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#previewColor" class="tsd-kind-icon">preview<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#refreshHandler" class="tsd-kind-icon">refresh<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#refreshThread" class="tsd-kind-icon">refresh<wbr/>Thread</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#removeCellsFromParent" class="tsd-kind-icon">remove<wbr/>Cells<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#removeEmptyParents" class="tsd-kind-icon">remove<wbr/>Empty<wbr/>Parents</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#rotationEnabled" class="tsd-kind-icon">rotation<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#scaleGrid" class="tsd-kind-icon">scale<wbr/>Grid</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#scrollOnMove" class="tsd-kind-icon">scroll<wbr/>On<wbr/>Move</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#selectEnabled" class="tsd-kind-icon">select<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#shape" class="tsd-kind-icon">shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#suspended" class="tsd-kind-icon">suspended</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#target" class="tsd-kind-icon">target</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#updateCursor" class="tsd-kind-icon">update<wbr/>Cursor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="SelectionHandler.html#pluginId" class="tsd-kind-icon">plugin<wbr/>Id</a></li></ul></section><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#addStates" class="tsd-kind-icon">add<wbr/>States</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#checkPreview" class="tsd-kind-icon">check<wbr/>Preview</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#consumeMouseEvent" class="tsd-kind-icon">consume<wbr/>Mouse<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#createGuide" class="tsd-kind-icon">create<wbr/>Guide</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#createPreviewShape" class="tsd-kind-icon">create<wbr/>Preview<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#destroyShapes" class="tsd-kind-icon">destroy<wbr/>Shapes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getBoundingBox" class="tsd-kind-icon">get<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getCells" class="tsd-kind-icon">get<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getDelta" class="tsd-kind-icon">get<wbr/>Delta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getGuideStates" class="tsd-kind-icon">get<wbr/>Guide<wbr/>States</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getInitialCellForEvent" class="tsd-kind-icon">get<wbr/>Initial<wbr/>Cell<wbr/>For<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getPreviewBounds" class="tsd-kind-icon">get<wbr/>Preview<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isCellMoving" class="tsd-kind-icon">is<wbr/>Cell<wbr/>Moving</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isCloneEnabled" class="tsd-kind-icon">is<wbr/>Clone<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isDelayedSelection" class="tsd-kind-icon">is<wbr/>Delayed<wbr/>Selection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isEnabled" class="tsd-kind-icon">is<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isMoveEnabled" class="tsd-kind-icon">is<wbr/>Move<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isPropagateSelectionCell" class="tsd-kind-icon">is<wbr/>Propagate<wbr/>Selection<wbr/>Cell</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isRemoveCellsFromParent" class="tsd-kind-icon">is<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isSelectEnabled" class="tsd-kind-icon">is<wbr/>Select<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isValidDropTarget" class="tsd-kind-icon">is<wbr/>Valid<wbr/>Drop<wbr/>Target</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#mouseDown" class="tsd-kind-icon">mouse<wbr/>Down</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#mouseMove" class="tsd-kind-icon">mouse<wbr/>Move</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#mouseUp" class="tsd-kind-icon">mouse<wbr/>Up</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#moveCells" class="tsd-kind-icon">move<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#onDestroy" class="tsd-kind-icon">on<wbr/>Destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#redrawHandles" class="tsd-kind-icon">redraw<wbr/>Handles</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#removeHint" class="tsd-kind-icon">remove<wbr/>Hint</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#reset" class="tsd-kind-icon">reset</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#resetLivePreview" class="tsd-kind-icon">reset<wbr/>Live<wbr/>Preview</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#resetPreviewStates" class="tsd-kind-icon">reset<wbr/>Preview<wbr/>States</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#resume" class="tsd-kind-icon">resume</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#roundLength" class="tsd-kind-icon">round<wbr/>Length</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#selectCellForEvent" class="tsd-kind-icon">select<wbr/>Cell<wbr/>For<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#selectDelayed" class="tsd-kind-icon">select<wbr/>Delayed</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setCloneEnabled" class="tsd-kind-icon">set<wbr/>Clone<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setEnabled" class="tsd-kind-icon">set<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setHandlesVisibleForCells" class="tsd-kind-icon">set<wbr/>Handles<wbr/>Visible<wbr/>For<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setHighlightColor" class="tsd-kind-icon">set<wbr/>Highlight<wbr/>Color</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setMoveEnabled" class="tsd-kind-icon">set<wbr/>Move<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setRemoveCellsFromParent" class="tsd-kind-icon">set<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setSelectEnabled" class="tsd-kind-icon">set<wbr/>Select<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#shouldRemoveCellsFromParent" class="tsd-kind-icon">should<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#shouldRemoveParent" class="tsd-kind-icon">should<wbr/>Remove<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#snap" class="tsd-kind-icon">snap</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#start" class="tsd-kind-icon">start</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#suspend" class="tsd-kind-icon">suspend</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#updateHint" class="tsd-kind-icon">update<wbr/>Hint</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#updateLivePreview" class="tsd-kind-icon">update<wbr/>Live<wbr/>Preview</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#updatePreview" class="tsd-kind-icon">update<wbr/>Preview</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#updatePreviewShape" class="tsd-kind-icon">update<wbr/>Preview<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#useGuidesForEvent" class="tsd-kind-icon">use<wbr/>Guides<wbr/>For<wbr/>Event</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Constructors</h2><section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class"><a id="constructor" class="tsd-anchor"></a><h3>constructor</h3><ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">new <wbr/>Selection<wbr/>Handler<span class="tsd-signature-symbol">(</span>graph<span class="tsd-signature-symbol">: </span><a href="Graph.html" class="tsd-signature-type" data-tsd-kind="Class">Graph</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="SelectionHandler.html" class="tsd-signature-type" data-tsd-kind="Class">SelectionHandler</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L67">view/handler/SelectionHandler.ts:67</a></li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>graph: <a href="Graph.html" class="tsd-signature-type" data-tsd-kind="Class">Graph</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="SelectionHandler.html" class="tsd-signature-type" data-tsd-kind="Class">SelectionHandler</a></h4></li></ul></section></section><section class="tsd-panel-group tsd-member-group "><h2>Properties</h2><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="allCells" class="tsd-anchor"></a><h3>all<wbr/>Cells</h3><div class="tsd-signature tsd-kind-icon">all<wbr/>Cells<span class="tsd-signature-symbol">:</span> <a href="Dictionary.html" class="tsd-signature-type" data-tsd-kind="Class">Dictionary</a><span class="tsd-signature-symbol"><</span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">, </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L320">view/handler/SelectionHandler.ts:320</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="allowLivePreview" class="tsd-anchor"></a><h3>allow<wbr/>Live<wbr/>Preview</h3><div class="tsd-signature tsd-kind-icon">allow<wbr/>Live<wbr/>Preview<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = Client.IS_SVG</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L310">view/handler/SelectionHandler.ts:310</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Variable allowLivePreview</p>
|
|
</div><div><p>If live preview is allowed on this system. Default is true for systems with SVG support.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="bounds" class="tsd-anchor"></a><h3>bounds</h3><div class="tsd-signature tsd-kind-icon">bounds<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L318">view/handler/SelectionHandler.ts:318</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cell" class="tsd-anchor"></a><h3>cell</h3><div class="tsd-signature tsd-kind-icon">cell<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L312">view/handler/SelectionHandler.ts:312</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cellCount" class="tsd-anchor"></a><h3>cell<wbr/>Count</h3><div class="tsd-signature tsd-kind-icon">cell<wbr/>Count<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L324">view/handler/SelectionHandler.ts:324</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cellWasClicked" class="tsd-anchor"></a><h3>cell<wbr/>Was<wbr/>Clicked</h3><div class="tsd-signature tsd-kind-icon">cell<wbr/>Was<wbr/>Clicked<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L322">view/handler/SelectionHandler.ts:322</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cells" class="tsd-anchor"></a><h3>cells</h3><div class="tsd-signature tsd-kind-icon">cells<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L317">view/handler/SelectionHandler.ts:317</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cloneEnabled" class="tsd-anchor"></a><h3>clone<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">clone<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L200">view/handler/SelectionHandler.ts:200</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if cloning by control-drag is enabled. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="cloning" class="tsd-anchor"></a><h3>cloning</h3><div class="tsd-signature tsd-kind-icon">cloning<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L323">view/handler/SelectionHandler.ts:323</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="connectOnDrop" class="tsd-anchor"></a><h3>connect<wbr/>On<wbr/>Drop</h3><div class="tsd-signature tsd-kind-icon">connect<wbr/>On<wbr/>Drop<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L259">view/handler/SelectionHandler.ts:259</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if drop events are interpreted as new connections if no other
|
|
drop action is defined. Default is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="currentDx" class="tsd-anchor"></a><h3>current<wbr/>Dx</h3><div class="tsd-signature tsd-kind-icon">current<wbr/>Dx<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L226">view/handler/SelectionHandler.ts:226</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Stores the x-coordinate of the current mouse move.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="currentDy" class="tsd-anchor"></a><h3>current<wbr/>Dy</h3><div class="tsd-signature tsd-kind-icon">current<wbr/>Dy<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L231">view/handler/SelectionHandler.ts:231</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Stores the y-coordinate of the current mouse move.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="delayedSelection" class="tsd-anchor"></a><h3>delayed<wbr/>Selection</h3><div class="tsd-signature tsd-kind-icon">delayed<wbr/>Selection<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L314">view/handler/SelectionHandler.ts:314</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="enabled" class="tsd-anchor"></a><h3>enabled</h3><div class="tsd-signature tsd-kind-icon">enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L189">view/handler/SelectionHandler.ts:189</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if events are handled. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="escapeHandler" class="tsd-anchor"></a><h3>escape<wbr/>Handler</h3><div class="tsd-signature tsd-kind-icon">escape<wbr/>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, evt<span class="tsd-signature-symbol">: </span><a href="EventObject.html" class="tsd-signature-type" data-tsd-kind="Class">EventObject</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L171">view/handler/SelectionHandler.ts:171</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, evt<span class="tsd-signature-symbol">: </span><a href="EventObject.html" class="tsd-signature-type" data-tsd-kind="Class">EventObject</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a></h5></li><li><h5>evt: <a href="EventObject.html" class="tsd-signature-type" data-tsd-kind="Class">EventObject</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="first" class="tsd-anchor"></a><h3>first</h3><div class="tsd-signature tsd-kind-icon">first<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L316">view/handler/SelectionHandler.ts:316</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="graph" class="tsd-anchor"></a><h3>graph</h3><div class="tsd-signature tsd-kind-icon">graph<span class="tsd-signature-symbol">:</span> <a href="Graph.html" class="tsd-signature-type" data-tsd-kind="Class">Graph</a></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L168">view/handler/SelectionHandler.ts:168</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Reference to the enclosing <a href="Graph.html">Graph</a>.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="guide" class="tsd-anchor"></a><h3>guide</h3><div class="tsd-signature tsd-kind-icon">guide<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Guide.html" class="tsd-signature-type" data-tsd-kind="Class">Guide</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L221">view/handler/SelectionHandler.ts:221</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Holds the <a href="Guide.html">Guide</a> instance that is used for alignment.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="guidesEnabled" class="tsd-anchor"></a><h3>guides<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">guides<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L211">view/handler/SelectionHandler.ts:211</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if other cells should be used for snapping the right, center or
|
|
left side of the current selection. Default is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="handlesVisible" class="tsd-anchor"></a><h3>handles<wbr/>Visible</h3><div class="tsd-signature tsd-kind-icon">handles<wbr/>Visible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L216">view/handler/SelectionHandler.ts:216</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Whether the handles of the selection are currently visible.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="highlight" class="tsd-anchor"></a><h3>highlight</h3><div class="tsd-signature tsd-kind-icon">highlight<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellHighlight.html" class="tsd-signature-type" data-tsd-kind="Class">CellHighlight</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L332">view/handler/SelectionHandler.ts:332</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="highlightEnabled" class="tsd-anchor"></a><h3>highlight<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">highlight<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L195">view/handler/SelectionHandler.ts:195</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if drop targets under the mouse should be enabled. Default is
|
|
true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="htmlPreview" class="tsd-anchor"></a><h3>html<wbr/>Preview</h3><div class="tsd-signature tsd-kind-icon">html<wbr/>Preview<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L283">view/handler/SelectionHandler.ts:283</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the graph container should be used for preview. If this is used
|
|
then drop target detection relies entirely on {@link Graph#getCellAt} because
|
|
the HTML preview does not "let events through". Default is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="keyHandler" class="tsd-anchor"></a><h3>key<wbr/>Handler</h3><div class="tsd-signature tsd-kind-icon">key<wbr/>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">KeyboardEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L173">view/handler/SelectionHandler.ts:173</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>e<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">KeyboardEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>e: <span class="tsd-signature-type">KeyboardEvent</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="livePreviewActive" class="tsd-anchor"></a><h3>live<wbr/>Preview<wbr/>Active</h3><div class="tsd-signature tsd-kind-icon">live<wbr/>Preview<wbr/>Active<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L329">view/handler/SelectionHandler.ts:329</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="livePreviewUsed" class="tsd-anchor"></a><h3>live<wbr/>Preview<wbr/>Used</h3><div class="tsd-signature tsd-kind-icon">live<wbr/>Preview<wbr/>Used<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L330">view/handler/SelectionHandler.ts:330</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="maxCells" class="tsd-anchor"></a><h3>max<wbr/>Cells</h3><div class="tsd-signature tsd-kind-icon">max<wbr/>Cells<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 50</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L184">view/handler/SelectionHandler.ts:184</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Defines the maximum number of cells to paint subhandles
|
|
for. Default is 50 for Firefox and 20 for IE. Set this
|
|
to 0 if you want an unlimited number of handles to be
|
|
displayed. This is only recommended if the number of
|
|
cells in the graph is limited to a small number, eg.
|
|
500.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="maxLivePreview" class="tsd-anchor"></a><h3>max<wbr/>Live<wbr/>Preview</h3><div class="tsd-signature tsd-kind-icon">max<wbr/>Live<wbr/>Preview<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 0</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L303">view/handler/SelectionHandler.ts:303</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Maximum number of cells for which live preview should be used. Default is 0 which means no live preview.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="minimumSize" class="tsd-anchor"></a><h3>minimum<wbr/>Size</h3><div class="tsd-signature tsd-kind-icon">minimum<wbr/>Size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = 6</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L271">view/handler/SelectionHandler.ts:271</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies the minimum number of pixels for the width and height of a
|
|
selection border. Default is 6.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="moveEnabled" class="tsd-anchor"></a><h3>move<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">move<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L205">view/handler/SelectionHandler.ts:205</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if moving is enabled. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="pBounds" class="tsd-anchor"></a><h3>p<wbr/>Bounds</h3><div class="tsd-signature tsd-kind-icon">p<wbr/>Bounds<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L319">view/handler/SelectionHandler.ts:319</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="panHandler" class="tsd-anchor"></a><h3>pan<wbr/>Handler</h3><div class="tsd-signature tsd-kind-icon">pan<wbr/>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L170">view/handler/SelectionHandler.ts:170</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="previewColor" class="tsd-anchor"></a><h3>preview<wbr/>Color</h3><div class="tsd-signature tsd-kind-icon">preview<wbr/>Color<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'black'</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L276">view/handler/SelectionHandler.ts:276</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies the color of the preview shape. Default is black.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="refreshHandler" class="tsd-anchor"></a><h3>refresh<wbr/>Handler</h3><div class="tsd-signature tsd-kind-icon">refresh<wbr/>Handler<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, evt<span class="tsd-signature-symbol">: </span><a href="EventObject.html" class="tsd-signature-type" data-tsd-kind="Class">EventObject</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> => </span><span class="tsd-signature-type">void</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L172">view/handler/SelectionHandler.ts:172</a></li></ul></aside><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures tsd-kind-type-literal tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, evt<span class="tsd-signature-symbol">: </span><a href="EventObject.html" class="tsd-signature-type" data-tsd-kind="Class">EventObject</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a></h5></li><li><h5>evt: <a href="EventObject.html" class="tsd-signature-type" data-tsd-kind="Class">EventObject</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="refreshThread" class="tsd-anchor"></a><h3>refresh<wbr/>Thread</h3><div class="tsd-signature tsd-kind-icon">refresh<wbr/>Thread<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L174">view/handler/SelectionHandler.ts:174</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="removeCellsFromParent" class="tsd-anchor"></a><h3>remove<wbr/>Cells<wbr/>From<wbr/>Parent</h3><div class="tsd-signature tsd-kind-icon">remove<wbr/>Cells<wbr/>From<wbr/>Parent<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L247">view/handler/SelectionHandler.ts:247</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if cells may be moved out of their parents. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="removeEmptyParents" class="tsd-anchor"></a><h3>remove<wbr/>Empty<wbr/>Parents</h3><div class="tsd-signature tsd-kind-icon">remove<wbr/>Empty<wbr/>Parents<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L253">view/handler/SelectionHandler.ts:253</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>If empty parents should be removed from the model after all child cells
|
|
have been moved out. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="rotationEnabled" class="tsd-anchor"></a><h3>rotation<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">rotation<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L298">view/handler/SelectionHandler.ts:298</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the bounding box should allow for rotation. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="scaleGrid" class="tsd-anchor"></a><h3>scale<wbr/>Grid</h3><div class="tsd-signature tsd-kind-icon">scale<wbr/>Grid<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L293">view/handler/SelectionHandler.ts:293</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the grid should be scaled. Default is false.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="scrollOnMove" class="tsd-anchor"></a><h3>scroll<wbr/>On<wbr/>Move</h3><div class="tsd-signature tsd-kind-icon">scroll<wbr/>On<wbr/>Move<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L265">view/handler/SelectionHandler.ts:265</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if the view should be scrolled so that a moved cell is
|
|
visible. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="selectEnabled" class="tsd-anchor"></a><h3>select<wbr/>Enabled</h3><div class="tsd-signature tsd-kind-icon">select<wbr/>Enabled<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L242">view/handler/SelectionHandler.ts:242</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if selecting is enabled. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="shape" class="tsd-anchor"></a><h3>shape</h3><div class="tsd-signature tsd-kind-icon">shape<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Shape.html" class="tsd-signature-type" data-tsd-kind="Class">Shape</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L288">view/handler/SelectionHandler.ts:288</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Reference to the <a href="Shape.html">Shape</a> that represents the preview.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="suspended" class="tsd-anchor"></a><h3>suspended</h3><div class="tsd-signature tsd-kind-icon">suspended<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L328">view/handler/SelectionHandler.ts:328</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="target" class="tsd-anchor"></a><h3>target</h3><div class="tsd-signature tsd-kind-icon">target<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol"> = null</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L326">view/handler/SelectionHandler.ts:326</a></li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"><a id="updateCursor" class="tsd-anchor"></a><h3>update<wbr/>Cursor</h3><div class="tsd-signature tsd-kind-icon">update<wbr/>Cursor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = true</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L237">view/handler/SelectionHandler.ts:237</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Specifies if a move cursor should be shown if the mouse is over a movable
|
|
cell. Default is true.</p>
|
|
</div></div></section><section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-static"><a id="pluginId" class="tsd-anchor"></a><h3><span class="tsd-flag ts-flagStatic">Static</span> plugin<wbr/>Id</h3><div class="tsd-signature tsd-kind-icon">plugin<wbr/>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> = 'SelectionHandler'</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L65">view/handler/SelectionHandler.ts:65</a></li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="addStates" class="tsd-anchor"></a><h3>add<wbr/>States</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">add<wbr/>States<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, dict<span class="tsd-signature-symbol">: </span><a href="Dictionary.html" class="tsd-signature-type" data-tsd-kind="Class">Dictionary</a><span class="tsd-signature-symbol"><</span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">, </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L785">view/handler/SelectionHandler.ts:785</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Adds the states for the given cell recursively to the given dictionary.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>dict: <a href="Dictionary.html" class="tsd-signature-type" data-tsd-kind="Class">Dictionary</a><span class="tsd-signature-symbol"><</span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">, </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">></span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="checkPreview" class="tsd-anchor"></a><h3>check<wbr/>Preview</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">check<wbr/>Preview<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L872">view/handler/SelectionHandler.ts:872</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Updates the preview if cloning state has changed.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="consumeMouseEvent" class="tsd-anchor"></a><h3>consume<wbr/>Mouse<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">consume<wbr/>Mouse<wbr/>Event<span class="tsd-signature-symbol">(</span>evtName<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L543">view/handler/SelectionHandler.ts:543</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Consumes the given mouse event. NOTE: This may be used to enable click
|
|
events for links in labels on iOS as follows as consuming the initial
|
|
touchStart disables firing the subsequent click evnent on the link.</p>
|
|
</div><div><code>
|
|
consumeMouseEvent(evtName, me)
|
|
{
|
|
var source = mxEvent.getSource(me.getEvent());
|
|
|
|
<p> if (!mxEvent.isTouchEvent(me.getEvent()) || source.nodeName != 'A')
|
|
{
|
|
me.consume();
|
|
}
|
|
}
|
|
</code></p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>evtName: <span class="tsd-signature-type">string</span></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createGuide" class="tsd-anchor"></a><h3>create<wbr/>Guide</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Guide<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Guide.html" class="tsd-signature-type" data-tsd-kind="Class">Guide</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L727">view/handler/SelectionHandler.ts:727</a></li></ul></aside><h4 class="tsd-returns-title">Returns <a href="Guide.html" class="tsd-signature-type" data-tsd-kind="Class">Guide</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="createPreviewShape" class="tsd-anchor"></a><h3>create<wbr/>Preview<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">create<wbr/>Preview<wbr/>Shape<span class="tsd-signature-symbol">(</span>bounds<span class="tsd-signature-symbol">: </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L702">view/handler/SelectionHandler.ts:702</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Creates the shape used to draw the preview for the given bounds.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>bounds: <a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="RectangleShape.html" class="tsd-signature-type" data-tsd-kind="Class">RectangleShape</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="destroyShapes" class="tsd-anchor"></a><h3>destroy<wbr/>Shapes</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">destroy<wbr/>Shapes<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1631">view/handler/SelectionHandler.ts:1631</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Destroy the preview and highlight shapes.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getBoundingBox" class="tsd-anchor"></a><h3>get<wbr/>Bounding<wbr/>Box</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Bounding<wbr/>Box<span class="tsd-signature-symbol">(</span>cells<span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L670">view/handler/SelectionHandler.ts:670</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the union of the {@link CellStates} for the given array of {@link Cells}.
|
|
For vertices, this method uses the bounding box of the corresponding shape
|
|
if one exists. The bounding box of the corresponding text label and all
|
|
controls and overlays are ignored. See also: {@link GraphView#getBounds} and
|
|
{@link Graph#getBoundingBox}.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cells: <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Array of {@link Cells} whose bounding box should be returned.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getCells" class="tsd-anchor"></a><h3>get<wbr/>Cells</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Cells<span class="tsd-signature-symbol">(</span>initialCell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L621">view/handler/SelectionHandler.ts:621</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the cells to be modified by this handler. This implementation
|
|
returns all selection cells that are movable, or the given initial cell if
|
|
the given cell is not selected and movable. This handles the case of moving
|
|
unselectable or unselected cells.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>initialCell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p><Cell> that triggered this handler.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getDelta" class="tsd-anchor"></a><h3>get<wbr/>Delta</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Delta<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L834">view/handler/SelectionHandler.ts:834</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns an <a href="Point.html">Point</a> that represents the vector for moving the cells
|
|
for the given {@link MouseEvent}.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getGuideStates" class="tsd-anchor"></a><h3>get<wbr/>Guide<wbr/>States</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Guide<wbr/>States<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">[]</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L599">view/handler/SelectionHandler.ts:599</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Creates an array of cell states which should be used as guides.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">[]</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getInitialCellForEvent" class="tsd-anchor"></a><h3>get<wbr/>Initial<wbr/>Cell<wbr/>For<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Initial<wbr/>Cell<wbr/>For<wbr/>Event<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L434">view/handler/SelectionHandler.ts:434</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Hook to return initial cell for the given event.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getPreviewBounds" class="tsd-anchor"></a><h3>get<wbr/>Preview<wbr/>Bounds</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">get<wbr/>Preview<wbr/>Bounds<span class="tsd-signature-symbol">(</span>cells<span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L632">view/handler/SelectionHandler.ts:632</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns the <a href="Rectangle.html">Rectangle</a> used as the preview bounds for
|
|
moving the given cells.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cells: <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Rectangle.html" class="tsd-signature-type" data-tsd-kind="Class">Rectangle</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isCellMoving" class="tsd-anchor"></a><h3>is<wbr/>Cell<wbr/>Moving</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Cell<wbr/>Moving<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L805">view/handler/SelectionHandler.ts:805</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given cell is currently being moved.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isCloneEnabled" class="tsd-anchor"></a><h3>is<wbr/>Clone<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Clone<wbr/>Enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L351">view/handler/SelectionHandler.ts:351</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns <cloneEnabled>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isDelayedSelection" class="tsd-anchor"></a><h3>is<wbr/>Delayed<wbr/>Selection</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Delayed<wbr/>Selection<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L463">view/handler/SelectionHandler.ts:463</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Hook to return true for delayed selections.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isEnabled" class="tsd-anchor"></a><h3>is<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L337">view/handler/SelectionHandler.ts:337</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns <enabled>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isMoveEnabled" class="tsd-anchor"></a><h3>is<wbr/>Move<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Move<wbr/>Enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L367">view/handler/SelectionHandler.ts:367</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns {@link oveEnabled}.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isPropagateSelectionCell" class="tsd-anchor"></a><h3>is<wbr/>Propagate<wbr/>Selection<wbr/>Cell</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Propagate<wbr/>Selection<wbr/>Cell<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, immediate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L410">view/handler/SelectionHandler.ts:410</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given cell and parent should propagate
|
|
selection state to the parent.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>immediate: <span class="tsd-signature-type">boolean</span></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isRemoveCellsFromParent" class="tsd-anchor"></a><h3>is<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L395">view/handler/SelectionHandler.ts:395</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns <removeCellsFromParent>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isSelectEnabled" class="tsd-anchor"></a><h3>is<wbr/>Select<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Select<wbr/>Enabled<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L381">view/handler/SelectionHandler.ts:381</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns <selectEnabled>.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="isValidDropTarget" class="tsd-anchor"></a><h3>is<wbr/>Valid<wbr/>Drop<wbr/>Target</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">is<wbr/>Valid<wbr/>Drop<wbr/>Target<span class="tsd-signature-symbol">(</span>target<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L865">view/handler/SelectionHandler.ts:865</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given cell is a valid drop target.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>target: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="mouseDown" class="tsd-anchor"></a><h3>mouse<wbr/>Down</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">mouse<wbr/>Down<span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L552">view/handler/SelectionHandler.ts:552</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Handles the event by selecing the given cell and creating a handle for
|
|
it. By consuming the event all subsequent events of the gesture are
|
|
redirected to this handler.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="mouseMove" class="tsd-anchor"></a><h3>mouse<wbr/>Move</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">mouse<wbr/>Move<span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L894">view/handler/SelectionHandler.ts:894</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Handles the event by highlighting possible drop targets and updating the
|
|
preview.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="mouseUp" class="tsd-anchor"></a><h3>mouse<wbr/>Up</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">mouse<wbr/>Up<span class="tsd-signature-symbol">(</span>sender<span class="tsd-signature-symbol">: </span><a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1397">view/handler/SelectionHandler.ts:1397</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Handles the event by applying the changes to the selection cells.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>sender: <a href="EventSource.html" class="tsd-signature-type" data-tsd-kind="Class">EventSource</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="moveCells" class="tsd-anchor"></a><h3>move<wbr/>Cells</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">move<wbr/>Cells<span class="tsd-signature-symbol">(</span>cells<span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a>, dx<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, dy<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, clone<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, target<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1535">view/handler/SelectionHandler.ts:1535</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Moves the given cells by the specified amount.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cells: <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h5></li><li><h5>dx: <span class="tsd-signature-type">number</span></h5></li><li><h5>dy: <span class="tsd-signature-type">number</span></h5></li><li><h5>clone: <span class="tsd-signature-type">boolean</span></h5></li><li><h5>target: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="onDestroy" class="tsd-anchor"></a><h3>on<wbr/>Destroy</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">on<wbr/>Destroy<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><p>Implementation of GraphPlugin.onDestroy</p><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1653">view/handler/SelectionHandler.ts:1653</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Destroys the handler and all its resources and DOM nodes.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="redrawHandles" class="tsd-anchor"></a><h3>redraw<wbr/>Handles</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">redraw<wbr/>Handles<span class="tsd-signature-symbol">(</span>states<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1246">view/handler/SelectionHandler.ts:1246</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Redraws the preview shape for the given states array.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>states: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="removeHint" class="tsd-anchor"></a><h3>remove<wbr/>Hint</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">remove<wbr/>Hint<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L853">view/handler/SelectionHandler.ts:853</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Hooks for subclassers to hide details when the handler gets inactive.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="reset" class="tsd-anchor"></a><h3>reset</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1471">view/handler/SelectionHandler.ts:1471</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Resets the state of this handler.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="resetLivePreview" class="tsd-anchor"></a><h3>reset<wbr/>Live<wbr/>Preview</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">reset<wbr/>Live<wbr/>Preview<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1314">view/handler/SelectionHandler.ts:1314</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Resets the livew preview.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="resetPreviewStates" class="tsd-anchor"></a><h3>reset<wbr/>Preview<wbr/>States</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">reset<wbr/>Preview<wbr/>States<span class="tsd-signature-symbol">(</span>states<span class="tsd-signature-symbol">: </span><a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1263">view/handler/SelectionHandler.ts:1263</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Resets the given preview states array.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>states: <a href="CellState.html" class="tsd-signature-type" data-tsd-kind="Class">CellState</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">[]</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="resume" class="tsd-anchor"></a><h3>resume</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">resume<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1293">view/handler/SelectionHandler.ts:1293</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Suspends the livew preview.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="roundLength" class="tsd-anchor"></a><h3>round<wbr/>Length</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">round<wbr/>Length<span class="tsd-signature-symbol">(</span>length<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L858">view/handler/SelectionHandler.ts:858</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Hook for rounding the unscaled vector. This uses Math.round.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>length: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="selectCellForEvent" class="tsd-anchor"></a><h3>select<wbr/>Cell<wbr/>For<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">select<wbr/>Cell<wbr/>For<wbr/>Event<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L500">view/handler/SelectionHandler.ts:500</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Selects the given cell for the given {@link MouseEvent}.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="selectDelayed" class="tsd-anchor"></a><h3>select<wbr/>Delayed</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">select<wbr/>Delayed<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L485">view/handler/SelectionHandler.ts:485</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Implements the delayed selection for the given mouse event.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setCloneEnabled" class="tsd-anchor"></a><h3>set<wbr/>Clone<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Clone<wbr/>Enabled<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L360">view/handler/SelectionHandler.ts:360</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets <cloneEnabled>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies the new clone enabled state.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setEnabled" class="tsd-anchor"></a><h3>set<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Enabled<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L344">view/handler/SelectionHandler.ts:344</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets <enabled>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setHandlesVisibleForCells" class="tsd-anchor"></a><h3>set<wbr/>Handles<wbr/>Visible<wbr/>For<wbr/>Cells</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Handles<wbr/>Visible<wbr/>For<wbr/>Cells<span class="tsd-signature-symbol">(</span>cells<span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a>, visible<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span>, force<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1361">view/handler/SelectionHandler.ts:1361</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets wether the handles attached to the given cells are visible.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cells: <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Array of {@link Cells}.</p>
|
|
</div></div></li><li><h5>visible: <span class="tsd-signature-type">boolean</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Boolean that specifies if the handles should be visible.</p>
|
|
</div></div></li><li><h5>force: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Forces an update of the handler regardless of the last used value.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setHighlightColor" class="tsd-anchor"></a><h3>set<wbr/>Highlight<wbr/>Color</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Highlight<wbr/>Color<span class="tsd-signature-symbol">(</span>color<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1388">view/handler/SelectionHandler.ts:1388</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets the color of the rectangle used to highlight drop targets.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>color: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>String that represents the new highlight color.</p>
|
|
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setMoveEnabled" class="tsd-anchor"></a><h3>set<wbr/>Move<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Move<wbr/>Enabled<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L374">view/handler/SelectionHandler.ts:374</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets {@link oveEnabled}.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setRemoveCellsFromParent" class="tsd-anchor"></a><h3>set<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L402">view/handler/SelectionHandler.ts:402</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets <removeCellsFromParent>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="setSelectEnabled" class="tsd-anchor"></a><h3>set<wbr/>Select<wbr/>Enabled</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">set<wbr/>Select<wbr/>Enabled<span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L388">view/handler/SelectionHandler.ts:388</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Sets <selectEnabled>.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>value: <span class="tsd-signature-type">boolean</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="shouldRemoveCellsFromParent" class="tsd-anchor"></a><h3>should<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">should<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent<span class="tsd-signature-symbol">(</span>parent<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, cells<span class="tsd-signature-symbol">: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a>, evt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">MouseEvent</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1509">view/handler/SelectionHandler.ts:1509</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given cells should be removed from the parent for the specified
|
|
mousereleased event.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>parent: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>cells: <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h5></li><li><h5>evt: <span class="tsd-signature-type">MouseEvent</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="shouldRemoveParent" class="tsd-anchor"></a><h3>should<wbr/>Remove<wbr/>Parent</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">should<wbr/>Remove<wbr/>Parent<span class="tsd-signature-symbol">(</span>parent<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1616">view/handler/SelectionHandler.ts:1616</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the given parent should be removed after removal of child cells.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>parent: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="snap" class="tsd-anchor"></a><h3>snap</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">snap<span class="tsd-signature-symbol">(</span>vector<span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L823">view/handler/SelectionHandler.ts:823</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Snaps the given vector to the grid and returns the given mxPoint instance.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>vector: <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="Point.html" class="tsd-signature-type" data-tsd-kind="Class">Point</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="start" class="tsd-anchor"></a><h3>start</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">start<span class="tsd-signature-symbol">(</span>cell<span class="tsd-signature-symbol">: </span><a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a>, x<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, y<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, cells<span class="tsd-signature-symbol">?: </span><a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L734">view/handler/SelectionHandler.ts:734</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Starts the handling of the mouse gesture.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>cell: <a href="Cell.html" class="tsd-signature-type" data-tsd-kind="Class">Cell</a></h5></li><li><h5>x: <span class="tsd-signature-type">number</span></h5></li><li><h5>y: <span class="tsd-signature-type">number</span></h5></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> cells: <a href="CellArray.html" class="tsd-signature-type" data-tsd-kind="Class">CellArray</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="suspend" class="tsd-anchor"></a><h3>suspend</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">suspend<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1272">view/handler/SelectionHandler.ts:1272</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Suspends the livew preview.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updateHint" class="tsd-anchor"></a><h3>update<wbr/>Hint</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Hint<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">?: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L848">view/handler/SelectionHandler.ts:848</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Hook for subclassers do show details while the handler is active.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updateLivePreview" class="tsd-anchor"></a><h3>update<wbr/>Live<wbr/>Preview</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Live<wbr/>Preview<span class="tsd-signature-symbol">(</span>dx<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span>, dy<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1079">view/handler/SelectionHandler.ts:1079</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Updates the bounds of the preview shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>dx: <span class="tsd-signature-type">number</span></h5></li><li><h5>dy: <span class="tsd-signature-type">number</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updatePreview" class="tsd-anchor"></a><h3>update<wbr/>Preview</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Preview<span class="tsd-signature-symbol">(</span>remote<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1043">view/handler/SelectionHandler.ts:1043</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Updates the bounds of the preview shape.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>remote: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="updatePreviewShape" class="tsd-anchor"></a><h3>update<wbr/>Preview<wbr/>Shape</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">update<wbr/>Preview<wbr/>Shape<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L1064">view/handler/SelectionHandler.ts:1064</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Updates the bounds of the preview shape.</p>
|
|
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="useGuidesForEvent" class="tsd-anchor"></a><h3>use<wbr/>Guides<wbr/>For<wbr/>Event</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"><li class="tsd-signature tsd-kind-icon">use<wbr/>Guides<wbr/>For<wbr/>Event<span class="tsd-signature-symbol">(</span>me<span class="tsd-signature-symbol">: </span><a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/maxgraph/maxgraph/blob/598b60e2f/packages/core/src/view/handler/SelectionHandler.ts#L813">view/handler/SelectionHandler.ts:813</a></li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
<p>Returns true if the guides should be used for the given {@link MouseEvent}.
|
|
This implementation returns {@link Guide#isEnabledForEvent}.</p>
|
|
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>me: <a href="InternalMouseEvent.html" class="tsd-signature-type" data-tsd-kind="Class">InternalMouseEvent</a></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../index.html">Exports</a></li><li class=" tsd-kind-namespace"><a href="../modules/DomHelpers.html">Dom<wbr/>Helpers</a></li><li class=" tsd-kind-namespace"><a href="../modules/cloneUtils.html">clone<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/constants.html">constants</a></li><li class=" tsd-kind-namespace"><a href="../modules/domUtils.html">dom<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/eventUtils.html">event<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/gestureUtils.html">gesture<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/mathUtils.html">math<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/stringUtils.html">string<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/styleUtils.html">style<wbr/>Utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/utils.html">utils</a></li><li class=" tsd-kind-namespace"><a href="../modules/xmlUtils.html">xml<wbr/>Utils</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-class"><a href="SelectionHandler.html" class="tsd-kind-icon">Selection<wbr/>Handler</a><ul><li class="tsd-kind-constructor tsd-parent-kind-class"><a href="SelectionHandler.html#constructor" class="tsd-kind-icon">constructor</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#allCells" class="tsd-kind-icon">all<wbr/>Cells</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#allowLivePreview" class="tsd-kind-icon">allow<wbr/>Live<wbr/>Preview</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#bounds" class="tsd-kind-icon">bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cell" class="tsd-kind-icon">cell</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cellCount" class="tsd-kind-icon">cell<wbr/>Count</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cellWasClicked" class="tsd-kind-icon">cell<wbr/>Was<wbr/>Clicked</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cells" class="tsd-kind-icon">cells</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cloneEnabled" class="tsd-kind-icon">clone<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#cloning" class="tsd-kind-icon">cloning</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#connectOnDrop" class="tsd-kind-icon">connect<wbr/>On<wbr/>Drop</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#currentDx" class="tsd-kind-icon">current<wbr/>Dx</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#currentDy" class="tsd-kind-icon">current<wbr/>Dy</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#delayedSelection" class="tsd-kind-icon">delayed<wbr/>Selection</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#enabled" class="tsd-kind-icon">enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#escapeHandler" class="tsd-kind-icon">escape<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#first" class="tsd-kind-icon">first</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#graph" class="tsd-kind-icon">graph</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#guide" class="tsd-kind-icon">guide</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#guidesEnabled" class="tsd-kind-icon">guides<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#handlesVisible" class="tsd-kind-icon">handles<wbr/>Visible</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#highlight" class="tsd-kind-icon">highlight</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#highlightEnabled" class="tsd-kind-icon">highlight<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#htmlPreview" class="tsd-kind-icon">html<wbr/>Preview</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#keyHandler" class="tsd-kind-icon">key<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#livePreviewActive" class="tsd-kind-icon">live<wbr/>Preview<wbr/>Active</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#livePreviewUsed" class="tsd-kind-icon">live<wbr/>Preview<wbr/>Used</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#maxCells" class="tsd-kind-icon">max<wbr/>Cells</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#maxLivePreview" class="tsd-kind-icon">max<wbr/>Live<wbr/>Preview</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#minimumSize" class="tsd-kind-icon">minimum<wbr/>Size</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#moveEnabled" class="tsd-kind-icon">move<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#pBounds" class="tsd-kind-icon">p<wbr/>Bounds</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#panHandler" class="tsd-kind-icon">pan<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#previewColor" class="tsd-kind-icon">preview<wbr/>Color</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#refreshHandler" class="tsd-kind-icon">refresh<wbr/>Handler</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#refreshThread" class="tsd-kind-icon">refresh<wbr/>Thread</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#removeCellsFromParent" class="tsd-kind-icon">remove<wbr/>Cells<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#removeEmptyParents" class="tsd-kind-icon">remove<wbr/>Empty<wbr/>Parents</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#rotationEnabled" class="tsd-kind-icon">rotation<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#scaleGrid" class="tsd-kind-icon">scale<wbr/>Grid</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#scrollOnMove" class="tsd-kind-icon">scroll<wbr/>On<wbr/>Move</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#selectEnabled" class="tsd-kind-icon">select<wbr/>Enabled</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#shape" class="tsd-kind-icon">shape</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#suspended" class="tsd-kind-icon">suspended</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#target" class="tsd-kind-icon">target</a></li><li class="tsd-kind-property tsd-parent-kind-class"><a href="SelectionHandler.html#updateCursor" class="tsd-kind-icon">update<wbr/>Cursor</a></li><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><a href="SelectionHandler.html#pluginId" class="tsd-kind-icon">plugin<wbr/>Id</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#addStates" class="tsd-kind-icon">add<wbr/>States</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#checkPreview" class="tsd-kind-icon">check<wbr/>Preview</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#consumeMouseEvent" class="tsd-kind-icon">consume<wbr/>Mouse<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#createGuide" class="tsd-kind-icon">create<wbr/>Guide</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#createPreviewShape" class="tsd-kind-icon">create<wbr/>Preview<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#destroyShapes" class="tsd-kind-icon">destroy<wbr/>Shapes</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getBoundingBox" class="tsd-kind-icon">get<wbr/>Bounding<wbr/>Box</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getCells" class="tsd-kind-icon">get<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getDelta" class="tsd-kind-icon">get<wbr/>Delta</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getGuideStates" class="tsd-kind-icon">get<wbr/>Guide<wbr/>States</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getInitialCellForEvent" class="tsd-kind-icon">get<wbr/>Initial<wbr/>Cell<wbr/>For<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#getPreviewBounds" class="tsd-kind-icon">get<wbr/>Preview<wbr/>Bounds</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isCellMoving" class="tsd-kind-icon">is<wbr/>Cell<wbr/>Moving</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isCloneEnabled" class="tsd-kind-icon">is<wbr/>Clone<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isDelayedSelection" class="tsd-kind-icon">is<wbr/>Delayed<wbr/>Selection</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isEnabled" class="tsd-kind-icon">is<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isMoveEnabled" class="tsd-kind-icon">is<wbr/>Move<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isPropagateSelectionCell" class="tsd-kind-icon">is<wbr/>Propagate<wbr/>Selection<wbr/>Cell</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isRemoveCellsFromParent" class="tsd-kind-icon">is<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isSelectEnabled" class="tsd-kind-icon">is<wbr/>Select<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#isValidDropTarget" class="tsd-kind-icon">is<wbr/>Valid<wbr/>Drop<wbr/>Target</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#mouseDown" class="tsd-kind-icon">mouse<wbr/>Down</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#mouseMove" class="tsd-kind-icon">mouse<wbr/>Move</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#mouseUp" class="tsd-kind-icon">mouse<wbr/>Up</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#moveCells" class="tsd-kind-icon">move<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#onDestroy" class="tsd-kind-icon">on<wbr/>Destroy</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#redrawHandles" class="tsd-kind-icon">redraw<wbr/>Handles</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#removeHint" class="tsd-kind-icon">remove<wbr/>Hint</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#reset" class="tsd-kind-icon">reset</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#resetLivePreview" class="tsd-kind-icon">reset<wbr/>Live<wbr/>Preview</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#resetPreviewStates" class="tsd-kind-icon">reset<wbr/>Preview<wbr/>States</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#resume" class="tsd-kind-icon">resume</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#roundLength" class="tsd-kind-icon">round<wbr/>Length</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#selectCellForEvent" class="tsd-kind-icon">select<wbr/>Cell<wbr/>For<wbr/>Event</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#selectDelayed" class="tsd-kind-icon">select<wbr/>Delayed</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setCloneEnabled" class="tsd-kind-icon">set<wbr/>Clone<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setEnabled" class="tsd-kind-icon">set<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setHandlesVisibleForCells" class="tsd-kind-icon">set<wbr/>Handles<wbr/>Visible<wbr/>For<wbr/>Cells</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setHighlightColor" class="tsd-kind-icon">set<wbr/>Highlight<wbr/>Color</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setMoveEnabled" class="tsd-kind-icon">set<wbr/>Move<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setRemoveCellsFromParent" class="tsd-kind-icon">set<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#setSelectEnabled" class="tsd-kind-icon">set<wbr/>Select<wbr/>Enabled</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#shouldRemoveCellsFromParent" class="tsd-kind-icon">should<wbr/>Remove<wbr/>Cells<wbr/>From<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#shouldRemoveParent" class="tsd-kind-icon">should<wbr/>Remove<wbr/>Parent</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#snap" class="tsd-kind-icon">snap</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#start" class="tsd-kind-icon">start</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#suspend" class="tsd-kind-icon">suspend</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#updateHint" class="tsd-kind-icon">update<wbr/>Hint</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#updateLivePreview" class="tsd-kind-icon">update<wbr/>Live<wbr/>Preview</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#updatePreview" class="tsd-kind-icon">update<wbr/>Preview</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#updatePreviewShape" class="tsd-kind-icon">update<wbr/>Preview<wbr/>Shape</a></li><li class="tsd-kind-method tsd-parent-kind-class"><a href="SelectionHandler.html#useGuidesForEvent" class="tsd-kind-icon">use<wbr/>Guides<wbr/>For<wbr/>Event</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li><li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html> |