<li><ahref="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html"title="interface in com.mxgraph.util"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/util/mxUtils.html"title="class in com.mxgraph.util"><spanclass="strong">Next Class</span></a></li>
<li><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ulclass="inheritance">
<li><ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">com.mxgraph.util.mxEventSource</a></li>
<li>
<ulclass="inheritance">
<li>com.mxgraph.util.mxUndoManager</li>
</ul>
</li>
</ul>
</li>
</ul>
<divclass="description">
<ulclass="blockList">
<liclass="blockList">
<hr>
<br>
<pre>public class <spanclass="strong">mxUndoManager</span>
extends <ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></pre>
<h3>Nested classes/interfaces inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<code><ahref="../../../com/mxgraph/util/mxEventSource.mxIEventListener.html"title="interface in com.mxgraph.util">mxEventSource.mxIEventListener</a></code></li>
<thclass="colFirst"scope="col">Modifier and Type</th>
<thclass="colLast"scope="col">Field and Description</th>
</tr>
<trclass="altColor">
<tdclass="colFirst"><code>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a>></code></td>
<h3>Fields inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<tdclass="colLast"><code><strong><ahref="../../../com/mxgraph/util/mxUndoManager.html#undoableEditHappened(com.mxgraph.util.mxUndoableEdit)">undoableEditHappened</a></strong>(<ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a> undoableEdit)</code>
<divclass="block">Method to be called to add new undoable edits to the history.</div>
<h3>Methods inherited from class com.mxgraph.util.<ahref="../../../com/mxgraph/util/mxEventSource.html"title="class in com.mxgraph.util">mxEventSource</a></h3>
<h3>Methods inherited from class java.lang.<ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true"title="class or interface in java.lang">Object</a></h3>
<code><ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()"title="class or interface in java.lang">clone</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)"title="class or interface in java.lang">equals</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()"title="class or interface in java.lang">finalize</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()"title="class or interface in java.lang">getClass</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()"title="class or interface in java.lang">hashCode</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()"title="class or interface in java.lang">notify</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()"title="class or interface in java.lang">notifyAll</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()"title="class or interface in java.lang">toString</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)"title="class or interface in java.lang">wait</a>, <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)"title="class or interface in java.lang">wait</a></code></li>
<divclass="block">Maximum command history size. 0 means unlimited history. Default is 100.</div>
</li>
</ul>
<aname="history">
<!---->
</a>
<ulclass="blockList">
<liclass="blockList">
<h4>history</h4>
<pre>protected <ahref="http://download.oracle.com/javase/1.5.0/docs/api/java/util/List.html?is-external=true"title="class or interface in java.util">List</a><<ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a>> history</pre>
<divclass="block">List that contains the steps of the command history.</div>
</li>
</ul>
<aname="indexOfNextAdd">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>indexOfNextAdd</h4>
<pre>protected int indexOfNextAdd</pre>
<divclass="block">Index of the element to be added next.</div>
<pre>public void undoableEditHappened(<ahref="../../../com/mxgraph/util/mxUndoableEdit.html"title="class in com.mxgraph.util">mxUndoableEdit</a> undoableEdit)</pre>
<divclass="block">Method to be called to add new undoable edits to the history.</div>
</li>
</ul>
<aname="trim()">
<!---->
</a>
<ulclass="blockListLast">
<liclass="blockList">
<h4>trim</h4>
<pre>protected void trim()</pre>
<divclass="block">Removes all pending steps after indexOfNextAdd from the history,
invoking die on each edit. This is called from undoableEditHappened.</div>
<li><ahref="../../../com/mxgraph/util/mxUndoableEdit.mxUndoableChange.html"title="interface in com.mxgraph.util"><spanclass="strong">Prev Class</span></a></li>
<li><ahref="../../../com/mxgraph/util/mxUtils.html"title="class in com.mxgraph.util"><spanclass="strong">Next Class</span></a></li>