/[debian]/libjgraph-java/trunk/doc/api/org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html
ViewVC logotype

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.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: 15839 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:30 BST 2007 -->
6 <TITLE>
7 GraphLayoutCacheEvent.GraphLayoutCacheChange (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.event.GraphLayoutCacheEvent.GraphLayoutCacheChange interface">
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="GraphLayoutCacheEvent.GraphLayoutCacheChange (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/GraphLayoutCacheEvent.GraphLayoutCacheChange.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;PREV CLASS&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/event/GraphLayoutCacheListener.html" title="interface in org.jgraph.event"><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="GraphLayoutCacheEvent.GraphLayoutCacheChange.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;FIELD&nbsp;|&nbsp;CONSTR&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;CONSTR&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.event</FONT>
86 <BR>
87 Interface GraphLayoutCacheEvent.GraphLayoutCacheChange</H2>
88 <DL>
89 <DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../org/jgraph/event/GraphModelEvent.GraphModelChange.html" title="interface in org.jgraph.event">GraphModelEvent.GraphModelChange</A></DD>
90 </DL>
91 <DL>
92 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/jgraph/graph/DefaultGraphModel.GraphModelEdit.html" title="class in org.jgraph.graph">DefaultGraphModel.GraphModelEdit</A>, <A HREF="../../../org/jgraph/graph/DefaultGraphModel.GraphModelLayerEdit.html" title="class in org.jgraph.graph">DefaultGraphModel.GraphModelLayerEdit</A>, <A HREF="../../../org/jgraph/graph/GraphLayoutCache.GraphLayoutCacheEdit.html" title="class in org.jgraph.graph">GraphLayoutCache.GraphLayoutCacheEdit</A></DD>
93 </DL>
94 <DL>
95 <DT><B>Enclosing interface:</B><DD><A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.html" title="class in org.jgraph.event">GraphLayoutCacheEvent</A></DD>
96 </DL>
97 <HR>
98 <DL>
99 <DT>public static interface <B>GraphLayoutCacheEvent.GraphLayoutCacheChange</B></DL>
100
101 <P>
102 Defines the interface for objects that may be used to represent a change
103 to the graph layout cache.
104 <P>
105
106 <P>
107 <HR>
108
109 <P>
110 <!-- ======== NESTED CLASS SUMMARY ======== -->
111
112
113 <!-- =========== FIELD SUMMARY =========== -->
114
115
116 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
117
118
119 <!-- ========== METHOD SUMMARY =========== -->
120
121 <A NAME="method_summary"><!-- --></A>
122 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124 <TD COLSPAN=2><FONT SIZE="+2">
125 <B>Method Summary</B></FONT></TD>
126 </TR>
127 <TR BGCOLOR="white" CLASS="TableRowColor">
128 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129 <CODE>&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>
130 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html#getAttributes()">getAttributes</A></B>()</CODE>
131
132 <BR>
133 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a map that contains (object, map) pairs which holds the new
134 attributes for each changed cell.</TD>
135 </TR>
136 <TR BGCOLOR="white" CLASS="TableRowColor">
137 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
138 <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>
139 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html#getChanged()">getChanged</A></B>()</CODE>
140
141 <BR>
142 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cells that have changed.</TD>
143 </TR>
144 <TR BGCOLOR="white" CLASS="TableRowColor">
145 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
146 <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>
147 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html#getContext()">getContext</A></B>()</CODE>
148
149 <BR>
150 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the objects that have not changed explicitly, but implicitly
151 because one of their dependent cells has changed.</TD>
152 </TR>
153 <TR BGCOLOR="white" CLASS="TableRowColor">
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155 <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>
156 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html#getInserted()">getInserted</A></B>()</CODE>
157
158 <BR>
159 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cells that have been inserted.</TD>
160 </TR>
161 <TR BGCOLOR="white" CLASS="TableRowColor">
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163 <CODE>&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>
164 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html#getPreviousAttributes()">getPreviousAttributes</A></B>()</CODE>
165
166 <BR>
167 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a map that contains (object, map) pairs which holds the
168 previous attributes for the changed cells.</TD>
169 </TR>
170 <TR BGCOLOR="white" CLASS="TableRowColor">
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172 <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>
173 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html#getRemoved()">getRemoved</A></B>()</CODE>
174
175 <BR>
176 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cells that have been removed.</TD>
177 </TR>
178 <TR BGCOLOR="white" CLASS="TableRowColor">
179 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180 <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>
181 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphLayoutCacheEvent.GraphLayoutCacheChange.html#getSource()">getSource</A></B>()</CODE>
182
183 <BR>
184 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the source of this change.</TD>
185 </TR>
186 </TABLE>
187 &nbsp;
188 <P>
189
190 <!-- ============ FIELD DETAIL =========== -->
191
192
193 <!-- ========= CONSTRUCTOR DETAIL ======== -->
194
195
196 <!-- ============ METHOD DETAIL ========== -->
197
198 <A NAME="method_detail"><!-- --></A>
199 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
200 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
201 <TD COLSPAN=1><FONT SIZE="+2">
202 <B>Method Detail</B></FONT></TD>
203 </TR>
204 </TABLE>
205
206 <A NAME="getSource()"><!-- --></A><H3>
207 getSource</H3>
208 <PRE>
209 public <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>getSource</B>()</PRE>
210 <DL>
211 <DD>Returns the source of this change. This can either be a view or a
212 model, if this change is a GraphModelChange. Note: This is not
213 necessarily the same as the source of the event and is used
214 separately in the graphundomanager.
215 <P>
216 <DD><DL>
217
218 <DT><B>Returns:</B><DD>the source fo this change</DL>
219 </DD>
220 </DL>
221 <HR>
222
223 <A NAME="getChanged()"><!-- --></A><H3>
224 getChanged</H3>
225 <PRE>
226 public <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>getChanged</B>()</PRE>
227 <DL>
228 <DD>Returns the cells that have changed.
229 <P>
230 <DD><DL>
231
232 <DT><B>Returns:</B><DD>the cell changed</DL>
233 </DD>
234 </DL>
235 <HR>
236
237 <A NAME="getInserted()"><!-- --></A><H3>
238 getInserted</H3>
239 <PRE>
240 public <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>getInserted</B>()</PRE>
241 <DL>
242 <DD>Returns the cells that have been inserted.
243 <P>
244 <DD><DL>
245
246 <DT><B>Returns:</B><DD>the cells that were inserted by the change</DL>
247 </DD>
248 </DL>
249 <HR>
250
251 <A NAME="getRemoved()"><!-- --></A><H3>
252 getRemoved</H3>
253 <PRE>
254 public <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>getRemoved</B>()</PRE>
255 <DL>
256 <DD>Returns the cells that have been removed.
257 <P>
258 <DD><DL>
259
260 <DT><B>Returns:</B><DD>the cells that were removed by the change</DL>
261 </DD>
262 </DL>
263 <HR>
264
265 <A NAME="getAttributes()"><!-- --></A><H3>
266 getAttributes</H3>
267 <PRE>
268 public <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>getAttributes</B>()</PRE>
269 <DL>
270 <DD>Returns a map that contains (object, map) pairs which holds the new
271 attributes for each changed cell. Note: This returns a map of (cell,
272 map) pairs for an insert on a model that is not an attribute store.
273 Use getPreviousAttributes to access the attributes that have been
274 stored in the model.
275 <P>
276 <DD><DL>
277 </DL>
278 </DD>
279 </DL>
280 <HR>
281
282 <A NAME="getPreviousAttributes()"><!-- --></A><H3>
283 getPreviousAttributes</H3>
284 <PRE>
285 public <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>getPreviousAttributes</B>()</PRE>
286 <DL>
287 <DD>Returns a map that contains (object, map) pairs which holds the
288 previous attributes for the changed cells.
289 <P>
290 <DD><DL>
291
292 <DT><B>Returns:</B><DD>map of attributes before the change</DL>
293 </DD>
294 </DL>
295 <HR>
296
297 <A NAME="getContext()"><!-- --></A><H3>
298 getContext</H3>
299 <PRE>
300 public <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>getContext</B>()</PRE>
301 <DL>
302 <DD>Returns the objects that have not changed explicitly, but implicitly
303 because one of their dependent cells has changed. This is typically
304 used to return the edges that are attached to vertices, which in turn
305 have been resized or moved.
306 <P>
307 <DD><DL>
308
309 <DT><B>Returns:</B><DD>array of contextual cells</DL>
310 </DD>
311 </DL>
312 <!-- ========= END OF CLASS DATA ========= -->
313 <HR>
314
315
316 <!-- ======= START OF BOTTOM NAVBAR ====== -->
317 <A NAME="navbar_bottom"><!-- --></A>
318 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
319 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
320 <TR>
321 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
322 <A NAME="navbar_bottom_firstrow"><!-- --></A>
323 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
324 <TR ALIGN="center" VALIGN="top">
325 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
326 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
327 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
328 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GraphLayoutCacheEvent.GraphLayoutCacheChange.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
329 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
330 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
331 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
332 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
333 </TR>
334 </TABLE>
335 </TD>
336 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
337 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
338 </TD>
339 </TR>
340
341 <TR>
342 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
343 &nbsp;PREV CLASS&nbsp;
344 &nbsp;<A HREF="../../../org/jgraph/event/GraphLayoutCacheListener.html" title="interface in org.jgraph.event"><B>NEXT CLASS</B></A></FONT></TD>
345 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
346 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
347 &nbsp;<A HREF="GraphLayoutCacheEvent.GraphLayoutCacheChange.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
348 &nbsp;<SCRIPT type="text/javascript">
349 <!--
350 if(window==top) {
351 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
352 }
353 //-->
354 </SCRIPT>
355 <NOSCRIPT>
356 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
357 </NOSCRIPT>
358
359 </FONT></TD>
360 </TR>
361 <TR>
362 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
363 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
364 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
365 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
366 </TR>
367 </TABLE>
368 <A NAME="skip-navbar_bottom"></A>
369 <!-- ======== END OF BOTTOM NAVBAR ======= -->
370
371 <HR>
372 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
373 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
374 </BODY>
375 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26