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

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/graph/EdgeView.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: 65007 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 EdgeView (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.graph.EdgeView 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="EdgeView (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/EdgeView.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/EdgeRenderer.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/graph/EdgeView.EdgeHandle.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="EdgeView.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;<A HREF="#nested_class_summary">NESTED</A>&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 EdgeView</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="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">org.jgraph.graph.AbstractCellView</A>
91 <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>org.jgraph.graph.EdgeView</B>
92 </PRE>
93 <DL>
94 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>, <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>EdgeView</B><DT>extends <A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></DL>
99
100 <P>
101 The default implementation of an edge view. The getEdgeRenderer method
102 assumes a renderer of type EdgeRenderer. If you provide a custom renderer to
103 a subclass, you must also override the methods that call this method, namely:
104 getShape, getLabelBounds, getExtraLabelBounds, intersects and getBounds.
105 <P>
106
107 <P>
108 <DL>
109 <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.jgraph.graph.EdgeView">Serialized Form</A></DL>
110 <HR>
111
112 <P>
113 <!-- ======== NESTED CLASS SUMMARY ======== -->
114
115 <A NAME="nested_class_summary"><!-- --></A>
116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118 <TD COLSPAN=2><FONT SIZE="+2">
119 <B>Nested Class Summary</B></FONT></TD>
120 </TR>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123 <CODE>static&nbsp;class</CODE></FONT></TD>
124 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.EdgeHandle.html" title="class in org.jgraph.graph">EdgeView.EdgeHandle</A></B></CODE>
125
126 <BR>
127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
128 </TR>
129 </TABLE>
130 &nbsp;
131 <!-- =========== FIELD SUMMARY =========== -->
132
133 <A NAME="field_summary"><!-- --></A>
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136 <TD COLSPAN=2><FONT SIZE="+2">
137 <B>Field Summary</B></FONT></TD>
138 </TR>
139 <TR BGCOLOR="white" CLASS="TableRowColor">
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
142 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#beginShape">beginShape</A></B></CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Drawing attributes that are created on the fly</TD>
146 </TR>
147 <TR BGCOLOR="white" CLASS="TableRowColor">
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD>
150 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#cachedBounds">cachedBounds</A></B></CODE>
151
152 <BR>
153 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
154 </TR>
155 <TR BGCOLOR="white" CLASS="TableRowColor">
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
158 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#endShape">endShape</A></B></CODE>
159
160 <BR>
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Drawing attributes that are created on the fly</TD>
162 </TR>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>[]</CODE></FONT></TD>
166 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#extraLabelPositions">extraLabelPositions</A></B></CODE>
167
168 <BR>
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
170 </TR>
171 <TR BGCOLOR="white" CLASS="TableRowColor">
172 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
174 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#labelPosition">labelPosition</A></B></CODE>
175
176 <BR>
177 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cached label position of the edge.</TD>
178 </TR>
179 <TR BGCOLOR="white" CLASS="TableRowColor">
180 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
182 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#labelVector">labelVector</A></B></CODE>
183
184 <BR>
185 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</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/awt/Shape.html" title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
190 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#lineShape">lineShape</A></B></CODE>
191
192 <BR>
193 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Drawing attributes that are created on the fly</TD>
194 </TR>
195 <TR BGCOLOR="white" CLASS="TableRowColor">
196 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
198 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#points">points</A></B></CODE>
199
200 <BR>
201 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;List of points of the edge.</TD>
202 </TR>
203 <TR BGCOLOR="white" CLASS="TableRowColor">
204 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205 <CODE>static&nbsp;<A HREF="../../../org/jgraph/graph/EdgeRenderer.html" title="class in org.jgraph.graph">EdgeRenderer</A></CODE></FONT></TD>
206 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#renderer">renderer</A></B></CODE>
207
208 <BR>
209 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Renderer for the class.</TD>
210 </TR>
211 <TR BGCOLOR="white" CLASS="TableRowColor">
212 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/GeneralPath.html" title="class or interface in java.awt.geom">GeneralPath</A></CODE></FONT></TD>
214 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#sharedPath">sharedPath</A></B></CODE>
215
216 <BR>
217 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shared-path tune-up.</TD>
218 </TR>
219 <TR BGCOLOR="white" CLASS="TableRowColor">
220 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221 <CODE>protected &nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
222 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#source">source</A></B></CODE>
223
224 <BR>
225 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cached source and target portview of the edge.</TD>
226 </TR>
227 <TR BGCOLOR="white" CLASS="TableRowColor">
228 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229 <CODE>protected &nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
230 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#sourceParentView">sourceParentView</A></B></CODE>
231
232 <BR>
233 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
234 </TR>
235 <TR BGCOLOR="white" CLASS="TableRowColor">
236 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237 <CODE>protected &nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
238 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#target">target</A></B></CODE>
239
240 <BR>
241 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cached source and target portview of the edge.</TD>
242 </TR>
243 <TR BGCOLOR="white" CLASS="TableRowColor">
244 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245 <CODE>protected &nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
246 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#targetParentView">targetParentView</A></B></CODE>
247
248 <BR>
249 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
250 </TR>
251 </TABLE>
252 &nbsp;<A NAME="fields_inherited_from_class_org.jgraph.graph.AbstractCellView"><!-- --></A>
253 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
254 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
255 <TD><B>Fields inherited from class org.jgraph.graph.<A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></B></TD>
256 </TR>
257 <TR BGCOLOR="white" CLASS="TableRowColor">
258 <TD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#allAttributes">allAttributes</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#attributes">attributes</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#cell">cell</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#cellEditor">cellEditor</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#childViews">childViews</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#groupBounds">groupBounds</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#parent">parent</A></CODE></TD>
259 </TR>
260 </TABLE>
261 &nbsp;
262 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
263
264 <A NAME="constructor_summary"><!-- --></A>
265 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
266 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
267 <TD COLSPAN=2><FONT SIZE="+2">
268 <B>Constructor Summary</B></FONT></TD>
269 </TR>
270 <TR BGCOLOR="white" CLASS="TableRowColor">
271 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#EdgeView()">EdgeView</A></B>()</CODE>
272
273 <BR>
274 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty edge view.</TD>
275 </TR>
276 <TR BGCOLOR="white" CLASS="TableRowColor">
277 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#EdgeView(java.lang.Object)">EdgeView</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>
278
279 <BR>
280 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an edge view for the specified model object.</TD>
281 </TR>
282 </TABLE>
283 &nbsp;
284 <!-- ========== METHOD SUMMARY =========== -->
285
286 <A NAME="method_summary"><!-- --></A>
287 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
288 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
289 <TD COLSPAN=2><FONT SIZE="+2">
290 <B>Method Summary</B></FONT></TD>
291 </TR>
292 <TR BGCOLOR="white" CLASS="TableRowColor">
293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
294 <CODE>&nbsp;void</CODE></FONT></TD>
295 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#addExtraLabel(java.awt.geom.Point2D, java.lang.Object)">addExtraLabel</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;location,
296 <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;label)</CODE>
297
298 <BR>
299 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an extra label.</TD>
300 </TR>
301 <TR BGCOLOR="white" CLASS="TableRowColor">
302 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
303 <CODE>&nbsp;void</CODE></FONT></TD>
304 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#addPoint(int, java.awt.geom.Point2D)">addPoint</A></B>(int&nbsp;index,
305 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;p)</CODE>
306
307 <BR>
308 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds <code>p</code> at position <code>index</code>.</TD>
309 </TR>
310 <TR BGCOLOR="white" CLASS="TableRowColor">
311 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
312 <CODE>protected &nbsp;void</CODE></FONT></TD>
313 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#checkDefaultLabelPosition()">checkDefaultLabelPosition</A></B>()</CODE>
314
315 <BR>
316 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hook for subclassers to avoid default label positions.</TD>
317 </TR>
318 <TR BGCOLOR="white" CLASS="TableRowColor">
319 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
320 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD>
321 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getBounds()">getBounds</A></B>()</CODE>
322
323 <BR>
324 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the location for this edgeview.</TD>
325 </TR>
326 <TR BGCOLOR="white" CLASS="TableRowColor">
327 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
328 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
329 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getExtraLabelPosition(int)">getExtraLabelPosition</A></B>(int&nbsp;index)</CODE>
330
331 <BR>
332 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a point that describes the position of the label.</TD>
333 </TR>
334 <TR BGCOLOR="white" CLASS="TableRowColor">
335 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
336 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellHandle.html" title="interface in org.jgraph.graph">CellHandle</A></CODE></FONT></TD>
337 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getHandle(org.jgraph.graph.GraphContext)">getHandle</A></B>(<A HREF="../../../org/jgraph/graph/GraphContext.html" title="class in org.jgraph.graph">GraphContext</A>&nbsp;context)</CODE>
338
339 <BR>
340 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a cell handle for the view.</TD>
341 </TR>
342 <TR BGCOLOR="white" CLASS="TableRowColor">
343 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
344 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
345 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getLabelPosition()">getLabelPosition</A></B>()</CODE>
346
347 <BR>
348 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a point that describes the position of the label.</TD>
349 </TR>
350 <TR BGCOLOR="white" CLASS="TableRowColor">
351 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
352 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
353 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getLabelVector()">getLabelVector</A></B>()</CODE>
354
355 <BR>
356 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hook to return the vector that is taken as the base vector to compute
357 relative label positions.</TD>
358 </TR>
359 <TR BGCOLOR="white" CLASS="TableRowColor">
360 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
361 <CODE>static&nbsp;double</CODE></FONT></TD>
362 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getLength(org.jgraph.graph.CellView)">getLength</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;view)</CODE>
363
364 <BR>
365 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
366 </TR>
367 <TR BGCOLOR="white" CLASS="TableRowColor">
368 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
369 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
370 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getNearestPoint(boolean)">getNearestPoint</A></B>(boolean&nbsp;source)</CODE>
371
372 <BR>
373 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the nearest point wrt to the source or target.</TD>
374 </TR>
375 <TR BGCOLOR="white" CLASS="TableRowColor">
376 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
377 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
378 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getPerimeterPoint(org.jgraph.graph.EdgeView, java.awt.geom.Point2D, java.awt.geom.Point2D)">getPerimeterPoint</A></B>(<A HREF="../../../org/jgraph/graph/EdgeView.html" title="class in org.jgraph.graph">EdgeView</A>&nbsp;edge,
379 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;source,
380 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;p)</CODE>
381
382 <BR>
383 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the intersection of the bounding rectangle and the straight line
384 between the source and the specified point p.</TD>
385 </TR>
386 <TR BGCOLOR="white" CLASS="TableRowColor">
387 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
388 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
389 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getPoint(int)">getPoint</A></B>(int&nbsp;index)</CODE>
390
391 <BR>
392 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cached points for this edge.</TD>
393 </TR>
394 <TR BGCOLOR="white" CLASS="TableRowColor">
395 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
396 <CODE>&nbsp;int</CODE></FONT></TD>
397 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getPointCount()">getPointCount</A></B>()</CODE>
398
399 <BR>
400 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of point for this edge.</TD>
401 </TR>
402 <TR BGCOLOR="white" CLASS="TableRowColor">
403 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404 <CODE>protected &nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A></CODE></FONT></TD>
405 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getPointLocation(int)">getPointLocation</A></B>(int&nbsp;index)</CODE>
406
407 <BR>
408 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the point of <code>edge</code> at <code>index</code>.</TD>
409 </TR>
410 <TR BGCOLOR="white" CLASS="TableRowColor">
411 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
412 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A></CODE></FONT></TD>
413 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getPoints()">getPoints</A></B>()</CODE>
414
415 <BR>
416 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the points.</TD>
417 </TR>
418 <TR BGCOLOR="white" CLASS="TableRowColor">
419 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
420 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellViewRenderer.html" title="interface in org.jgraph.graph">CellViewRenderer</A></CODE></FONT></TD>
421 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getRenderer()">getRenderer</A></B>()</CODE>
422
423 <BR>
424 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a renderer for the class.</TD>
425 </TR>
426 <TR BGCOLOR="white" CLASS="TableRowColor">
427 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
428 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A></CODE></FONT></TD>
429 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getShape()">getShape</A></B>()</CODE>
430
431 <BR>
432 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the shape of the view according to the last rendering state</TD>
433 </TR>
434 <TR BGCOLOR="white" CLASS="TableRowColor">
435 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
436 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
437 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getSource()">getSource</A></B>()</CODE>
438
439 <BR>
440 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the CellView that represents the source of the edge.</TD>
441 </TR>
442 <TR BGCOLOR="white" CLASS="TableRowColor">
443 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
444 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
445 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getSourceParentView()">getSourceParentView</A></B>()</CODE>
446
447 <BR>
448 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
449 </TR>
450 <TR BGCOLOR="white" CLASS="TableRowColor">
451 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
452 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
453 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getTarget()">getTarget</A></B>()</CODE>
454
455 <BR>
456 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the CellView that represents the target of the edge.</TD>
457 </TR>
458 <TR BGCOLOR="white" CLASS="TableRowColor">
459 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
460 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
461 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getTargetParentView()">getTargetParentView</A></B>()</CODE>
462
463 <BR>
464 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
465 </TR>
466 <TR BGCOLOR="white" CLASS="TableRowColor">
467 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
468 <CODE>protected &nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
469 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#getVisibleParent(org.jgraph.graph.GraphModel, org.jgraph.graph.CellMapper, java.lang.Object)">getVisibleParent</A></B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A>&nbsp;model,
470 <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>&nbsp;mapper,
471 <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)</CODE>
472
473 <BR>
474 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
475 </TR>
476 <TR BGCOLOR="white" CLASS="TableRowColor">
477 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
478 <CODE>&nbsp;boolean</CODE></FONT></TD>
479 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#intersects(org.jgraph.JGraph, java.awt.geom.Rectangle2D)">intersects</A></B>(<A HREF="../../../org/jgraph/JGraph.html" title="class in org.jgraph">JGraph</A>&nbsp;graph,
480 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A>&nbsp;rect)</CODE>
481
482 <BR>
483 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this view intersects the given rectangle.</TD>
484 </TR>
485 <TR BGCOLOR="white" CLASS="TableRowColor">
486 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
487 <CODE>protected &nbsp;void</CODE></FONT></TD>
488 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#invalidate()">invalidate</A></B>()</CODE>
489
490 <BR>
491 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets the cached values of the edge view</TD>
492 </TR>
493 <TR BGCOLOR="white" CLASS="TableRowColor">
494 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
495 <CODE>&nbsp;boolean</CODE></FONT></TD>
496 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#isLoop()">isLoop</A></B>()</CODE>
497
498 <BR>
499 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the edge is a loop.</TD>
500 </TR>
501 <TR BGCOLOR="white" CLASS="TableRowColor">
502 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
503 <CODE>&nbsp;void</CODE></FONT></TD>
504 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#refresh(org.jgraph.graph.GraphLayoutCache, org.jgraph.graph.CellMapper, boolean)">refresh</A></B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache,
505 <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>&nbsp;mapper,
506 boolean&nbsp;createDependentViews)</CODE>
507
508 <BR>
509 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Overrides the parent method to udpate the cached points, source and
510 target port.</TD>
511 </TR>
512 <TR BGCOLOR="white" CLASS="TableRowColor">
513 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
514 <CODE>&nbsp;void</CODE></FONT></TD>
515 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#removeExtraLabel(int)">removeExtraLabel</A></B>(int&nbsp;index)</CODE>
516
517 <BR>
518 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the point at position <code>index</code>.</TD>
519 </TR>
520 <TR BGCOLOR="white" CLASS="TableRowColor">
521 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
522 <CODE>&nbsp;void</CODE></FONT></TD>
523 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#removePoint(int)">removePoint</A></B>(int&nbsp;index)</CODE>
524
525 <BR>
526 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the point at position <code>index</code>.</TD>
527 </TR>
528 <TR BGCOLOR="white" CLASS="TableRowColor">
529 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
530 <CODE>&nbsp;void</CODE></FONT></TD>
531 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#setExtraLabelPosition(int, java.awt.geom.Point2D)">setExtraLabelPosition</A></B>(int&nbsp;index,
532 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;pos)</CODE>
533
534 <BR>
535 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the description of the label position.</TD>
536 </TR>
537 <TR BGCOLOR="white" CLASS="TableRowColor">
538 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
539 <CODE>&nbsp;void</CODE></FONT></TD>
540 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#setLabelPosition(java.awt.geom.Point2D)">setLabelPosition</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;pos)</CODE>
541
542 <BR>
543 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the description of the label position.</TD>
544 </TR>
545 <TR BGCOLOR="white" CLASS="TableRowColor">
546 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
547 <CODE>&nbsp;void</CODE></FONT></TD>
548 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#setPoint(int, java.awt.geom.Point2D)">setPoint</A></B>(int&nbsp;index,
549 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;p)</CODE>
550
551 <BR>
552 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the point at <code>index</code> to <code>p</code>.</TD>
553 </TR>
554 <TR BGCOLOR="white" CLASS="TableRowColor">
555 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
556 <CODE>&nbsp;void</CODE></FONT></TD>
557 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#setSource(org.jgraph.graph.CellView)">setSource</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;sourceView)</CODE>
558
559 <BR>
560 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <code>sourceView</code> of the edge.</TD>
561 </TR>
562 <TR BGCOLOR="white" CLASS="TableRowColor">
563 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
564 <CODE>&nbsp;void</CODE></FONT></TD>
565 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#setTarget(org.jgraph.graph.CellView)">setTarget</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;targetView)</CODE>
566
567 <BR>
568 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the <code>targetView</code> of the edge.</TD>
569 </TR>
570 <TR BGCOLOR="white" CLASS="TableRowColor">
571 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
572 <CODE>&nbsp;void</CODE></FONT></TD>
573 <TD><CODE><B><A HREF="../../../org/jgraph/graph/EdgeView.html#update(org.jgraph.graph.GraphLayoutCache)">update</A></B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache)</CODE>
574
575 <BR>
576 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update attributes and recurse children.</TD>
577 </TR>
578 </TABLE>
579 &nbsp;<A NAME="methods_inherited_from_class_org.jgraph.graph.AbstractCellView"><!-- --></A>
580 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
581 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
582 <TD><B>Methods inherited from class org.jgraph.graph.<A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></B></TD>
583 </TR>
584 <TR BGCOLOR="white" CLASS="TableRowColor">
585 <TD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#changeAttributes(org.jgraph.graph.GraphLayoutCache, java.util.Map)">changeAttributes</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#childUpdated()">childUpdated</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#createAttributeMap()">createAttributeMap</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getAllAttributes()">getAllAttributes</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getAttributes()">getAttributes</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getBounds(org.jgraph.graph.CellView[])">getBounds</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getCell()">getCell</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getCellAttributes(org.jgraph.graph.GraphModel)">getCellAttributes</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getCenterPoint(org.jgraph.graph.CellView)">getCenterPoint</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getChildViews()">getChildViews</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getDescendantViews(org.jgraph.graph.CellView[])">getDescendantViews</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getEditor()">getEditor</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getParentView()">getParentView</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#getRendererComponent(org.jgraph.JGraph, boolean, boolean, boolean)">getRendererComponent</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#includeInGroupBounds(org.jgraph.graph.CellView)">includeInGroupBounds</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#isLeaf()">isLeaf</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#mergeAttributes()">mergeAttributes</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#removeFromParent()">removeFromParent</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#scale(double, double, java.awt.geom.Point2D)">scale</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#setAttributes(org.jgraph.graph.AttributeMap)">setAttributes</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#setBounds(java.awt.geom.Rectangle2D)">setBounds</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#setCell(java.lang.Object)">setCell</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#translate(double, double)">translate</A>, <A HREF="../../../org/jgraph/graph/AbstractCellView.html#updateGroupBounds()">updateGroupBounds</A></CODE></TD>
586 </TR>
587 </TABLE>
588 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
589 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
590 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
591 <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>
592 </TR>
593 <TR BGCOLOR="white" CLASS="TableRowColor">
594 <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#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>
595 </TR>
596 </TABLE>
597 &nbsp;
598 <P>
599
600 <!-- ============ FIELD DETAIL =========== -->
601
602 <A NAME="field_detail"><!-- --></A>
603 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
604 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
605 <TD COLSPAN=1><FONT SIZE="+2">
606 <B>Field Detail</B></FONT></TD>
607 </TR>
608 </TABLE>
609
610 <A NAME="renderer"><!-- --></A><H3>
611 renderer</H3>
612 <PRE>
613 public static transient <A HREF="../../../org/jgraph/graph/EdgeRenderer.html" title="class in org.jgraph.graph">EdgeRenderer</A> <B>renderer</B></PRE>
614 <DL>
615 <DD>Renderer for the class.
616 <P>
617 <DL>
618 </DL>
619 </DL>
620 <HR>
621
622 <A NAME="points"><!-- --></A><H3>
623 points</H3>
624 <PRE>
625 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>points</B></PRE>
626 <DL>
627 <DD>List of points of the edge. May contain ports.
628 <P>
629 <DL>
630 </DL>
631 </DL>
632 <HR>
633
634 <A NAME="source"><!-- --></A><H3>
635 source</H3>
636 <PRE>
637 protected <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>source</B></PRE>
638 <DL>
639 <DD>Cached source and target portview of the edge.
640 <P>
641 <DL>
642 </DL>
643 </DL>
644 <HR>
645
646 <A NAME="target"><!-- --></A><H3>
647 target</H3>
648 <PRE>
649 protected <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>target</B></PRE>
650 <DL>
651 <DD>Cached source and target portview of the edge.
652 <P>
653 <DL>
654 </DL>
655 </DL>
656 <HR>
657
658 <A NAME="sourceParentView"><!-- --></A><H3>
659 sourceParentView</H3>
660 <PRE>
661 protected <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>sourceParentView</B></PRE>
662 <DL>
663 <DL>
664 </DL>
665 </DL>
666 <HR>
667
668 <A NAME="targetParentView"><!-- --></A><H3>
669 targetParentView</H3>
670 <PRE>
671 protected <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>targetParentView</B></PRE>
672 <DL>
673 <DL>
674 </DL>
675 </DL>
676 <HR>
677
678 <A NAME="labelPosition"><!-- --></A><H3>
679 labelPosition</H3>
680 <PRE>
681 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>labelPosition</B></PRE>
682 <DL>
683 <DD>Cached label position of the edge.
684 <P>
685 <DL>
686 </DL>
687 </DL>
688 <HR>
689
690 <A NAME="extraLabelPositions"><!-- --></A><H3>
691 extraLabelPositions</H3>
692 <PRE>
693 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>[] <B>extraLabelPositions</B></PRE>
694 <DL>
695 <DL>
696 </DL>
697 </DL>
698 <HR>
699
700 <A NAME="labelVector"><!-- --></A><H3>
701 labelVector</H3>
702 <PRE>
703 protected transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>labelVector</B></PRE>
704 <DL>
705 <DL>
706 </DL>
707 </DL>
708 <HR>
709
710 <A NAME="beginShape"><!-- --></A><H3>
711 beginShape</H3>
712 <PRE>
713 public transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A> <B>beginShape</B></PRE>
714 <DL>
715 <DD>Drawing attributes that are created on the fly
716 <P>
717 <DL>
718 </DL>
719 </DL>
720 <HR>
721
722 <A NAME="endShape"><!-- --></A><H3>
723 endShape</H3>
724 <PRE>
725 public transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A> <B>endShape</B></PRE>
726 <DL>
727 <DD>Drawing attributes that are created on the fly
728 <P>
729 <DL>
730 </DL>
731 </DL>
732 <HR>
733
734 <A NAME="lineShape"><!-- --></A><H3>
735 lineShape</H3>
736 <PRE>
737 public transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A> <B>lineShape</B></PRE>
738 <DL>
739 <DD>Drawing attributes that are created on the fly
740 <P>
741 <DL>
742 </DL>
743 </DL>
744 <HR>
745
746 <A NAME="sharedPath"><!-- --></A><H3>
747 sharedPath</H3>
748 <PRE>
749 public transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/GeneralPath.html" title="class or interface in java.awt.geom">GeneralPath</A> <B>sharedPath</B></PRE>
750 <DL>
751 <DD>Shared-path tune-up.
752 <P>
753 <DL>
754 </DL>
755 </DL>
756 <HR>
757
758 <A NAME="cachedBounds"><!-- --></A><H3>
759 cachedBounds</H3>
760 <PRE>
761 protected transient <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> <B>cachedBounds</B></PRE>
762 <DL>
763 <DL>
764 </DL>
765 </DL>
766
767 <!-- ========= CONSTRUCTOR DETAIL ======== -->
768
769 <A NAME="constructor_detail"><!-- --></A>
770 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
771 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
772 <TD COLSPAN=1><FONT SIZE="+2">
773 <B>Constructor Detail</B></FONT></TD>
774 </TR>
775 </TABLE>
776
777 <A NAME="EdgeView()"><!-- --></A><H3>
778 EdgeView</H3>
779 <PRE>
780 public <B>EdgeView</B>()</PRE>
781 <DL>
782 <DD>Constructs an empty edge view.
783 <P>
784 </DL>
785 <HR>
786
787 <A NAME="EdgeView(java.lang.Object)"><!-- --></A><H3>
788 EdgeView</H3>
789 <PRE>
790 public <B>EdgeView</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>
791 <DL>
792 <DD>Constructs an edge view for the specified model object.
793 <P>
794 <DT><B>Parameters:</B><DD><CODE>cell</CODE> - reference to the model object</DL>
795
796 <!-- ============ METHOD DETAIL ========== -->
797
798 <A NAME="method_detail"><!-- --></A>
799 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
800 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
801 <TD COLSPAN=1><FONT SIZE="+2">
802 <B>Method Detail</B></FONT></TD>
803 </TR>
804 </TABLE>
805
806 <A NAME="refresh(org.jgraph.graph.GraphLayoutCache, org.jgraph.graph.CellMapper, boolean)"><!-- --></A><H3>
807 refresh</H3>
808 <PRE>
809 public void <B>refresh</B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache,
810 <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>&nbsp;mapper,
811 boolean&nbsp;createDependentViews)</PRE>
812 <DL>
813 <DD>Overrides the parent method to udpate the cached points, source and
814 target port. If the source or target is removed, a point is inserted into
815 the array of points.
816 <P>
817 <DD><DL>
818 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#refresh(org.jgraph.graph.GraphLayoutCache, org.jgraph.graph.CellMapper, boolean)">refresh</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#refresh(org.jgraph.graph.GraphLayoutCache, org.jgraph.graph.CellMapper, boolean)">refresh</A></CODE> in class <CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></CODE></DL>
819 </DD>
820 <DD><DL>
821 <DT><B>Parameters:</B><DD><CODE>cache</CODE> - the graph model to be used<DD><CODE>mapper</CODE> - the cell mapper to be used<DD><CODE>createDependentViews</CODE> - whether or not to create a view if one does not already exist</DL>
822 </DD>
823 </DL>
824 <HR>
825
826 <A NAME="getVisibleParent(org.jgraph.graph.GraphModel, org.jgraph.graph.CellMapper, java.lang.Object)"><!-- --></A><H3>
827 getVisibleParent</H3>
828 <PRE>
829 protected <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getVisibleParent</B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A>&nbsp;model,
830 <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>&nbsp;mapper,
831 <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)</PRE>
832 <DL>
833 <DD><DL>
834 </DL>
835 </DD>
836 </DL>
837 <HR>
838
839 <A NAME="update(org.jgraph.graph.GraphLayoutCache)"><!-- --></A><H3>
840 update</H3>
841 <PRE>
842 public void <B>update</B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache)</PRE>
843 <DL>
844 <DD>Update attributes and recurse children.
845 <P>
846 <DD><DL>
847 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#update(org.jgraph.graph.GraphLayoutCache)">update</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#update(org.jgraph.graph.GraphLayoutCache)">update</A></CODE> in class <CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></CODE></DL>
848 </DD>
849 <DD><DL>
850 </DL>
851 </DD>
852 </DL>
853 <HR>
854
855 <A NAME="checkDefaultLabelPosition()"><!-- --></A><H3>
856 checkDefaultLabelPosition</H3>
857 <PRE>
858 protected void <B>checkDefaultLabelPosition</B>()</PRE>
859 <DL>
860 <DD>Hook for subclassers to avoid default label positions.
861 <P>
862 <DD><DL>
863 </DL>
864 </DD>
865 </DL>
866 <HR>
867
868 <A NAME="invalidate()"><!-- --></A><H3>
869 invalidate</H3>
870 <PRE>
871 protected void <B>invalidate</B>()</PRE>
872 <DL>
873 <DD>Resets the cached values of the edge view
874 <P>
875 <DD><DL>
876 </DL>
877 </DD>
878 </DL>
879 <HR>
880
881 <A NAME="getShape()"><!-- --></A><H3>
882 getShape</H3>
883 <PRE>
884 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Shape.html" title="class or interface in java.awt">Shape</A> <B>getShape</B>()</PRE>
885 <DL>
886 <DD>Returns the shape of the view according to the last rendering state
887 <P>
888 <DD><DL>
889 </DL>
890 </DD>
891 </DL>
892 <HR>
893
894 <A NAME="intersects(org.jgraph.JGraph, java.awt.geom.Rectangle2D)"><!-- --></A><H3>
895 intersects</H3>
896 <PRE>
897 public boolean <B>intersects</B>(<A HREF="../../../org/jgraph/JGraph.html" title="class in org.jgraph">JGraph</A>&nbsp;graph,
898 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A>&nbsp;rect)</PRE>
899 <DL>
900 <DD>Returns true if this view intersects the given rectangle.
901 <P>
902 <DD><DL>
903 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#intersects(org.jgraph.JGraph, java.awt.geom.Rectangle2D)">intersects</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#intersects(org.jgraph.JGraph, java.awt.geom.Rectangle2D)">intersects</A></CODE> in class <CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></CODE></DL>
904 </DD>
905 <DD><DL>
906 <DT><B>Parameters:</B><DD><CODE>graph</CODE> - the <code>JGraph</code> instance of the view<DD><CODE>rect</CODE> - the rectangle within which intersection is being checked for
907 <DT><B>Returns:</B><DD>whether or not the rectangle specified intersects the view</DL>
908 </DD>
909 </DL>
910 <HR>
911
912 <A NAME="getBounds()"><!-- --></A><H3>
913 getBounds</H3>
914 <PRE>
915 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A> <B>getBounds</B>()</PRE>
916 <DL>
917 <DD>Returns the location for this edgeview.
918 <P>
919 <DD><DL>
920 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getBounds()">getBounds</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getBounds()">getBounds</A></CODE> in class <CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></CODE></DL>
921 </DD>
922 <DD><DL>
923 </DL>
924 </DD>
925 </DL>
926 <HR>
927
928 <A NAME="getRenderer()"><!-- --></A><H3>
929 getRenderer</H3>
930 <PRE>
931 public <A HREF="../../../org/jgraph/graph/CellViewRenderer.html" title="interface in org.jgraph.graph">CellViewRenderer</A> <B>getRenderer</B>()</PRE>
932 <DL>
933 <DD>Returns a renderer for the class.
934 <P>
935 <DD><DL>
936 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getRenderer()">getRenderer</A></CODE> in class <CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></CODE></DL>
937 </DD>
938 <DD><DL>
939
940 <DT><B>Returns:</B><DD>the renderer instance for this view</DL>
941 </DD>
942 </DL>
943 <HR>
944
945 <A NAME="getHandle(org.jgraph.graph.GraphContext)"><!-- --></A><H3>
946 getHandle</H3>
947 <PRE>
948 public <A HREF="../../../org/jgraph/graph/CellHandle.html" title="interface in org.jgraph.graph">CellHandle</A> <B>getHandle</B>(<A HREF="../../../org/jgraph/graph/GraphContext.html" title="class in org.jgraph.graph">GraphContext</A>&nbsp;context)</PRE>
949 <DL>
950 <DD>Returns a cell handle for the view.
951 <P>
952 <DD><DL>
953 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getHandle(org.jgraph.graph.GraphContext)">getHandle</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getHandle(org.jgraph.graph.GraphContext)">getHandle</A></CODE> in class <CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></CODE></DL>
954 </DD>
955 <DD><DL>
956 <DT><B>Parameters:</B><DD><CODE>context</CODE> - the context of this cell view (cells indirectly affected by
957 it)
958 <DT><B>Returns:</B><DD>the cell handle for this view</DL>
959 </DD>
960 </DL>
961 <HR>
962
963 <A NAME="getSource()"><!-- --></A><H3>
964 getSource</H3>
965 <PRE>
966 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getSource</B>()</PRE>
967 <DL>
968 <DD>Returns the CellView that represents the source of the edge.
969 <P>
970 <DD><DL>
971 </DL>
972 </DD>
973 </DL>
974 <HR>
975
976 <A NAME="getSourceParentView()"><!-- --></A><H3>
977 getSourceParentView</H3>
978 <PRE>
979 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getSourceParentView</B>()</PRE>
980 <DL>
981 <DD><DL>
982 </DL>
983 </DD>
984 </DL>
985 <HR>
986
987 <A NAME="setSource(org.jgraph.graph.CellView)"><!-- --></A><H3>
988 setSource</H3>
989 <PRE>
990 public void <B>setSource</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;sourceView)</PRE>
991 <DL>
992 <DD>Sets the <code>sourceView</code> of the edge.
993 <P>
994 <DD><DL>
995 </DL>
996 </DD>
997 </DL>
998 <HR>
999
1000 <A NAME="getTarget()"><!-- --></A><H3>
1001 getTarget</H3>
1002 <PRE>
1003 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getTarget</B>()</PRE>
1004 <DL>
1005 <DD>Returns the CellView that represents the target of the edge.
1006 <P>
1007 <DD><DL>
1008 </DL>
1009 </DD>
1010 </DL>
1011 <HR>
1012
1013 <A NAME="getTargetParentView()"><!-- --></A><H3>
1014 getTargetParentView</H3>
1015 <PRE>
1016 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getTargetParentView</B>()</PRE>
1017 <DL>
1018 <DD><DL>
1019 </DL>
1020 </DD>
1021 </DL>
1022 <HR>
1023
1024 <A NAME="setTarget(org.jgraph.graph.CellView)"><!-- --></A><H3>
1025 setTarget</H3>
1026 <PRE>
1027 public void <B>setTarget</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;targetView)</PRE>
1028 <DL>
1029 <DD>Sets the <code>targetView</code> of the edge.
1030 <P>
1031 <DD><DL>
1032 </DL>
1033 </DD>
1034 </DL>
1035 <HR>
1036
1037 <A NAME="getExtraLabelPosition(int)"><!-- --></A><H3>
1038 getExtraLabelPosition</H3>
1039 <PRE>
1040 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>getExtraLabelPosition</B>(int&nbsp;index)</PRE>
1041 <DL>
1042 <DD>Returns a point that describes the position of the label.
1043 <P>
1044 <DD><DL>
1045 </DL>
1046 </DD>
1047 </DL>
1048 <HR>
1049
1050 <A NAME="getLabelPosition()"><!-- --></A><H3>
1051 getLabelPosition</H3>
1052 <PRE>
1053 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>getLabelPosition</B>()</PRE>
1054 <DL>
1055 <DD>Returns a point that describes the position of the label.
1056 <P>
1057 <DD><DL>
1058 </DL>
1059 </DD>
1060 </DL>
1061 <HR>
1062
1063 <A NAME="setLabelPosition(java.awt.geom.Point2D)"><!-- --></A><H3>
1064 setLabelPosition</H3>
1065 <PRE>
1066 public void <B>setLabelPosition</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;pos)</PRE>
1067 <DL>
1068 <DD>Sets the description of the label position.
1069 <P>
1070 <DD><DL>
1071 </DL>
1072 </DD>
1073 </DL>
1074 <HR>
1075
1076 <A NAME="setExtraLabelPosition(int, java.awt.geom.Point2D)"><!-- --></A><H3>
1077 setExtraLabelPosition</H3>
1078 <PRE>
1079 public void <B>setExtraLabelPosition</B>(int&nbsp;index,
1080 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;pos)</PRE>
1081 <DL>
1082 <DD>Sets the description of the label position.
1083 <P>
1084 <DD><DL>
1085 </DL>
1086 </DD>
1087 </DL>
1088 <HR>
1089
1090 <A NAME="isLoop()"><!-- --></A><H3>
1091 isLoop</H3>
1092 <PRE>
1093 public boolean <B>isLoop</B>()</PRE>
1094 <DL>
1095 <DD>Returns true if the edge is a loop.
1096 <P>
1097 <DD><DL>
1098 </DL>
1099 </DD>
1100 </DL>
1101 <HR>
1102
1103 <A NAME="getPoints()"><!-- --></A><H3>
1104 getPoints</H3>
1105 <PRE>
1106 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/List.html" title="class or interface in java.util">List</A> <B>getPoints</B>()</PRE>
1107 <DL>
1108 <DD>Returns the points.
1109 <P>
1110 <DD><DL>
1111
1112 <DT><B>Returns:</B><DD>List</DL>
1113 </DD>
1114 </DL>
1115 <HR>
1116
1117 <A NAME="getPointCount()"><!-- --></A><H3>
1118 getPointCount</H3>
1119 <PRE>
1120 public int <B>getPointCount</B>()</PRE>
1121 <DL>
1122 <DD>Returns the number of point for this edge.
1123 <P>
1124 <DD><DL>
1125 </DL>
1126 </DD>
1127 </DL>
1128 <HR>
1129
1130 <A NAME="getPoint(int)"><!-- --></A><H3>
1131 getPoint</H3>
1132 <PRE>
1133 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>getPoint</B>(int&nbsp;index)</PRE>
1134 <DL>
1135 <DD>Returns the cached points for this edge.
1136 <P>
1137 <DD><DL>
1138 </DL>
1139 </DD>
1140 </DL>
1141 <HR>
1142
1143 <A NAME="getNearestPoint(boolean)"><!-- --></A><H3>
1144 getNearestPoint</H3>
1145 <PRE>
1146 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>getNearestPoint</B>(boolean&nbsp;source)</PRE>
1147 <DL>
1148 <DD>Returns the nearest point wrt to the source or target. This method
1149 returns the next or previous point or port in the points list, eg. if
1150 source is true it returns the location of the point or port at index 1
1151 without calling the getLocation method on any ports.<br>
1152 Likewise, the method returns the location at index getPointCount()-2 if
1153 source is false.
1154 <P>
1155 <DD><DL>
1156 </DL>
1157 </DD>
1158 </DL>
1159 <HR>
1160
1161 <A NAME="getPointLocation(int)"><!-- --></A><H3>
1162 getPointLocation</H3>
1163 <PRE>
1164 protected <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>getPointLocation</B>(int&nbsp;index)</PRE>
1165 <DL>
1166 <DD>Returns the point of <code>edge</code> at <code>index</code>. Avoids
1167 calling <code>getLocation</code> on any ports of <code>edge</code>.
1168 <br>
1169 This is used from within getPoint to pass the nearest point to the
1170 portview to find it's location. This uses the center point of the parent
1171 view to determine the port view's location to avoid infinite recursion.
1172 <P>
1173 <DD><DL>
1174 </DL>
1175 </DD>
1176 </DL>
1177 <HR>
1178
1179 <A NAME="setPoint(int, java.awt.geom.Point2D)"><!-- --></A><H3>
1180 setPoint</H3>
1181 <PRE>
1182 public void <B>setPoint</B>(int&nbsp;index,
1183 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;p)</PRE>
1184 <DL>
1185 <DD>Sets the point at <code>index</code> to <code>p</code>.
1186 <P>
1187 <DD><DL>
1188 </DL>
1189 </DD>
1190 </DL>
1191 <HR>
1192
1193 <A NAME="addPoint(int, java.awt.geom.Point2D)"><!-- --></A><H3>
1194 addPoint</H3>
1195 <PRE>
1196 public void <B>addPoint</B>(int&nbsp;index,
1197 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;p)</PRE>
1198 <DL>
1199 <DD>Adds <code>p</code> at position <code>index</code>.
1200 <P>
1201 <DD><DL>
1202 </DL>
1203 </DD>
1204 </DL>
1205 <HR>
1206
1207 <A NAME="removePoint(int)"><!-- --></A><H3>
1208 removePoint</H3>
1209 <PRE>
1210 public void <B>removePoint</B>(int&nbsp;index)</PRE>
1211 <DL>
1212 <DD>Removes the point at position <code>index</code>.
1213 <P>
1214 <DD><DL>
1215 </DL>
1216 </DD>
1217 </DL>
1218 <HR>
1219
1220 <A NAME="addExtraLabel(java.awt.geom.Point2D, java.lang.Object)"><!-- --></A><H3>
1221 addExtraLabel</H3>
1222 <PRE>
1223 public void <B>addExtraLabel</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;location,
1224 <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;label)</PRE>
1225 <DL>
1226 <DD>Adds an extra label.
1227 <P>
1228 <DD><DL>
1229 </DL>
1230 </DD>
1231 </DL>
1232 <HR>
1233
1234 <A NAME="removeExtraLabel(int)"><!-- --></A><H3>
1235 removeExtraLabel</H3>
1236 <PRE>
1237 public void <B>removeExtraLabel</B>(int&nbsp;index)</PRE>
1238 <DL>
1239 <DD>Removes the point at position <code>index</code>.
1240 <P>
1241 <DD><DL>
1242 </DL>
1243 </DD>
1244 </DL>
1245 <HR>
1246
1247 <A NAME="getLabelVector()"><!-- --></A><H3>
1248 getLabelVector</H3>
1249 <PRE>
1250 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>getLabelVector</B>()</PRE>
1251 <DL>
1252 <DD>Hook to return the vector that is taken as the base vector to compute
1253 relative label positions. Normally, the vector goes from the first to the
1254 last point on the edge, unless these points are equal, in which case the
1255 average distance of all points to the source point is used.
1256 <P>
1257 <DD><DL>
1258 </DL>
1259 </DD>
1260 </DL>
1261 <HR>
1262
1263 <A NAME="getLength(org.jgraph.graph.CellView)"><!-- --></A><H3>
1264 getLength</H3>
1265 <PRE>
1266 public static double <B>getLength</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;view)</PRE>
1267 <DL>
1268 <DD><DL>
1269 </DL>
1270 </DD>
1271 </DL>
1272 <HR>
1273
1274 <A NAME="getPerimeterPoint(org.jgraph.graph.EdgeView, java.awt.geom.Point2D, java.awt.geom.Point2D)"><!-- --></A><H3>
1275 getPerimeterPoint</H3>
1276 <PRE>
1277 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A> <B>getPerimeterPoint</B>(<A HREF="../../../org/jgraph/graph/EdgeView.html" title="class in org.jgraph.graph">EdgeView</A>&nbsp;edge,
1278 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;source,
1279 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/geom/Point2D.html" title="class or interface in java.awt.geom">Point2D</A>&nbsp;p)</PRE>
1280 <DL>
1281 <DD><B>Description copied from class: <CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></CODE></B></DD>
1282 <DD>Returns the intersection of the bounding rectangle and the straight line
1283 between the source and the specified point p. The specified point is
1284 expected not to intersect the bounds. Note: You must override this method
1285 if you use a different renderer. This is because this method relies on
1286 the VertexRenderer interface, which can not be safely assumed for
1287 subclassers.
1288 <P>
1289 <DD><DL>
1290 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getPerimeterPoint(org.jgraph.graph.EdgeView, java.awt.geom.Point2D, java.awt.geom.Point2D)">getPerimeterPoint</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getPerimeterPoint(org.jgraph.graph.EdgeView, java.awt.geom.Point2D, java.awt.geom.Point2D)">getPerimeterPoint</A></CODE> in class <CODE><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></CODE></DL>
1291 </DD>
1292 <DD><DL>
1293 </DL>
1294 </DD>
1295 </DL>
1296 <!-- ========= END OF CLASS DATA ========= -->
1297 <HR>
1298
1299
1300 <!-- ======= START OF BOTTOM NAVBAR ====== -->
1301 <A NAME="navbar_bottom"><!-- --></A>
1302 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1303 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1304 <TR>
1305 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1306 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1307 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1308 <TR ALIGN="center" VALIGN="top">
1309 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1310 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1311 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1312 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/EdgeView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1313 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1314 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1315 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1316 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1317 </TR>
1318 </TABLE>
1319 </TD>
1320 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1321 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
1322 </TD>
1323 </TR>
1324
1325 <TR>
1326 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1327 &nbsp;<A HREF="../../../org/jgraph/graph/EdgeRenderer.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
1328 &nbsp;<A HREF="../../../org/jgraph/graph/EdgeView.EdgeHandle.html" title="class in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
1329 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1330 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
1331 &nbsp;<A HREF="EdgeView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1332 &nbsp;<SCRIPT type="text/javascript">
1333 <!--
1334 if(window==top) {
1335 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
1336 }
1337 //-->
1338 </SCRIPT>
1339 <NOSCRIPT>
1340 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
1341 </NOSCRIPT>
1342
1343 </FONT></TD>
1344 </TR>
1345 <TR>
1346 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1347 SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&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>
1348 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1349 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>
1350 </TR>
1351 </TABLE>
1352 <A NAME="skip-navbar_bottom"></A>
1353 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1354
1355 <HR>
1356 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
1357 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
1358 </BODY>
1359 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26