5
<!-- Generated by javadoc (build 1.4.2_17) on Thu Nov 13 00:41:58 GMT 2008 -->
5
<!-- Generated by javadoc (build 1.4.2_17) on Thu Sep 24 15:03:21 BST 2009 -->
7
DefaultGraphModel (JGraph v5.12.2.1 API Specification)
7
DefaultGraphModel (JGraph v5.12.4.2 API Specification)
10
10
<META NAME="keywords" CONTENT="org.jgraph.graph.DefaultGraphModel class">
200
200
Set that contains all root cells of this model.</TD>
202
<TR BGCOLOR="white" CLASS="TableRowColor">
203
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD>
205
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#transAddedCells">transAddedCells</A></B></CODE>
208
Stores nested transaction added cells</TD>
210
<TR BGCOLOR="white" CLASS="TableRowColor">
211
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
212
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD>
213
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#transEditAttrs">transEditAttrs</A></B></CODE>
216
Stores nested transaction transport attribute maps</TD>
218
<TR BGCOLOR="white" CLASS="TableRowColor">
219
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
220
<CODE>protected <A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A></CODE></FONT></TD>
221
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#transEditCS">transEditCS</A></B></CODE>
224
Stores nested transaction connection sets</TD>
226
<TR BGCOLOR="white" CLASS="TableRowColor">
227
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
228
<CODE>protected <A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A></CODE></FONT></TD>
229
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#transEditPM">transEditPM</A></B></CODE>
232
Stores nested transaction parent maps</TD>
234
<TR BGCOLOR="white" CLASS="TableRowColor">
235
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
236
<CODE>protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A></CODE></FONT></TD>
237
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#transRemovedCells">transRemovedCells</A></B></CODE>
240
Stores nested transaction removed cells</TD>
242
<TR BGCOLOR="white" CLASS="TableRowColor">
243
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
244
<CODE>protected int</CODE></FONT></TD>
245
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#updateLevel">updateLevel</A></B></CODE>
248
Counter for the depth of nested transactions.</TD>
203
251
<A NAME="fields_inherited_from_class_javax.swing.undo.UndoableEditSupport"><!-- --></A>
204
252
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
206
254
<TD><B>Fields inherited from class javax.swing.undo.<A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEditSupport.html" title="class or interface in javax.swing.undo">UndoableEditSupport</A></B></TD>
208
256
<TR BGCOLOR="white" CLASS="TableRowColor">
209
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEditSupport.html#compoundEdit" title="class or interface in javax.swing.undo">compoundEdit</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEditSupport.html#listeners" title="class or interface in javax.swing.undo">listeners</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEditSupport.html#realSource" title="class or interface in javax.swing.undo">realSource</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEditSupport.html#updateLevel" title="class or interface in javax.swing.undo">updateLevel</A></CODE></TD>
257
<TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEditSupport.html#compoundEdit" title="class or interface in javax.swing.undo">compoundEdit</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEditSupport.html#listeners" title="class or interface in javax.swing.undo">listeners</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/javax/swing/undo/UndoableEditSupport.html#realSource" title="class or interface in javax.swing.undo">realSource</A></CODE></TD>
936
984
<TR BGCOLOR="white" CLASS="TableRowColor">
937
985
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
986
<CODE>protected void</CODE></FONT></TD>
987
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#updateTransaction(java.lang.Object[], java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap)">updateTransaction</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>[] inserted,
988
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] removed,
989
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes,
990
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
991
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm)</CODE>
994
Updates the current state of the various transaction data</TD>
996
<TR BGCOLOR="white" CLASS="TableRowColor">
997
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
938
998
<CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></FONT></TD>
939
999
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#valueForCellChanged(java.lang.Object, java.lang.Object)">valueForCellChanged</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> cell,
940
1000
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> newValue)</CODE>
1119
<A NAME="updateLevel"><!-- --></A><H3>
1122
protected transient int <B>updateLevel</B></PRE>
1124
<DD>Counter for the depth of nested transactions. Each call to beginUpdate
1125
increments this counter and each call to endUpdate decrements it. When
1126
the counter reaches 0, the transaction is closed and applied to the
1134
<A NAME="transAddedCells"><!-- --></A><H3>
1135
transAddedCells</H3>
1137
protected transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>transAddedCells</B></PRE>
1139
<DD>Stores nested transaction added cells
1146
<A NAME="transRemovedCells"><!-- --></A><H3>
1147
transRemovedCells</H3>
1149
protected transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Set.html" title="class or interface in java.util">Set</A> <B>transRemovedCells</B></PRE>
1151
<DD>Stores nested transaction removed cells
1158
<A NAME="transEditAttrs"><!-- --></A><H3>
1161
protected transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>transEditAttrs</B></PRE>
1163
<DD>Stores nested transaction transport attribute maps
1170
<A NAME="transEditCS"><!-- --></A><H3>
1173
protected transient <A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> <B>transEditCS</B></PRE>
1175
<DD>Stores nested transaction connection sets
1182
<A NAME="transEditPM"><!-- --></A><H3>
1185
protected transient <A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> <B>transEditPM</B></PRE>
1187
<DD>Stores nested transaction parent maps
1058
1193
<!-- ========= CONSTRUCTOR DETAIL ======== -->
1872
<A NAME="updateTransaction(java.lang.Object[], java.lang.Object[], java.util.Map, org.jgraph.graph.ConnectionSet, org.jgraph.graph.ParentMap)"><!-- --></A><H3>
1873
updateTransaction</H3>
1875
protected void <B>updateTransaction</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>[] inserted,
1876
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>[] removed,
1877
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> attributes,
1878
<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> cs,
1879
<A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> pm)</PRE>
1881
<DD>Updates the current state of the various transaction data
1887
<DT><B>Parameters:</B><DD><CODE>inserted</CODE> - inserted cell to be added to the transaction<DD><CODE>removed</CODE> - removed cells to be removed from the transaction<DD><CODE>attributes</CODE> - nested attribute maps to apply to the transaction<DD><CODE>cs</CODE> - connection sets to add to the transaction<DD><CODE>pm</CODE> - parent maps to add to the transaction</DL>
1737
1892
<A NAME="toBack(java.lang.Object[])"><!-- --></A><H3>