Skip to content
Permalink
Browse files

4.0.1 release

  • Loading branch information...
alderg committed Jul 2, 2019
1 parent 5fe6f97 commit 7bb0ef2877d526fb68b45d754fe088af18758d7c
Showing 701 changed files with 52,530 additions and 51,907 deletions.
@@ -1,3 +1,14 @@
02-JUL-2019: 4.0.1

- Forces quotes around font names in CSS and SVG
- No longer prevents default for pen/touch events in mxMouseEvent
- Adds validation of color codes
- Fixes handling of Infinity in mxObjectCodec
- Add target for Chrome in mxEvent.addMouseWheelListener
- Removes scroll handler in mxOutline.destroy
- Adds mxStackLayout.allowGaps and gridSize
- Fixes possible NPE in mxGraph.sizeDidChange

11-MAR-2019: 4.0.0

- mxClient.IS_SVG is true for all non-VML browsers
@@ -87,7 +87,7 @@

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraphHandler.isDelayedSelection"></a>isDelayedSelection</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphHandler.prototype.isDelayedSelection = function(</td><td class="PParameter prettyprint " nowrap>cell,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Hook to return true for delayed selections.</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraphHandler.consumeMouseEvent"></a>consumeMouseEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphHandler.prototype.consumeMouseEvent = function(</td><td class="PParameter prettyprint " nowrap>evtName,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Consumes the given mouse event.&nbsp; 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><p>&lt;code&gt; mxGraphHandler.prototype.consumeMouseEvent = function(evtName, me) { var source = mxEvent.getSource(me.getEvent());</p><p>if (!mxEvent.isTouchEvent(me.getEvent()) || source.nodeName != &lsquo;A&rsquo;) { me.consume(); } } &lt;/code&gt;</p></div></div></div>
<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraphHandler.consumeMouseEvent"></a>consumeMouseEvent</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphHandler.prototype.consumeMouseEvent = function(</td><td class="PParameter prettyprint " nowrap>evtName,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Consumes the given mouse event.&nbsp; 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 event on the link.</p><p>&lt;code&gt; mxGraphHandler.prototype.consumeMouseEvent = function(evtName, me) { var source = mxEvent.getSource(me.getEvent());</p><p>if (!mxEvent.isTouchEvent(me.getEvent()) || source.nodeName != &lsquo;A&rsquo;) { me.consume(); } } &lt;/code&gt;</p></div></div></div>

<div class="CFunction"><div class=CTopic><h3 class=CTitle><a name="mxGraphHandler.mouseDown"></a>mouseDown</h3><div class=CBody><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxGraphHandler.prototype.mouseDown = function(</td><td class="PParameter prettyprint " nowrap>sender,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>me</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote><p>Handles the event by selecing the given cell and creating a handle for it.&nbsp; By consuming the event all subsequent events of the gesture are redirected to this handler.</p></div></div></div>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

@@ -11,9 +11,9 @@



<div id=Index><div class=IPageTitle>Function Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; <a href="Functions.html#A">A</a> &middot; <a href="Functions2.html#B">B</a> &middot; <a href="Functions3.html#C">C</a> &middot; <a href="Functions4.html#D">D</a> &middot; <a href="Functions5.html#E">E</a> &middot; <a href="Functions6.html#F">F</a> &middot; <a href="Functions7.html#G">G</a> &middot; <a href="Functions8.html#H">H</a> &middot; <a href="Functions9.html#I">I</a> &middot; <a href="Functions10.html#J">J</a> &middot; <a href="Functions10.html#K">K</a> &middot; <a href="Functions10.html#L">L</a> &middot; <a href="Functions11.html#M">M</a> &middot; <a href="Functions12.html#N">N</a> &middot; <a href="Functions12.html#O">O</a> &middot; <a href="Functions13.html#P">P</a> &middot; <a href="#Q">Q</a> &middot; <a href="Functions15.html#R">R</a> &middot; <a href="Functions16.html#S">S</a> &middot; <a href="Functions17.html#T">T</a> &middot; <a href="Functions18.html#U">U</a> &middot; <a href="Functions19.html#V">V</a> &middot; <a href="Functions19.html#W">W</a> &middot; X &middot; Y &middot; <a href="Functions19.html#Z">Z</a></div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="Q"></a>Q</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>quadTo</span><div class=ISubIndex><a href="../files/util/mxAbstractCanvas2D-js.html#mxAbstractCanvas2D.quadTo" id=link1616 onMouseOver="ShowTip(event, 'tt1616', 'link1616')" onMouseOut="HideTip('tt1616')" class=IParent>mxAbstractCanvas2D</a><a href="../files/util/mxVmlCanvas2D-js.html#mxVmlCanvas2D.quadTo" id=link1617 onMouseOver="ShowTip(event, 'tt1617', 'link1617')" onMouseOut="HideTip('tt1617')" class=IParent>mxVmlCanvas2D</a><a href="../files/util/mxXmlCanvas2D-js.html#mxXmlCanvas2D.quadTo" id=link1618 onMouseOver="ShowTip(event, 'tt1618', 'link1618')" onMouseOut="HideTip('tt1618')" class=IParent>mxXmlCanvas2D</a></div></td></tr></table>
<div id=Index><div class=IPageTitle>Function Index</div><div class=INavigationBar>$#! &middot; 0-9 &middot; <a href="Functions.html#A">A</a> &middot; <a href="Functions2.html#B">B</a> &middot; <a href="Functions3.html#C">C</a> &middot; <a href="Functions4.html#D">D</a> &middot; <a href="Functions5.html#E">E</a> &middot; <a href="Functions6.html#F">F</a> &middot; <a href="Functions7.html#G">G</a> &middot; <a href="Functions8.html#H">H</a> &middot; <a href="Functions9.html#I">I</a> &middot; <a href="Functions10.html#J">J</a> &middot; <a href="Functions10.html#K">K</a> &middot; <a href="Functions10.html#L">L</a> &middot; <a href="Functions11.html#M">M</a> &middot; <a href="Functions12.html#N">N</a> &middot; <a href="Functions12.html#O">O</a> &middot; <a href="Functions13.html#P">P</a> &middot; <a href="#Q">Q</a> &middot; <a href="Functions15.html#R">R</a> &middot; <a href="Functions16.html#S">S</a> &middot; <a href="Functions17.html#T">T</a> &middot; <a href="Functions18.html#U">U</a> &middot; <a href="Functions19.html#V">V</a> &middot; <a href="Functions19.html#W">W</a> &middot; X &middot; Y &middot; <a href="Functions19.html#Z">Z</a></div><table border=0 cellspacing=0 cellpadding=0><tr><td class=IHeading id=IFirstHeading><a name="Q"></a>Q</td><td></td></tr><tr><td class=ISymbolPrefix id=IOnlySymbolPrefix>&nbsp;</td><td class=IEntry><span class=ISymbol>quadTo</span><div class=ISubIndex><a href="../files/util/mxAbstractCanvas2D-js.html#mxAbstractCanvas2D.quadTo" id=link1617 onMouseOver="ShowTip(event, 'tt1617', 'link1617')" onMouseOut="HideTip('tt1617')" class=IParent>mxAbstractCanvas2D</a><a href="../files/util/mxVmlCanvas2D-js.html#mxVmlCanvas2D.quadTo" id=link1618 onMouseOver="ShowTip(event, 'tt1618', 'link1618')" onMouseOut="HideTip('tt1618')" class=IParent>mxVmlCanvas2D</a><a href="../files/util/mxXmlCanvas2D-js.html#mxXmlCanvas2D.quadTo" id=link1619 onMouseOver="ShowTip(event, 'tt1619', 'link1619')" onMouseOut="HideTip('tt1619')" class=IParent>mxXmlCanvas2D</a></div></td></tr></table>
<!--START_ND_TOOLTIPS-->
<div class=CToolTip id="tt1616"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxAbstractCanvas2D.prototype.quadTo = function(</td><td class="PParameter prettyprint " nowrap>x1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x2,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y2</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a quadratic curve to the current path.</div></div><div class=CToolTip id="tt1617"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxVmlCanvas2D.prototype.quadTo = function(</td><td class="PParameter prettyprint " nowrap>x1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x2,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y2</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Replaces quadratic curve with bezier curve in VML.</div></div><div class=CToolTip id="tt1618"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxXmlCanvas2D.prototype.quadTo = function(</td><td class="PParameter prettyprint " nowrap>x1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x2,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y2</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a quadratic curve to the current path.</div></div><!--END_ND_TOOLTIPS-->
<div class=CToolTip id="tt1617"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxAbstractCanvas2D.prototype.quadTo = function(</td><td class="PParameter prettyprint " nowrap>x1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x2,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y2</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a quadratic curve to the current path.</div></div><div class=CToolTip id="tt1618"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxVmlCanvas2D.prototype.quadTo = function(</td><td class="PParameter prettyprint " nowrap>x1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x2,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y2</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Replaces quadratic curve with bezier curve in VML.</div></div><div class=CToolTip id="tt1619"><div class=CFunction><blockquote><table border=0 cellspacing=0 cellpadding=0 class="Prototype"><tr><td><table border=0 cellspacing=0 cellpadding=0><tr><td class="PBeforeParameters prettyprint "nowrap>mxXmlCanvas2D.prototype.quadTo = function(</td><td class="PParameter prettyprint " nowrap>x1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y1,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>x2,</td></tr><tr><td></td><td class="PParameter prettyprint " nowrap>y2</td><td class="PAfterParameters prettyprint "nowrap>)</td></tr></table></td></tr></table></blockquote>Adds a quadratic curve to the current path.</div></div><!--END_ND_TOOLTIPS-->

</div><!--Index-->

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 7bb0ef2

Please sign in to comment.
You can’t perform that action at this time.