~ubuntu-branches/ubuntu/saucy/libjgraph-java/saucy

« back to all changes in this revision

Viewing changes to doc/api/org/jgraph/graph/DefaultGraphModel.html

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2011-02-09 18:37:22 UTC
  • mfrom: (1.2.3 upstream)
  • mto: This revision was merged to the branch mainline in revision 9.
  • Revision ID: james.westby@ubuntu.com-20110209183722-9so2kaovf53l6lx4
* New upstream release.
* debian/control: 
  - set Section to java
  - change build dependency from default-jdk-builddep to default-jdk
  - add ${misc:Depends} to Depends:.
* Change source URL in debian/copyright and debian/watch.
* Switch from dh_wraporig to repack.sh for repackaging.
* Switch to source format 3.0 (quilt).
* Set Standards-Version to 3.9.1 (no changes).
* Use debhelper 7 (debian/{rules,compat,control})
* Update patch and patch headers.
* debian/rules: don't build apidocs twice.
* debian/copyright: update years of copyright and formatting.
* Register API specification with doc-base system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!--NewPage-->
3
3
<HTML>
4
4
<HEAD>
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 -->
6
6
<TITLE>
7
 
DefaultGraphModel (JGraph v5.12.2.1 API Specification)
 
7
DefaultGraphModel (JGraph v5.12.4.2 API Specification)
8
8
</TITLE>
9
9
 
10
10
<META NAME="keywords" CONTENT="org.jgraph.graph.DefaultGraphModel class">
14
14
<SCRIPT type="text/javascript">
15
15
function windowTitle()
16
16
{
17
 
    parent.document.title="DefaultGraphModel (JGraph v5.12.2.1 API Specification)";
 
17
    parent.document.title="DefaultGraphModel (JGraph v5.12.4.2 API Specification)";
18
18
}
19
19
</SCRIPT>
20
20
 
44
44
</TABLE>
45
45
</TD>
46
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47
 
<p><b>JGraph</b><br>v5.12.2.1</p></EM>
 
47
<p><b>JGraph</b><br>v5.12.4.2</p></EM>
48
48
</TD>
49
49
</TR>
50
50
 
199
199
<BR>
200
200
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set that contains all root cells of this model.</TD>
201
201
</TR>
 
202
<TR BGCOLOR="white" CLASS="TableRowColor">
 
203
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
204
<CODE>protected &nbsp;<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>
 
206
 
 
207
<BR>
 
208
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores nested transaction added cells</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/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>
 
214
 
 
215
<BR>
 
216
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores nested transaction transport attribute maps</TD>
 
217
</TR>
 
218
<TR BGCOLOR="white" CLASS="TableRowColor">
 
219
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
220
<CODE>protected &nbsp;<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>
 
222
 
 
223
<BR>
 
224
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores nested transaction connection sets</TD>
 
225
</TR>
 
226
<TR BGCOLOR="white" CLASS="TableRowColor">
 
227
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
228
<CODE>protected &nbsp;<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>
 
230
 
 
231
<BR>
 
232
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores nested transaction parent maps</TD>
 
233
</TR>
 
234
<TR BGCOLOR="white" CLASS="TableRowColor">
 
235
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
236
<CODE>protected &nbsp;<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>
 
238
 
 
239
<BR>
 
240
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Stores nested transaction removed cells</TD>
 
241
</TR>
 
242
<TR BGCOLOR="white" CLASS="TableRowColor">
 
243
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
244
<CODE>protected &nbsp;int</CODE></FONT></TD>
 
245
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultGraphModel.html#updateLevel">updateLevel</A></B></CODE>
 
246
 
 
247
<BR>
 
248
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Counter for the depth of nested transactions.</TD>
 
249
</TR>
202
250
</TABLE>
203
251
&nbsp;<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>
207
255
</TR>
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>
210
258
</TR>
211
259
</TABLE>
212
260
&nbsp;
935
983
</TR>
936
984
<TR BGCOLOR="white" CLASS="TableRowColor">
937
985
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
986
<CODE>protected &nbsp;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>[]&nbsp;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>[]&nbsp;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>&nbsp;attributes,
 
990
                  <A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A>&nbsp;cs,
 
991
                  <A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A>&nbsp;pm)</CODE>
 
992
 
 
993
<BR>
 
994
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the current state of the various transaction data</TD>
 
995
</TR>
 
996
<TR BGCOLOR="white" CLASS="TableRowColor">
 
997
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
938
998
<CODE>&nbsp;<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>&nbsp;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>&nbsp;newValue)</CODE>
1054
1114
<DL>
1055
1115
</DL>
1056
1116
</DL>
 
1117
<HR>
 
1118
 
 
1119
<A NAME="updateLevel"><!-- --></A><H3>
 
1120
updateLevel</H3>
 
1121
<PRE>
 
1122
protected transient int <B>updateLevel</B></PRE>
 
1123
<DL>
 
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 
 
1127
 model.
 
1128
<P>
 
1129
<DL>
 
1130
</DL>
 
1131
</DL>
 
1132
<HR>
 
1133
 
 
1134
<A NAME="transAddedCells"><!-- --></A><H3>
 
1135
transAddedCells</H3>
 
1136
<PRE>
 
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>
 
1138
<DL>
 
1139
<DD>Stores nested transaction added cells
 
1140
<P>
 
1141
<DL>
 
1142
</DL>
 
1143
</DL>
 
1144
<HR>
 
1145
 
 
1146
<A NAME="transRemovedCells"><!-- --></A><H3>
 
1147
transRemovedCells</H3>
 
1148
<PRE>
 
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>
 
1150
<DL>
 
1151
<DD>Stores nested transaction removed cells
 
1152
<P>
 
1153
<DL>
 
1154
</DL>
 
1155
</DL>
 
1156
<HR>
 
1157
 
 
1158
<A NAME="transEditAttrs"><!-- --></A><H3>
 
1159
transEditAttrs</H3>
 
1160
<PRE>
 
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>
 
1162
<DL>
 
1163
<DD>Stores nested transaction transport attribute maps
 
1164
<P>
 
1165
<DL>
 
1166
</DL>
 
1167
</DL>
 
1168
<HR>
 
1169
 
 
1170
<A NAME="transEditCS"><!-- --></A><H3>
 
1171
transEditCS</H3>
 
1172
<PRE>
 
1173
protected transient <A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A> <B>transEditCS</B></PRE>
 
1174
<DL>
 
1175
<DD>Stores nested transaction connection sets
 
1176
<P>
 
1177
<DL>
 
1178
</DL>
 
1179
</DL>
 
1180
<HR>
 
1181
 
 
1182
<A NAME="transEditPM"><!-- --></A><H3>
 
1183
transEditPM</H3>
 
1184
<PRE>
 
1185
protected transient <A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A> <B>transEditPM</B></PRE>
 
1186
<DL>
 
1187
<DD>Stores nested transaction parent maps
 
1188
<P>
 
1189
<DL>
 
1190
</DL>
 
1191
</DL>
1057
1192
 
1058
1193
<!-- ========= CONSTRUCTOR DETAIL ======== -->
1059
1194
 
1734
1869
</DL>
1735
1870
<HR>
1736
1871
 
 
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>
 
1874
<PRE>
 
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>[]&nbsp;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>[]&nbsp;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>&nbsp;attributes,
 
1878
                                 <A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A>&nbsp;cs,
 
1879
                                 <A HREF="../../../org/jgraph/graph/ParentMap.html" title="class in org.jgraph.graph">ParentMap</A>&nbsp;pm)</PRE>
 
1880
<DL>
 
1881
<DD>Updates the current state of the various transaction data
 
1882
<P>
 
1883
<DD><DL>
 
1884
</DL>
 
1885
</DD>
 
1886
<DD><DL>
 
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>
 
1888
</DD>
 
1889
</DL>
 
1890
<HR>
 
1891
 
1737
1892
<A NAME="toBack(java.lang.Object[])"><!-- --></A><H3>
1738
1893
toBack</H3>
1739
1894
<PRE>
2536
2691
</TABLE>
2537
2692
</TD>
2538
2693
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
2539
 
<p><b>JGraph</b><br>v5.12.2.1</p></EM>
 
2694
<p><b>JGraph</b><br>v5.12.4.2</p></EM>
2540
2695
</TD>
2541
2696
</TR>
2542
2697