/[debian]/libjgraph-java/trunk/doc/api/org/jgraph/graph/GraphUndoManager.html
ViewVC logotype

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/graph/GraphUndoManager.html

Parent Directory Parent Directory | Revision Log Revision Log


Revision 816 - (show annotations)
Fri Aug 3 13:14:15 2007 UTC (13 years, 10 months ago) by gregoa
File MIME type: text/html
File size: 30218 byte(s)
* New upstream release.
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.4.2_11) on Mon Jul 30 10:14:32 BST 2007 -->
6 <TITLE>
7 GraphUndoManager (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.graph.GraphUndoManager class">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="GraphUndoManager (JGraph v5.10.1.4 API Specification)";
18 }
19 </SCRIPT>
20
21 </HEAD>
22
23 <BODY BGCOLOR="white" onload="windowTitle();">
24
25
26 <!-- ========= START OF TOP NAVBAR ======= -->
27 <A NAME="navbar_top"><!-- --></A>
28 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
30 <TR>
31 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32 <A NAME="navbar_top_firstrow"><!-- --></A>
33 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34 <TR ALIGN="center" VALIGN="top">
35 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
36 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
37 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GraphUndoManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;<A HREF="../../../org/jgraph/graph/GraphTransferHandler.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
55 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
57 &nbsp;<A HREF="GraphUndoManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.undo.CompoundEdit">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 org.jgraph.graph</FONT>
86 <BR>
87 Class GraphUndoManager</H2>
88 <PRE>
89 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A>
90 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/AbstractUndoableEdit.html" title="class or interface in javax.swing.undo">javax.swing.undo.AbstractUndoableEdit</A>
91 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html" title="class or interface in javax.swing.undo">javax.swing.undo.CompoundEdit</A>
92 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html" title="class or interface in javax.swing.undo">javax.swing.undo.UndoManager</A>
93 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.jgraph.graph.GraphUndoManager</B>
94 </PRE>
95 <DL>
96 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventListener.html" title="class or interface in java.util">EventListener</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/event/UndoableEditListener.html" title="class or interface in javax.swing.event">UndoableEditListener</A></DD>
97 </DL>
98 <HR>
99 <DL>
100 <DT>public class <B>GraphUndoManager</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html" title="class or interface in javax.swing.undo">UndoManager</A></DL>
101
102 <P>
103 An UndoManager that may be shared among multiple GraphLayoutCache's.
104 <P>
105
106 <P>
107 <DL>
108 <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.jgraph.graph.GraphUndoManager">Serialized Form</A></DL>
109 <HR>
110
111 <P>
112 <!-- ======== NESTED CLASS SUMMARY ======== -->
113
114
115 <!-- =========== FIELD SUMMARY =========== -->
116
117 <A NAME="field_summary"><!-- --></A>
118 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120 <TD COLSPAN=2><FONT SIZE="+2">
121 <B>Field Summary</B></FONT></TD>
122 </TR>
123 </TABLE>
124 &nbsp;<A NAME="fields_inherited_from_class_javax.swing.undo.CompoundEdit"><!-- --></A>
125 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
126 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
127 <TD><B>Fields inherited from class javax.swing.undo.<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html" title="class or interface in javax.swing.undo">CompoundEdit</A></B></TD>
128 </TR>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html#edits" title="class or interface in javax.swing.undo">edits</A></CODE></TD>
131 </TR>
132 </TABLE>
133 &nbsp;<A NAME="fields_inherited_from_class_javax.swing.undo.AbstractUndoableEdit"><!-- --></A>
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
136 <TD><B>Fields inherited from class javax.swing.undo.<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/AbstractUndoableEdit.html" title="class or interface in javax.swing.undo">AbstractUndoableEdit</A></B></TD>
137 </TR>
138 <TR BGCOLOR="white" CLASS="TableRowColor">
139 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/AbstractUndoableEdit.html#RedoName" title="class or interface in javax.swing.undo">RedoName</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/AbstractUndoableEdit.html#UndoName" title="class or interface in javax.swing.undo">UndoName</A></CODE></TD>
140 </TR>
141 </TABLE>
142 &nbsp;
143 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
144
145 <A NAME="constructor_summary"><!-- --></A>
146 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
147 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
148 <TD COLSPAN=2><FONT SIZE="+2">
149 <B>Constructor Summary</B></FONT></TD>
150 </TR>
151 <TR BGCOLOR="white" CLASS="TableRowColor">
152 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#GraphUndoManager()">GraphUndoManager</A></B>()</CODE>
153
154 <BR>
155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
156 </TR>
157 </TABLE>
158 &nbsp;
159 <!-- ========== METHOD SUMMARY =========== -->
160
161 <A NAME="method_summary"><!-- --></A>
162 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
164 <TD COLSPAN=2><FONT SIZE="+2">
165 <B>Method Summary</B></FONT></TD>
166 </TR>
167 <TR BGCOLOR="white" CLASS="TableRowColor">
168 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169 <CODE>&nbsp;boolean</CODE></FONT></TD>
170 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#canRedo(java.lang.Object)">canRedo</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</CODE>
171
172 <BR>
173 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overridden to preserve usual semantics: returns true if a redo
174 operation would be successful now for the given view, false otherwise</TD>
175 </TR>
176 <TR BGCOLOR="white" CLASS="TableRowColor">
177 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178 <CODE>&nbsp;boolean</CODE></FONT></TD>
179 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#canUndo(java.lang.Object)">canUndo</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</CODE>
180
181 <BR>
182 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overridden to preserve usual semantics: returns true if an undo
183 operation would be successful now for the given view, false otherwise</TD>
184 </TR>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A></CODE></FONT></TD>
188 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#editToBeRedone(java.lang.Object)">editToBeRedone</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</CODE>
189
190 <BR>
191 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
192 </TR>
193 <TR BGCOLOR="white" CLASS="TableRowColor">
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A></CODE></FONT></TD>
196 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#editToBeUndone(java.lang.Object)">editToBeUndone</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</CODE>
197
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A></CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#nextEditToBeRedone(javax.swing.undo.UndoableEdit)">nextEditToBeRedone</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>&nbsp;current)</CODE>
205
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the the next significant edit wrt to current
208 to be redone if redo is called.</TD>
209 </TR>
210 <TR BGCOLOR="white" CLASS="TableRowColor">
211 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A></CODE></FONT></TD>
213 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#nextEditToBeUndone(javax.swing.undo.UndoableEdit)">nextEditToBeUndone</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>&nbsp;current)</CODE>
214
215 <BR>
216 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the the next significant edit wrt to current
217 to be undone if undo is called.</TD>
218 </TR>
219 <TR BGCOLOR="white" CLASS="TableRowColor">
220 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221 <CODE>&nbsp;void</CODE></FONT></TD>
222 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#redo(java.lang.Object)">redo</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</CODE>
223
224 <BR>
225 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this <code>UndoManager</code> is <code>inProgress</code>,
226 redoes the last significant <code>UndoableEdit</code> with
227 respect to source or after, and all insignificant
228 edits up to it.</TD>
229 </TR>
230 <TR BGCOLOR="white" CLASS="TableRowColor">
231 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232 <CODE>&nbsp;void</CODE></FONT></TD>
233 <TD><CODE><B><A HREF="../../../org/jgraph/graph/GraphUndoManager.html#undo(java.lang.Object)">undo</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</CODE>
234
235 <BR>
236 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this UndoManager is inProgress, undo the last significant
237 UndoableEdit wrt to source, and all insignificant edits back to
238 it.</TD>
239 </TR>
240 </TABLE>
241 &nbsp;<A NAME="methods_inherited_from_class_javax.swing.undo.UndoManager"><!-- --></A>
242 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
243 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
244 <TD><B>Methods inherited from class javax.swing.undo.<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html" title="class or interface in javax.swing.undo">UndoManager</A></B></TD>
245 </TR>
246 <TR BGCOLOR="white" CLASS="TableRowColor">
247 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#addEdit(javax.swing.undo.UndoableEdit)" title="class or interface in javax.swing.undo">addEdit</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#canRedo()" title="class or interface in javax.swing.undo">canRedo</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#canUndo()" title="class or interface in javax.swing.undo">canUndo</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#canUndoOrRedo()" title="class or interface in javax.swing.undo">canUndoOrRedo</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#discardAllEdits()" title="class or interface in javax.swing.undo">discardAllEdits</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#editToBeRedone()" title="class or interface in javax.swing.undo">editToBeRedone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#editToBeUndone()" title="class or interface in javax.swing.undo">editToBeUndone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#end()" title="class or interface in javax.swing.undo">end</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#getLimit()" title="class or interface in javax.swing.undo">getLimit</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#getRedoPresentationName()" title="class or interface in javax.swing.undo">getRedoPresentationName</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#getUndoOrRedoPresentationName()" title="class or interface in javax.swing.undo">getUndoOrRedoPresentationName</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#getUndoPresentationName()" title="class or interface in javax.swing.undo">getUndoPresentationName</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#redo()" title="class or interface in javax.swing.undo">redo</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#redoTo(javax.swing.undo.UndoableEdit)" title="class or interface in javax.swing.undo">redoTo</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#setLimit(int)" title="class or interface in javax.swing.undo">setLimit</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#toString()" title="class or interface in javax.swing.undo">toString</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#trimEdits(int, int)" title="class or interface in javax.swing.undo">trimEdits</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#trimForLimit()" title="class or interface in javax.swing.undo">trimForLimit</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#undo()" title="class or interface in javax.swing.undo">undo</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#undoableEditHappened(javax.swing.event.UndoableEditEvent)" title="class or interface in javax.swing.undo">undoableEditHappened</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#undoOrRedo()" title="class or interface in javax.swing.undo">undoOrRedo</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#undoTo(javax.swing.undo.UndoableEdit)" title="class or interface in javax.swing.undo">undoTo</A></CODE></TD>
248 </TR>
249 </TABLE>
250 &nbsp;<A NAME="methods_inherited_from_class_javax.swing.undo.CompoundEdit"><!-- --></A>
251 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
252 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
253 <TD><B>Methods inherited from class javax.swing.undo.<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html" title="class or interface in javax.swing.undo">CompoundEdit</A></B></TD>
254 </TR>
255 <TR BGCOLOR="white" CLASS="TableRowColor">
256 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html#die()" title="class or interface in javax.swing.undo">die</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html#getPresentationName()" title="class or interface in javax.swing.undo">getPresentationName</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html#isInProgress()" title="class or interface in javax.swing.undo">isInProgress</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html#isSignificant()" title="class or interface in javax.swing.undo">isSignificant</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/CompoundEdit.html#lastEdit()" title="class or interface in javax.swing.undo">lastEdit</A></CODE></TD>
257 </TR>
258 </TABLE>
259 &nbsp;<A NAME="methods_inherited_from_class_javax.swing.undo.AbstractUndoableEdit"><!-- --></A>
260 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
261 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
262 <TD><B>Methods inherited from class javax.swing.undo.<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/AbstractUndoableEdit.html" title="class or interface in javax.swing.undo">AbstractUndoableEdit</A></B></TD>
263 </TR>
264 <TR BGCOLOR="white" CLASS="TableRowColor">
265 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/AbstractUndoableEdit.html#replaceEdit(javax.swing.undo.UndoableEdit)" title="class or interface in javax.swing.undo">replaceEdit</A></CODE></TD>
266 </TR>
267 </TABLE>
268 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
269 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
270 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
271 <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD>
272 </TR>
273 <TR BGCOLOR="white" CLASS="TableRowColor">
274 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
275 </TR>
276 </TABLE>
277 &nbsp;
278 <P>
279
280 <!-- ============ FIELD DETAIL =========== -->
281
282
283 <!-- ========= CONSTRUCTOR DETAIL ======== -->
284
285 <A NAME="constructor_detail"><!-- --></A>
286 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
287 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
288 <TD COLSPAN=1><FONT SIZE="+2">
289 <B>Constructor Detail</B></FONT></TD>
290 </TR>
291 </TABLE>
292
293 <A NAME="GraphUndoManager()"><!-- --></A><H3>
294 GraphUndoManager</H3>
295 <PRE>
296 public <B>GraphUndoManager</B>()</PRE>
297 <DL>
298 </DL>
299
300 <!-- ============ METHOD DETAIL ========== -->
301
302 <A NAME="method_detail"><!-- --></A>
303 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
304 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
305 <TD COLSPAN=1><FONT SIZE="+2">
306 <B>Method Detail</B></FONT></TD>
307 </TR>
308 </TABLE>
309
310 <A NAME="canUndo(java.lang.Object)"><!-- --></A><H3>
311 canUndo</H3>
312 <PRE>
313 public boolean <B>canUndo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</PRE>
314 <DL>
315 <DD>Overridden to preserve usual semantics: returns true if an undo
316 operation would be successful now for the given view, false otherwise
317 <P>
318 <DD><DL>
319 </DL>
320 </DD>
321 </DL>
322 <HR>
323
324 <A NAME="canRedo(java.lang.Object)"><!-- --></A><H3>
325 canRedo</H3>
326 <PRE>
327 public boolean <B>canRedo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</PRE>
328 <DL>
329 <DD>Overridden to preserve usual semantics: returns true if a redo
330 operation would be successful now for the given view, false otherwise
331 <P>
332 <DD><DL>
333 </DL>
334 </DD>
335 </DL>
336 <HR>
337
338 <A NAME="undo(java.lang.Object)"><!-- --></A><H3>
339 undo</H3>
340 <PRE>
341 public void <B>undo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</PRE>
342 <DL>
343 <DD>If this UndoManager is inProgress, undo the last significant
344 UndoableEdit wrt to source, and all insignificant edits back to
345 it. Updates indexOfNextAdd accordingly.
346
347 <p>If not inProgress, indexOfNextAdd is ignored and super's routine is
348 called.</p>
349 <P>
350 <DD><DL>
351 <DT><B>See Also:</B><DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoManager.html#undo()" title="class or interface in javax.swing.undo"><CODE>UndoManager.undo()</CODE></A></DL>
352 </DD>
353 </DL>
354 <HR>
355
356 <A NAME="editToBeUndone(java.lang.Object)"><!-- --></A><H3>
357 editToBeUndone</H3>
358 <PRE>
359 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A> <B>editToBeUndone</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</PRE>
360 <DL>
361 <DD><DL>
362 </DL>
363 </DD>
364 </DL>
365 <HR>
366
367 <A NAME="nextEditToBeUndone(javax.swing.undo.UndoableEdit)"><!-- --></A><H3>
368 nextEditToBeUndone</H3>
369 <PRE>
370 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A> <B>nextEditToBeUndone</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>&nbsp;current)</PRE>
371 <DL>
372 <DD>Returns the the next significant edit wrt to current
373 to be undone if undo is called. May return null.
374 <P>
375 <DD><DL>
376 </DL>
377 </DD>
378 </DL>
379 <HR>
380
381 <A NAME="redo(java.lang.Object)"><!-- --></A><H3>
382 redo</H3>
383 <PRE>
384 public void <B>redo</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</PRE>
385 <DL>
386 <DD>If this <code>UndoManager</code> is <code>inProgress</code>,
387 redoes the last significant <code>UndoableEdit</code> with
388 respect to source or after, and all insignificant
389 edits up to it. Updates <code>indexOfNextAdd</code> accordingly.
390
391 <p>If not <code>inProgress</code>, <code>indexOfNextAdd</code>
392 is ignored and super's routine is called.</p>
393 <P>
394 <DD><DL>
395 </DL>
396 </DD>
397 </DL>
398 <HR>
399
400 <A NAME="editToBeRedone(java.lang.Object)"><!-- --></A><H3>
401 editToBeRedone</H3>
402 <PRE>
403 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A> <B>editToBeRedone</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;source)</PRE>
404 <DL>
405 <DD><DL>
406 </DL>
407 </DD>
408 </DL>
409 <HR>
410
411 <A NAME="nextEditToBeRedone(javax.swing.undo.UndoableEdit)"><!-- --></A><H3>
412 nextEditToBeRedone</H3>
413 <PRE>
414 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A> <B>nextEditToBeRedone</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEdit.html" title="class or interface in javax.swing.undo">UndoableEdit</A>&nbsp;current)</PRE>
415 <DL>
416 <DD>Returns the the next significant edit wrt to current
417 to be redone if redo is called. May return null.
418 <P>
419 <DD><DL>
420 </DL>
421 </DD>
422 </DL>
423 <!-- ========= END OF CLASS DATA ========= -->
424 <HR>
425
426
427 <!-- ======= START OF BOTTOM NAVBAR ====== -->
428 <A NAME="navbar_bottom"><!-- --></A>
429 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
430 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
431 <TR>
432 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
433 <A NAME="navbar_bottom_firstrow"><!-- --></A>
434 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
435 <TR ALIGN="center" VALIGN="top">
436 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
437 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
438 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
439 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GraphUndoManager.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
440 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
441 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
442 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
443 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
444 </TR>
445 </TABLE>
446 </TD>
447 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
448 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
449 </TD>
450 </TR>
451
452 <TR>
453 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
454 &nbsp;<A HREF="../../../org/jgraph/graph/GraphTransferHandler.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
455 &nbsp;<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
456 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
457 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
458 &nbsp;<A HREF="GraphUndoManager.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
459 &nbsp;<SCRIPT type="text/javascript">
460 <!--
461 if(window==top) {
462 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
463 }
464 //-->
465 </SCRIPT>
466 <NOSCRIPT>
467 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
468 </NOSCRIPT>
469
470 </FONT></TD>
471 </TR>
472 <TR>
473 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
474 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.undo.CompoundEdit">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
475 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
476 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
477 </TR>
478 </TABLE>
479 <A NAME="skip-navbar_bottom"></A>
480 <!-- ======== END OF BOTTOM NAVBAR ======= -->
481
482 <HR>
483 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
484 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
485 </BODY>
486 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26