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

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/event/GraphSelectionEvent.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: 22607 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 GraphSelectionEvent (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.event.GraphSelectionEvent 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="GraphSelectionEvent (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/GraphSelectionEvent.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/event/GraphModelEvent.html" title="class in org.jgraph.event"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;NEXT CLASS</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="GraphSelectionEvent.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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.event</FONT>
86 <BR>
87 Class GraphSelectionEvent</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/java/util/EventObject.html" title="class or interface in java.util">java.util.EventObject</A>
91 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.jgraph.event.GraphSelectionEvent</B>
92 </PRE>
93 <DL>
94 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DD>
95 </DL>
96 <HR>
97 <DL>
98 <DT>public class <B>GraphSelectionEvent</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A></DL>
99
100 <P>
101 An event that characterizes a change in the current selection. The change is
102 based on any number of cells. GraphSelectionListeners will generally query
103 the source of the event for the new selected status of each potentially
104 changed cell.
105 <P>
106
107 <P>
108 <DL>
109 <DT><B>See Also:</B><DD><A HREF="../../../org/jgraph/event/GraphSelectionListener.html" title="interface in org.jgraph.event"><CODE>GraphSelectionListener</CODE></A>,
110 <A HREF="../../../org/jgraph/graph/GraphSelectionModel.html" title="interface in org.jgraph.graph"><CODE>GraphSelectionModel</CODE></A>,
111 <A HREF="../../../serialized-form.html#org.jgraph.event.GraphSelectionEvent">Serialized Form</A></DL>
112 <HR>
113
114 <P>
115 <!-- ======== NESTED CLASS SUMMARY ======== -->
116
117
118 <!-- =========== FIELD SUMMARY =========== -->
119
120 <A NAME="field_summary"><!-- --></A>
121 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
122 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
123 <TD COLSPAN=2><FONT SIZE="+2">
124 <B>Field Summary</B></FONT></TD>
125 </TR>
126 <TR BGCOLOR="white" CLASS="TableRowColor">
127 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
128 <CODE>protected &nbsp;boolean[]</CODE></FONT></TD>
129 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#areNew">areNew</A></B></CODE>
130
131 <BR>
132 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For each cell identifies whether or not that cell is newly selected.</TD>
133 </TR>
134 <TR BGCOLOR="white" CLASS="TableRowColor">
135 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
136 <CODE>protected &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>
137 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#cells">cells</A></B></CODE>
138
139 <BR>
140 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cells this event represents.</TD>
141 </TR>
142 </TABLE>
143 &nbsp;<A NAME="fields_inherited_from_class_java.util.EventObject"><!-- --></A>
144 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
145 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
146 <TD><B>Fields inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A></B></TD>
147 </TR>
148 <TR BGCOLOR="white" CLASS="TableRowColor">
149 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html#source" title="class or interface in java.util">source</A></CODE></TD>
150 </TR>
151 </TABLE>
152 &nbsp;
153 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
154
155 <A NAME="constructor_summary"><!-- --></A>
156 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
157 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
158 <TD COLSPAN=2><FONT SIZE="+2">
159 <B>Constructor Summary</B></FONT></TD>
160 </TR>
161 <TR BGCOLOR="white" CLASS="TableRowColor">
162 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#GraphSelectionEvent(java.lang.Object, java.lang.Object[], boolean[])">GraphSelectionEvent</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,
163 <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;cells,
164 boolean[]&nbsp;areNew)</CODE>
165
166 <BR>
167 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Represents a change in the selection of a GraphSelectionModel.</TD>
168 </TR>
169 </TABLE>
170 &nbsp;
171 <!-- ========== METHOD SUMMARY =========== -->
172
173 <A NAME="method_summary"><!-- --></A>
174 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
175 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
176 <TD COLSPAN=2><FONT SIZE="+2">
177 <B>Method Summary</B></FONT></TD>
178 </TR>
179 <TR BGCOLOR="white" CLASS="TableRowColor">
180 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181 <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>
182 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#cloneWithSource(java.lang.Object)">cloneWithSource</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;newSource)</CODE>
183
184 <BR>
185 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a copy of the receiver, but with the source being newSource.</TD>
186 </TR>
187 <TR BGCOLOR="white" CLASS="TableRowColor">
188 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189 <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>
190 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#getCell()">getCell</A></B>()</CODE>
191
192 <BR>
193 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the first cell.</TD>
194 </TR>
195 <TR BGCOLOR="white" CLASS="TableRowColor">
196 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197 <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>
198 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#getCells()">getCells</A></B>()</CODE>
199
200 <BR>
201 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cells that have been added or removed from the selection.</TD>
202 </TR>
203 <TR BGCOLOR="white" CLASS="TableRowColor">
204 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205 <CODE>&nbsp;boolean</CODE></FONT></TD>
206 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#isAddedCell()">isAddedCell</A></B>()</CODE>
207
208 <BR>
209 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the first cell has been added to the selection, a return
210 value of false means the first cell has been removed from the selection.</TD>
211 </TR>
212 <TR BGCOLOR="white" CLASS="TableRowColor">
213 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214 <CODE>&nbsp;boolean</CODE></FONT></TD>
215 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#isAddedCell(int)">isAddedCell</A></B>(int&nbsp;index)</CODE>
216
217 <BR>
218 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the cell identified by <code>index</code> was added to
219 the selection.</TD>
220 </TR>
221 <TR BGCOLOR="white" CLASS="TableRowColor">
222 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
223 <CODE>&nbsp;boolean</CODE></FONT></TD>
224 <TD><CODE><B><A HREF="../../../org/jgraph/event/GraphSelectionEvent.html#isAddedCell(java.lang.Object)">isAddedCell</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)</CODE>
225
226 <BR>
227 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the cell identified by cell was added to the selection.</TD>
228 </TR>
229 </TABLE>
230 &nbsp;<A NAME="methods_inherited_from_class_java.util.EventObject"><!-- --></A>
231 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
232 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
233 <TD><B>Methods inherited from class java.util.<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html" title="class or interface in java.util">EventObject</A></B></TD>
234 </TR>
235 <TR BGCOLOR="white" CLASS="TableRowColor">
236 <TD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html#getSource()" title="class or interface in java.util">getSource</A>, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/EventObject.html#toString()" title="class or interface in java.util">toString</A></CODE></TD>
237 </TR>
238 </TABLE>
239 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
240 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
241 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
242 <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>
243 </TR>
244 <TR BGCOLOR="white" CLASS="TableRowColor">
245 <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>
246 </TR>
247 </TABLE>
248 &nbsp;
249 <P>
250
251 <!-- ============ FIELD DETAIL =========== -->
252
253 <A NAME="field_detail"><!-- --></A>
254 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
255 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
256 <TD COLSPAN=1><FONT SIZE="+2">
257 <B>Field Detail</B></FONT></TD>
258 </TR>
259 </TABLE>
260
261 <A NAME="cells"><!-- --></A><H3>
262 cells</H3>
263 <PRE>
264 protected <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>cells</B></PRE>
265 <DL>
266 <DD>Cells this event represents.
267 <P>
268 <DL>
269 </DL>
270 </DL>
271 <HR>
272
273 <A NAME="areNew"><!-- --></A><H3>
274 areNew</H3>
275 <PRE>
276 protected boolean[] <B>areNew</B></PRE>
277 <DL>
278 <DD>For each cell identifies whether or not that cell is newly selected.
279 <P>
280 <DL>
281 </DL>
282 </DL>
283
284 <!-- ========= CONSTRUCTOR DETAIL ======== -->
285
286 <A NAME="constructor_detail"><!-- --></A>
287 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
288 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
289 <TD COLSPAN=1><FONT SIZE="+2">
290 <B>Constructor Detail</B></FONT></TD>
291 </TR>
292 </TABLE>
293
294 <A NAME="GraphSelectionEvent(java.lang.Object, java.lang.Object[], boolean[])"><!-- --></A><H3>
295 GraphSelectionEvent</H3>
296 <PRE>
297 public <B>GraphSelectionEvent</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,
298 <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;cells,
299 boolean[]&nbsp;areNew)</PRE>
300 <DL>
301 <DD>Represents a change in the selection of a GraphSelectionModel.
302 <code>cells</code> identifies the cells that have been either added or
303 removed from the selection.
304 <P>
305 <DT><B>Parameters:</B><DD><CODE>source</CODE> - source of event<DD><CODE>cells</CODE> - the paths that have changed in the selection<DD><CODE>areNew</CODE> - for each cell, defines whether or not that cell is newly
306 selected</DL>
307
308 <!-- ============ METHOD DETAIL ========== -->
309
310 <A NAME="method_detail"><!-- --></A>
311 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
312 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
313 <TD COLSPAN=1><FONT SIZE="+2">
314 <B>Method Detail</B></FONT></TD>
315 </TR>
316 </TABLE>
317
318 <A NAME="getCells()"><!-- --></A><H3>
319 getCells</H3>
320 <PRE>
321 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>getCells</B>()</PRE>
322 <DL>
323 <DD>Returns the cells that have been added or removed from the selection.
324 <P>
325 <DD><DL>
326
327 <DT><B>Returns:</B><DD>added or removed cells</DL>
328 </DD>
329 </DL>
330 <HR>
331
332 <A NAME="getCell()"><!-- --></A><H3>
333 getCell</H3>
334 <PRE>
335 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>getCell</B>()</PRE>
336 <DL>
337 <DD>Returns the first cell.
338 <P>
339 <DD><DL>
340
341 <DT><B>Returns:</B><DD>the first selected cell</DL>
342 </DD>
343 </DL>
344 <HR>
345
346 <A NAME="isAddedCell()"><!-- --></A><H3>
347 isAddedCell</H3>
348 <PRE>
349 public boolean <B>isAddedCell</B>()</PRE>
350 <DL>
351 <DD>Returns true if the first cell has been added to the selection, a return
352 value of false means the first cell has been removed from the selection.
353 <P>
354 <DD><DL>
355
356 <DT><B>Returns:</B><DD>whether or not the first cell has been added or removed</DL>
357 </DD>
358 </DL>
359 <HR>
360
361 <A NAME="isAddedCell(java.lang.Object)"><!-- --></A><H3>
362 isAddedCell</H3>
363 <PRE>
364 public boolean <B>isAddedCell</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)</PRE>
365 <DL>
366 <DD>Returns true if the cell identified by cell was added to the selection. A
367 return value of false means the cell was in the selection but is no
368 longer in the selection. This will raise if cell is not one of the cells
369 identified by this event.
370 <P>
371 <DD><DL>
372 <DT><B>Parameters:</B><DD><CODE>cell</CODE> - the cell that is to be indicated as newly selected or not
373 <DT><B>Returns:</B><DD><code>true</code> if the specified cell is newly selected</DL>
374 </DD>
375 </DL>
376 <HR>
377
378 <A NAME="isAddedCell(int)"><!-- --></A><H3>
379 isAddedCell</H3>
380 <PRE>
381 public boolean <B>isAddedCell</B>(int&nbsp;index)</PRE>
382 <DL>
383 <DD>Returns true if the cell identified by <code>index</code> was added to
384 the selection. A return value of false means the cell was in the
385 selection but is no longer in the selection. This will raise an exception
386 if index < 0 || >=<code>getPaths</code> .length.
387 <P>
388 <DD><DL>
389 <DT><B>Parameters:</B><DD><CODE>index</CODE> - the index of <code>areNew</code> of the cell that is to be
390 indicated as newly selected or not
391 <DT><B>Returns:</B><DD>whether or not the cell is newly selected or not</DL>
392 </DD>
393 </DL>
394 <HR>
395
396 <A NAME="cloneWithSource(java.lang.Object)"><!-- --></A><H3>
397 cloneWithSource</H3>
398 <PRE>
399 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>cloneWithSource</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;newSource)</PRE>
400 <DL>
401 <DD>Returns a copy of the receiver, but with the source being newSource.
402 <P>
403 <DD><DL>
404 <DT><B>Parameters:</B><DD><CODE>newSource</CODE> - the new event source
405 <DT><B>Returns:</B><DD>the cloned event with the specified source</DL>
406 </DD>
407 </DL>
408 <!-- ========= END OF CLASS DATA ========= -->
409 <HR>
410
411
412 <!-- ======= START OF BOTTOM NAVBAR ====== -->
413 <A NAME="navbar_bottom"><!-- --></A>
414 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
415 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
416 <TR>
417 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
418 <A NAME="navbar_bottom_firstrow"><!-- --></A>
419 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
420 <TR ALIGN="center" VALIGN="top">
421 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
422 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
423 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
424 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/GraphSelectionEvent.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
425 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
426 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
427 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
428 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
429 </TR>
430 </TABLE>
431 </TD>
432 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
433 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
434 </TD>
435 </TR>
436
437 <TR>
438 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
439 &nbsp;<A HREF="../../../org/jgraph/event/GraphModelEvent.html" title="class in org.jgraph.event"><B>PREV CLASS</B></A>&nbsp;
440 &nbsp;NEXT CLASS</FONT></TD>
441 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
442 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
443 &nbsp;<A HREF="GraphSelectionEvent.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
444 &nbsp;<SCRIPT type="text/javascript">
445 <!--
446 if(window==top) {
447 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
448 }
449 //-->
450 </SCRIPT>
451 <NOSCRIPT>
452 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
453 </NOSCRIPT>
454
455 </FONT></TD>
456 </TR>
457 <TR>
458 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
459 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
460 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
461 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
462 </TR>
463 </TABLE>
464 <A NAME="skip-navbar_bottom"></A>
465 <!-- ======== END OF BOTTOM NAVBAR ======= -->
466
467 <HR>
468 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
469 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
470 </BODY>
471 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26