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

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/graph/ConnectionSet.Connection.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: 21923 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:31 BST 2007 -->
6 <TITLE>
7 ConnectionSet.Connection (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.graph.ConnectionSet.Connection 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="ConnectionSet.Connection (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/ConnectionSet.Connection.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/ConnectionSet.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.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="ConnectionSet.Connection.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.graph</FONT>
86 <BR>
87 Class ConnectionSet.Connection</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"><B>org.jgraph.graph.ConnectionSet.Connection</B>
91 </PRE>
92 <DL>
93 <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>
94 </DL>
95 <DL>
96 <DT><B>Enclosing class:</B><DD><A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph">ConnectionSet</A></DD>
97 </DL>
98 <HR>
99 <DL>
100 <DT>public static class <B>ConnectionSet.Connection</B><DT>extends <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/Serializable.html" title="class or interface in java.io">Serializable</A></DL>
101
102 <P>
103 Object that represents the connection between an edge and a port.
104 <P>
105
106 <P>
107 <DL>
108 <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.jgraph.graph.ConnectionSet.Connection">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 <TR BGCOLOR="white" CLASS="TableRowColor">
124 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125 <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>
126 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#edge">edge</A></B></CODE>
127
128 <BR>
129 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The edge that will be connected to the port.</TD>
130 </TR>
131 <TR BGCOLOR="white" CLASS="TableRowColor">
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133 <CODE>protected &nbsp;boolean</CODE></FONT></TD>
134 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#isSource">isSource</A></B></CODE>
135
136 <BR>
137 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates if <code>port</code> is the source of <code>edge</code>.</TD>
138 </TR>
139 <TR BGCOLOR="white" CLASS="TableRowColor">
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141 <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>
142 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#port">port</A></B></CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The port that will be connected to the edge.</TD>
146 </TR>
147 </TABLE>
148 &nbsp;
149 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
150
151 <A NAME="constructor_summary"><!-- --></A>
152 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
153 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
154 <TD COLSPAN=2><FONT SIZE="+2">
155 <B>Constructor Summary</B></FONT></TD>
156 </TR>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#ConnectionSet.Connection()">ConnectionSet.Connection</A></B>()</CODE>
159
160 <BR>
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
162 </TR>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#ConnectionSet.Connection(java.lang.Object, java.lang.Object, boolean)">ConnectionSet.Connection</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;edge,
165 <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;port,
166 boolean&nbsp;isSource)</CODE>
167
168 <BR>
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new source or target connection between
170 <code>edge</code> and <code>port</code> based on the value of
171 <code>source</code></TD>
172 </TR>
173 </TABLE>
174 &nbsp;
175 <!-- ========== METHOD SUMMARY =========== -->
176
177 <A NAME="method_summary"><!-- --></A>
178 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
179 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
180 <TD COLSPAN=2><FONT SIZE="+2">
181 <B>Method Summary</B></FONT></TD>
182 </TR>
183 <TR BGCOLOR="white" CLASS="TableRowColor">
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185 <CODE>&nbsp;boolean</CODE></FONT></TD>
186 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#equals(java.lang.Object)">equals</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;obj)</CODE>
187
188 <BR>
189 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Two connections are equal if they represent the source or target of
190 the same edge.</TD>
191 </TR>
192 <TR BGCOLOR="white" CLASS="TableRowColor">
193 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
194 <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>
195 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#getEdge()">getEdge</A></B>()</CODE>
196
197 <BR>
198 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the edge of the connection.</TD>
199 </TR>
200 <TR BGCOLOR="white" CLASS="TableRowColor">
201 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
202 <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>
203 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#getPort()">getPort</A></B>()</CODE>
204
205 <BR>
206 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the port of the connection.</TD>
207 </TR>
208 <TR BGCOLOR="white" CLASS="TableRowColor">
209 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
210 <CODE>&nbsp;int</CODE></FONT></TD>
211 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#hashCode()">hashCode</A></B>()</CODE>
212
213 <BR>
214 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Ensure equality of hashCode wrt equals().</TD>
215 </TR>
216 <TR BGCOLOR="white" CLASS="TableRowColor">
217 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
218 <CODE>&nbsp;boolean</CODE></FONT></TD>
219 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#isSource()">isSource</A></B>()</CODE>
220
221 <BR>
222 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if <code>port</code> is the source of
223 <code>edge</code>.</TD>
224 </TR>
225 <TR BGCOLOR="white" CLASS="TableRowColor">
226 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227 <CODE>&nbsp;void</CODE></FONT></TD>
228 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#setEdge(java.lang.Object)">setEdge</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;object)</CODE>
229
230 <BR>
231 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
232 </TR>
233 <TR BGCOLOR="white" CLASS="TableRowColor">
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235 <CODE>&nbsp;void</CODE></FONT></TD>
236 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#setPort(java.lang.Object)">setPort</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;object)</CODE>
237
238 <BR>
239 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
240 </TR>
241 <TR BGCOLOR="white" CLASS="TableRowColor">
242 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243 <CODE>&nbsp;void</CODE></FONT></TD>
244 <TD><CODE><B><A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html#setSource(boolean)">setSource</A></B>(boolean&nbsp;b)</CODE>
245
246 <BR>
247 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
248 </TR>
249 </TABLE>
250 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></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 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>
254 </TR>
255 <TR BGCOLOR="white" CLASS="TableRowColor">
256 <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#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#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#toString()" title="class or interface in java.lang">toString</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>
257 </TR>
258 </TABLE>
259 &nbsp;
260 <P>
261
262 <!-- ============ FIELD DETAIL =========== -->
263
264 <A NAME="field_detail"><!-- --></A>
265 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
266 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
267 <TD COLSPAN=1><FONT SIZE="+2">
268 <B>Field Detail</B></FONT></TD>
269 </TR>
270 </TABLE>
271
272 <A NAME="edge"><!-- --></A><H3>
273 edge</H3>
274 <PRE>
275 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>edge</B></PRE>
276 <DL>
277 <DD>The edge that will be connected to the port.
278 <P>
279 <DL>
280 </DL>
281 </DL>
282 <HR>
283
284 <A NAME="port"><!-- --></A><H3>
285 port</H3>
286 <PRE>
287 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>port</B></PRE>
288 <DL>
289 <DD>The port that will be connected to the edge.
290 <P>
291 <DL>
292 </DL>
293 </DL>
294 <HR>
295
296 <A NAME="isSource"><!-- --></A><H3>
297 isSource</H3>
298 <PRE>
299 protected boolean <B>isSource</B></PRE>
300 <DL>
301 <DD>Indicates if <code>port</code> is the source of <code>edge</code>.
302 <P>
303 <DL>
304 </DL>
305 </DL>
306
307 <!-- ========= CONSTRUCTOR DETAIL ======== -->
308
309 <A NAME="constructor_detail"><!-- --></A>
310 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
311 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
312 <TD COLSPAN=1><FONT SIZE="+2">
313 <B>Constructor Detail</B></FONT></TD>
314 </TR>
315 </TABLE>
316
317 <A NAME="ConnectionSet.Connection()"><!-- --></A><H3>
318 ConnectionSet.Connection</H3>
319 <PRE>
320 public <B>ConnectionSet.Connection</B>()</PRE>
321 <DL>
322 </DL>
323 <HR>
324
325 <A NAME="ConnectionSet.Connection(java.lang.Object, java.lang.Object, boolean)"><!-- --></A><H3>
326 ConnectionSet.Connection</H3>
327 <PRE>
328 public <B>ConnectionSet.Connection</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;edge,
329 <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;port,
330 boolean&nbsp;isSource)</PRE>
331 <DL>
332 <DD>Constructs a new source or target connection between
333 <code>edge</code> and <code>port</code> based on the value of
334 <code>source</code>
335 <P>
336 </DL>
337
338 <!-- ============ METHOD DETAIL ========== -->
339
340 <A NAME="method_detail"><!-- --></A>
341 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
342 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
343 <TD COLSPAN=1><FONT SIZE="+2">
344 <B>Method Detail</B></FONT></TD>
345 </TR>
346 </TABLE>
347
348 <A NAME="getEdge()"><!-- --></A><H3>
349 getEdge</H3>
350 <PRE>
351 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>getEdge</B>()</PRE>
352 <DL>
353 <DD>Returns the edge of the connection.
354 <P>
355 <DD><DL>
356 </DL>
357 </DD>
358 <DD><DL>
359 </DL>
360 </DD>
361 </DL>
362 <HR>
363
364 <A NAME="getPort()"><!-- --></A><H3>
365 getPort</H3>
366 <PRE>
367 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>getPort</B>()</PRE>
368 <DL>
369 <DD>Returns the port of the connection.
370 <P>
371 <DD><DL>
372 </DL>
373 </DD>
374 <DD><DL>
375 </DL>
376 </DD>
377 </DL>
378 <HR>
379
380 <A NAME="isSource()"><!-- --></A><H3>
381 isSource</H3>
382 <PRE>
383 public boolean <B>isSource</B>()</PRE>
384 <DL>
385 <DD>Returns <code>true</code> if <code>port</code> is the source of
386 <code>edge</code>.
387 <P>
388 <DD><DL>
389 </DL>
390 </DD>
391 <DD><DL>
392 </DL>
393 </DD>
394 </DL>
395 <HR>
396
397 <A NAME="equals(java.lang.Object)"><!-- --></A><H3>
398 equals</H3>
399 <PRE>
400 public boolean <B>equals</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;obj)</PRE>
401 <DL>
402 <DD>Two connections are equal if they represent the source or target of
403 the same edge. That is, if
404 <p>
405 c1.edge == c2.edge && c1.isSource == c2.isSource.
406 <P>
407 <DD><DL>
408 </DL>
409 </DD>
410 <DD><DL>
411 </DL>
412 </DD>
413 </DL>
414 <HR>
415
416 <A NAME="hashCode()"><!-- --></A><H3>
417 hashCode</H3>
418 <PRE>
419 public int <B>hashCode</B>()</PRE>
420 <DL>
421 <DD>Ensure equality of hashCode wrt equals().
422 <P>
423 <DD><DL>
424 </DL>
425 </DD>
426 <DD><DL>
427 </DL>
428 </DD>
429 </DL>
430 <HR>
431
432 <A NAME="setEdge(java.lang.Object)"><!-- --></A><H3>
433 setEdge</H3>
434 <PRE>
435 public void <B>setEdge</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;object)</PRE>
436 <DL>
437 <DD><DL>
438 </DL>
439 </DD>
440 <DD><DL>
441 <DT><B>Parameters:</B><DD><CODE>object</CODE> - </DL>
442 </DD>
443 </DL>
444 <HR>
445
446 <A NAME="setSource(boolean)"><!-- --></A><H3>
447 setSource</H3>
448 <PRE>
449 public void <B>setSource</B>(boolean&nbsp;b)</PRE>
450 <DL>
451 <DD><DL>
452 </DL>
453 </DD>
454 <DD><DL>
455 <DT><B>Parameters:</B><DD><CODE>b</CODE> - </DL>
456 </DD>
457 </DL>
458 <HR>
459
460 <A NAME="setPort(java.lang.Object)"><!-- --></A><H3>
461 setPort</H3>
462 <PRE>
463 public void <B>setPort</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;object)</PRE>
464 <DL>
465 <DD><DL>
466 </DL>
467 </DD>
468 <DD><DL>
469 <DT><B>Parameters:</B><DD><CODE>object</CODE> - </DL>
470 </DD>
471 </DL>
472 <!-- ========= END OF CLASS DATA ========= -->
473 <HR>
474
475
476 <!-- ======= START OF BOTTOM NAVBAR ====== -->
477 <A NAME="navbar_bottom"><!-- --></A>
478 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
479 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
480 <TR>
481 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
482 <A NAME="navbar_bottom_firstrow"><!-- --></A>
483 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
484 <TR ALIGN="center" VALIGN="top">
485 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
486 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
487 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
488 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ConnectionSet.Connection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
489 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
490 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
491 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
492 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
493 </TR>
494 </TABLE>
495 </TD>
496 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
497 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
498 </TD>
499 </TR>
500
501 <TR>
502 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
503 &nbsp;<A HREF="../../../org/jgraph/graph/ConnectionSet.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
504 &nbsp;<A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html" title="class in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
505 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
506 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
507 &nbsp;<A HREF="ConnectionSet.Connection.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
508 &nbsp;<SCRIPT type="text/javascript">
509 <!--
510 if(window==top) {
511 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
512 }
513 //-->
514 </SCRIPT>
515 <NOSCRIPT>
516 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
517 </NOSCRIPT>
518
519 </FONT></TD>
520 </TR>
521 <TR>
522 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
523 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>
524 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
525 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>
526 </TR>
527 </TABLE>
528 <A NAME="skip-navbar_bottom"></A>
529 <!-- ======== END OF BOTTOM NAVBAR ======= -->
530
531 <HR>
532 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
533 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
534 </BODY>
535 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26