ethodSignature">public&nbsp;java.lang.Object&nbsp;setCurrentRoot&#8203;(java.lang.Object&nbsp;root)</pre>
<div class="block">Sets and returns the current root and fires an undo event.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>root</code> - mxCell that specifies the root of the displayed cell
            hierarchy.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Returns the object that represents the current root.</dd>
</dl>
</li>
</ul>
<a id="scaleAndTranslate(dou