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

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/graph/AbstractCellView.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: 58261 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 AbstractCellView (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.graph.AbstractCellView 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="AbstractCellView (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/AbstractCellView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
43 </TR>
44 </TABLE>
45 </TD>
46 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
48 </TD>
49 </TR>
50
51 <TR>
52 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53 &nbsp;PREV CLASS&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.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="AbstractCellView.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 AbstractCellView</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.AbstractCellView</B>
91 </PRE>
92 <DL>
93 <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>
94 </DL>
95 <DL>
96 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../org/jgraph/graph/EdgeView.html" title="class in org.jgraph.graph">EdgeView</A>, <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A>, <A HREF="../../../org/jgraph/graph/VertexView.html" title="class in org.jgraph.graph">VertexView</A></DD>
97 </DL>
98 <HR>
99 <DL>
100 <DT>public abstract class <B>AbstractCellView</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="../../../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></DL>
101
102 <P>
103 The abstract base class for all cell views.
104 <P>
105
106 <P>
107 <DL>
108 <DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.jgraph.graph.AbstractCellView">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="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A></CODE></FONT></TD>
126 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#allAttributes">allAttributes</A></B></CODE>
127
128 <BR>
129 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Contains the complete set of attributes, including the cell's attributes.</TD>
130 </TR>
131 <TR BGCOLOR="white" CLASS="TableRowColor">
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133 <CODE>protected &nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A></CODE></FONT></TD>
134 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#attributes">attributes</A></B></CODE>
135
136 <BR>
137 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hashtable for attributes.</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/AbstractCellView.html#cell">cell</A></B></CODE>
143
144 <BR>
145 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Reference to the cell for this view</TD>
146 </TR>
147 <TR BGCOLOR="white" CLASS="TableRowColor">
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149 <CODE>static&nbsp;<A HREF="../../../org/jgraph/graph/GraphCellEditor.html" title="interface in org.jgraph.graph">GraphCellEditor</A></CODE></FONT></TD>
150 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#cellEditor">cellEditor</A></B></CODE>
151
152 <BR>
153 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Editor for the cell.</TD>
154 </TR>
155 <TR BGCOLOR="white" CLASS="TableRowColor">
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157 <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>
158 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#childViews">childViews</A></B></CODE>
159
160 <BR>
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cached child views.</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/Rectangle2D.html" title="class or interface in java.awt.geom">Rectangle2D</A></CODE></FONT></TD>
166 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#groupBounds">groupBounds</A></B></CODE>
167
168 <BR>
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cached bounds of all children if vertex is a group</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="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
174 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#parent">parent</A></B></CODE>
175
176 <BR>
177 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cached parent view</TD>
178 </TR>
179 </TABLE>
180 &nbsp;
181 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
182
183 <A NAME="constructor_summary"><!-- --></A>
184 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
186 <TD COLSPAN=2><FONT SIZE="+2">
187 <B>Constructor Summary</B></FONT></TD>
188 </TR>
189 <TR BGCOLOR="white" CLASS="TableRowColor">
190 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#AbstractCellView()">AbstractCellView</A></B>()</CODE>
191
192 <BR>
193 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs an empty abstract cell view.</TD>
194 </TR>
195 <TR BGCOLOR="white" CLASS="TableRowColor">
196 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#AbstractCellView(java.lang.Object)">AbstractCellView</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>
197
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a view for the specified model object, and invokes update on
200 the new instance.</TD>
201 </TR>
202 </TABLE>
203 &nbsp;
204 <!-- ========== METHOD SUMMARY =========== -->
205
206 <A NAME="method_summary"><!-- --></A>
207 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
208 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
209 <TD COLSPAN=2><FONT SIZE="+2">
210 <B>Method Summary</B></FONT></TD>
211 </TR>
212 <TR BGCOLOR="white" CLASS="TableRowColor">
213 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
214 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A></CODE></FONT></TD>
215 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#changeAttributes(org.jgraph.graph.GraphLayoutCache, java.util.Map)">changeAttributes</A></B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache,
216 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;change)</CODE>
217
218 <BR>
219 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Applies <code>change</code> to the attributes of the view and calls
220 update.</TD>
221 </TR>
222 <TR BGCOLOR="white" CLASS="TableRowColor">
223 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
224 <CODE>&nbsp;void</CODE></FONT></TD>
225 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#childUpdated()">childUpdated</A></B>()</CODE>
226
227 <BR>
228 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates to parent, if any, that this child has been updated.</TD>
229 </TR>
230 <TR BGCOLOR="white" CLASS="TableRowColor">
231 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
232 <CODE>protected &nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A></CODE></FONT></TD>
233 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#createAttributeMap()">createAttributeMap</A></B>()</CODE>
234
235 <BR>
236 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hook for subclassers to avoid creating an empty AttributeMap during
237 construction of the instance.</TD>
238 </TR>
239 <TR BGCOLOR="white" CLASS="TableRowColor">
240 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
241 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A></CODE></FONT></TD>
242 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getAllAttributes()">getAllAttributes</A></B>()</CODE>
243
244 <BR>
245 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the attributes of the view combined with the attributes of the
246 corresponding cell.</TD>
247 </TR>
248 <TR BGCOLOR="white" CLASS="TableRowColor">
249 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A></CODE></FONT></TD>
251 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getAttributes()">getAttributes</A></B>()</CODE>
252
253 <BR>
254 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the attributes of the view.</TD>
255 </TR>
256 <TR BGCOLOR="white" CLASS="TableRowColor">
257 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
258 <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>
259 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getBounds()">getBounds</A></B>()</CODE>
260
261 <BR>
262 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the cached bounds for the group if isleaf is false</TD>
263 </TR>
264 <TR BGCOLOR="white" CLASS="TableRowColor">
265 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
266 <CODE>static&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>
267 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getBounds(org.jgraph.graph.CellView[])">getBounds</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]&nbsp;views)</CODE>
268
269 <BR>
270 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounding box for the specified views.</TD>
271 </TR>
272 <TR BGCOLOR="white" CLASS="TableRowColor">
273 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
274 <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>
275 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getCell()">getCell</A></B>()</CODE>
276
277 <BR>
278 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the model object that this view represents.</TD>
279 </TR>
280 <TR BGCOLOR="white" CLASS="TableRowColor">
281 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
282 <CODE>protected &nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A></CODE></FONT></TD>
283 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getCellAttributes(org.jgraph.graph.GraphModel)">getCellAttributes</A></B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A>&nbsp;model)</CODE>
284
285 <BR>
286 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hook for subclassers to avoid cloning the cell's attributes.</TD>
287 </TR>
288 <TR BGCOLOR="white" CLASS="TableRowColor">
289 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
290 <CODE>static&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>
291 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getCenterPoint(org.jgraph.graph.CellView)">getCenterPoint</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;vertex)</CODE>
292
293 <BR>
294 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
295 </TR>
296 <TR BGCOLOR="white" CLASS="TableRowColor">
297 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
298 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
299 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getChildViews()">getChildViews</A></B>()</CODE>
300
301 <BR>
302 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the child views of this view.</TD>
303 </TR>
304 <TR BGCOLOR="white" CLASS="TableRowColor">
305 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
306 <CODE>static&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
307 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getDescendantViews(org.jgraph.graph.CellView[])">getDescendantViews</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]&nbsp;views)</CODE>
308
309 <BR>
310 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all views, including descendants that have a parent in
311 <code>views</code> without the PortViews.</TD>
312 </TR>
313 <TR BGCOLOR="white" CLASS="TableRowColor">
314 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
315 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/GraphCellEditor.html" title="interface in org.jgraph.graph">GraphCellEditor</A></CODE></FONT></TD>
316 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getEditor()">getEditor</A></B>()</CODE>
317
318 <BR>
319 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a cell editor for the view.</TD>
320 </TR>
321 <TR BGCOLOR="white" CLASS="TableRowColor">
322 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
323 <CODE>abstract &nbsp;<A HREF="../../../org/jgraph/graph/CellHandle.html" title="interface in org.jgraph.graph">CellHandle</A></CODE></FONT></TD>
324 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.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>
325
326 <BR>
327 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a cell handle for the view.</TD>
328 </TR>
329 <TR BGCOLOR="white" CLASS="TableRowColor">
330 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
331 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
332 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getParentView()">getParentView</A></B>()</CODE>
333
334 <BR>
335 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parent view for this view.</TD>
336 </TR>
337 <TR BGCOLOR="white" CLASS="TableRowColor">
338 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
339 <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>
340 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.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,
341 <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,
342 <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>
343
344 <BR>
345 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the intersection of the bounding rectangle and the straight line
346 between the source and the specified point p.</TD>
347 </TR>
348 <TR BGCOLOR="white" CLASS="TableRowColor">
349 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
350 <CODE>abstract &nbsp;<A HREF="../../../org/jgraph/graph/CellViewRenderer.html" title="interface in org.jgraph.graph">CellViewRenderer</A></CODE></FONT></TD>
351 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getRenderer()">getRenderer</A></B>()</CODE>
352
353 <BR>
354 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Obtains the renderer instance for this view</TD>
355 </TR>
356 <TR BGCOLOR="white" CLASS="TableRowColor">
357 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
358 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A></CODE></FONT></TD>
359 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#getRendererComponent(org.jgraph.JGraph, boolean, boolean, boolean)">getRendererComponent</A></B>(<A HREF="../../../org/jgraph/JGraph.html" title="class in org.jgraph">JGraph</A>&nbsp;graph,
360 boolean&nbsp;selected,
361 boolean&nbsp;focus,
362 boolean&nbsp;preview)</CODE>
363
364 <BR>
365 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a renderer component, configured for the view.</TD>
366 </TR>
367 <TR BGCOLOR="white" CLASS="TableRowColor">
368 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
369 <CODE>protected &nbsp;boolean</CODE></FONT></TD>
370 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#includeInGroupBounds(org.jgraph.graph.CellView)">includeInGroupBounds</A></B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;view)</CODE>
371
372 <BR>
373 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is used to exclude certain cell views from the group bounds
374 computation.</TD>
375 </TR>
376 <TR BGCOLOR="white" CLASS="TableRowColor">
377 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
378 <CODE>&nbsp;boolean</CODE></FONT></TD>
379 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.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,
380 <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>
381
382 <BR>
383 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the view intersects the given rectangle.</TD>
384 </TR>
385 <TR BGCOLOR="white" CLASS="TableRowColor">
386 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
387 <CODE>&nbsp;boolean</CODE></FONT></TD>
388 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#isLeaf()">isLeaf</A></B>()</CODE>
389
390 <BR>
391 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if the view is a leaf.</TD>
392 </TR>
393 <TR BGCOLOR="white" CLASS="TableRowColor">
394 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
395 <CODE>protected &nbsp;void</CODE></FONT></TD>
396 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#mergeAttributes()">mergeAttributes</A></B>()</CODE>
397
398 <BR>
399 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Implements the merging of the cell's attributes, initially stored in
400 allAttributes, and the location attributes.</TD>
401 </TR>
402 <TR BGCOLOR="white" CLASS="TableRowColor">
403 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
404 <CODE>&nbsp;void</CODE></FONT></TD>
405 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.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,
406 <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>&nbsp;mapper,
407 boolean&nbsp;createDependentViews)</CODE>
408
409 <BR>
410 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create child views and reload properties for this view.</TD>
411 </TR>
412 <TR BGCOLOR="white" CLASS="TableRowColor">
413 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
414 <CODE>&nbsp;void</CODE></FONT></TD>
415 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#removeFromParent()">removeFromParent</A></B>()</CODE>
416
417 <BR>
418 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes this view from the list of children of the parent.</TD>
419 </TR>
420 <TR BGCOLOR="white" CLASS="TableRowColor">
421 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
422 <CODE>&nbsp;void</CODE></FONT></TD>
423 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#scale(double, double, java.awt.geom.Point2D)">scale</A></B>(double&nbsp;sx,
424 double&nbsp;sy,
425 <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;origin)</CODE>
426
427 <BR>
428 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scale <code>view</code> (group) by <code>sx, sy</code>.</TD>
429 </TR>
430 <TR BGCOLOR="white" CLASS="TableRowColor">
431 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
432 <CODE>&nbsp;void</CODE></FONT></TD>
433 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#setAttributes(org.jgraph.graph.AttributeMap)">setAttributes</A></B>(<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A>&nbsp;attributes)</CODE>
434
435 <BR>
436 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the attributes of this view to the specified value</TD>
437 </TR>
438 <TR BGCOLOR="white" CLASS="TableRowColor">
439 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
440 <CODE>&nbsp;void</CODE></FONT></TD>
441 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#setBounds(java.awt.geom.Rectangle2D)">setBounds</A></B>(<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;bounds)</CODE>
442
443 <BR>
444 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the bounds of this <code>view</code>.</TD>
445 </TR>
446 <TR BGCOLOR="white" CLASS="TableRowColor">
447 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
448 <CODE>&nbsp;void</CODE></FONT></TD>
449 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#setCell(java.lang.Object)">setCell</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>
450
451 <BR>
452 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the model object that this view represents to the specified cell</TD>
453 </TR>
454 <TR BGCOLOR="white" CLASS="TableRowColor">
455 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
456 <CODE>&nbsp;void</CODE></FONT></TD>
457 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#translate(double, double)">translate</A></B>(double&nbsp;dx,
458 double&nbsp;dy)</CODE>
459
460 <BR>
461 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates <code>view</code> (group) by <code>dx, dy</code>.</TD>
462 </TR>
463 <TR BGCOLOR="white" CLASS="TableRowColor">
464 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
465 <CODE>&nbsp;void</CODE></FONT></TD>
466 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.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>
467
468 <BR>
469 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update attributes for this view and indicate to the parent this child has
470 been updated</TD>
471 </TR>
472 <TR BGCOLOR="white" CLASS="TableRowColor">
473 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
474 <CODE>protected &nbsp;void</CODE></FONT></TD>
475 <TD><CODE><B><A HREF="../../../org/jgraph/graph/AbstractCellView.html#updateGroupBounds()">updateGroupBounds</A></B>()</CODE>
476
477 <BR>
478 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Updates the bounds of this view and its children</TD>
479 </TR>
480 </TABLE>
481 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
482 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
483 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
484 <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>
485 </TR>
486 <TR BGCOLOR="white" CLASS="TableRowColor">
487 <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>
488 </TR>
489 </TABLE>
490 &nbsp;
491 <P>
492
493 <!-- ============ FIELD DETAIL =========== -->
494
495 <A NAME="field_detail"><!-- --></A>
496 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
497 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
498 <TD COLSPAN=1><FONT SIZE="+2">
499 <B>Field Detail</B></FONT></TD>
500 </TR>
501 </TABLE>
502
503 <A NAME="cellEditor"><!-- --></A><H3>
504 cellEditor</H3>
505 <PRE>
506 public static transient <A HREF="../../../org/jgraph/graph/GraphCellEditor.html" title="interface in org.jgraph.graph">GraphCellEditor</A> <B>cellEditor</B></PRE>
507 <DL>
508 <DD>Editor for the cell.
509 <P>
510 <DL>
511 </DL>
512 </DL>
513 <HR>
514
515 <A NAME="cell"><!-- --></A><H3>
516 cell</H3>
517 <PRE>
518 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>cell</B></PRE>
519 <DL>
520 <DD>Reference to the cell for this view
521 <P>
522 <DL>
523 </DL>
524 </DL>
525 <HR>
526
527 <A NAME="parent"><!-- --></A><H3>
528 parent</H3>
529 <PRE>
530 protected <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>parent</B></PRE>
531 <DL>
532 <DD>Cached parent view
533 <P>
534 <DL>
535 </DL>
536 </DL>
537 <HR>
538
539 <A NAME="childViews"><!-- --></A><H3>
540 childViews</H3>
541 <PRE>
542 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>childViews</B></PRE>
543 <DL>
544 <DD>Cached child views. Default is a ArrayList with allocation size 0.
545 <P>
546 <DL>
547 </DL>
548 </DL>
549 <HR>
550
551 <A NAME="allAttributes"><!-- --></A><H3>
552 allAttributes</H3>
553 <PRE>
554 protected <A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A> <B>allAttributes</B></PRE>
555 <DL>
556 <DD>Contains the complete set of attributes, including the cell's attributes.
557 The values in this map are overriden by the corresponding values in
558 <code>attributes</code>.
559 <P>
560 <DL>
561 </DL>
562 </DL>
563 <HR>
564
565 <A NAME="attributes"><!-- --></A><H3>
566 attributes</H3>
567 <PRE>
568 protected <A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A> <B>attributes</B></PRE>
569 <DL>
570 <DD>Hashtable for attributes. Value in this map override the values in
571 <code>allAttributes</code>.
572 <P>
573 <DL>
574 </DL>
575 </DL>
576 <HR>
577
578 <A NAME="groupBounds"><!-- --></A><H3>
579 groupBounds</H3>
580 <PRE>
581 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>groupBounds</B></PRE>
582 <DL>
583 <DD>Cached bounds of all children if vertex is a group
584 <P>
585 <DL>
586 </DL>
587 </DL>
588
589 <!-- ========= CONSTRUCTOR DETAIL ======== -->
590
591 <A NAME="constructor_detail"><!-- --></A>
592 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
593 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
594 <TD COLSPAN=1><FONT SIZE="+2">
595 <B>Constructor Detail</B></FONT></TD>
596 </TR>
597 </TABLE>
598
599 <A NAME="AbstractCellView()"><!-- --></A><H3>
600 AbstractCellView</H3>
601 <PRE>
602 public <B>AbstractCellView</B>()</PRE>
603 <DL>
604 <DD>Constructs an empty abstract cell view. You should set a cell on this
605 view using setCell before doing anything. Optionally you can also set a
606 different attribute map using setAttributeMap. Note: To change the
607 attribute map you should now use the changeAttributes method.
608 <P>
609 </DL>
610 <HR>
611
612 <A NAME="AbstractCellView(java.lang.Object)"><!-- --></A><H3>
613 AbstractCellView</H3>
614 <PRE>
615 public <B>AbstractCellView</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>
616 <DL>
617 <DD>Constructs a view for the specified model object, and invokes update on
618 the new instance.
619 <P>
620 <DT><B>Parameters:</B><DD><CODE>cell</CODE> - reference to the model object</DL>
621
622 <!-- ============ METHOD DETAIL ========== -->
623
624 <A NAME="method_detail"><!-- --></A>
625 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
626 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
627 <TD COLSPAN=1><FONT SIZE="+2">
628 <B>Method Detail</B></FONT></TD>
629 </TR>
630 </TABLE>
631
632 <A NAME="createAttributeMap()"><!-- --></A><H3>
633 createAttributeMap</H3>
634 <PRE>
635 protected <A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A> <B>createAttributeMap</B>()</PRE>
636 <DL>
637 <DD>Hook for subclassers to avoid creating an empty AttributeMap during
638 construction of the instance. Override this and return null if you want
639 to avoid creation of an attribute map at construction time.
640 <P>
641 <DD><DL>
642 </DL>
643 </DD>
644 <DD><DL>
645 </DL>
646 </DD>
647 </DL>
648 <HR>
649
650 <A NAME="getCell()"><!-- --></A><H3>
651 getCell</H3>
652 <PRE>
653 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>getCell</B>()</PRE>
654 <DL>
655 <DD>Returns the model object that this view represents.
656 <P>
657 <DD><DL>
658 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getCell()">getCell</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
659 </DD>
660 <DD><DL>
661
662 <DT><B>Returns:</B><DD>the model object that this view represents</DL>
663 </DD>
664 </DL>
665 <HR>
666
667 <A NAME="setCell(java.lang.Object)"><!-- --></A><H3>
668 setCell</H3>
669 <PRE>
670 public void <B>setCell</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>
671 <DL>
672 <DD>Sets the model object that this view represents to the specified cell
673 <P>
674 <DD><DL>
675 </DL>
676 </DD>
677 <DD><DL>
678 <DT><B>Parameters:</B><DD><CODE>cell</CODE> - the model object this view will represent</DL>
679 </DD>
680 </DL>
681 <HR>
682
683 <A NAME="refresh(org.jgraph.graph.GraphLayoutCache, org.jgraph.graph.CellMapper, boolean)"><!-- --></A><H3>
684 refresh</H3>
685 <PRE>
686 public void <B>refresh</B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache,
687 <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>&nbsp;mapper,
688 boolean&nbsp;createDependentViews)</PRE>
689 <DL>
690 <DD>Create child views and reload properties for this view. Invokes update
691 first.
692 <P>
693 <DD><DL>
694 <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></DL>
695 </DD>
696 <DD><DL>
697 <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>
698 </DD>
699 </DL>
700 <HR>
701
702 <A NAME="getCellAttributes(org.jgraph.graph.GraphModel)"><!-- --></A><H3>
703 getCellAttributes</H3>
704 <PRE>
705 protected <A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A> <B>getCellAttributes</B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A>&nbsp;model)</PRE>
706 <DL>
707 <DD>Hook for subclassers to avoid cloning the cell's attributes. Return
708 model.getAttributes(cell) to avoid cloning.
709 <P>
710 <DD><DL>
711 </DL>
712 </DD>
713 <DD><DL>
714 </DL>
715 </DD>
716 </DL>
717 <HR>
718
719 <A NAME="update(org.jgraph.graph.GraphLayoutCache)"><!-- --></A><H3>
720 update</H3>
721 <PRE>
722 public void <B>update</B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache)</PRE>
723 <DL>
724 <DD>Update attributes for this view and indicate to the parent this child has
725 been updated
726 <P>
727 <DD><DL>
728 <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></DL>
729 </DD>
730 <DD><DL>
731 <DT><B>Parameters:</B><DD><CODE>cache</CODE> - TODO</DL>
732 </DD>
733 </DL>
734 <HR>
735
736 <A NAME="mergeAttributes()"><!-- --></A><H3>
737 mergeAttributes</H3>
738 <PRE>
739 protected void <B>mergeAttributes</B>()</PRE>
740 <DL>
741 <DD>Implements the merging of the cell's attributes, initially stored in
742 allAttributes, and the location attributes. The result should be stored
743 in allAttributes. This hook is for subclassers to change the merging
744 strategy.
745 <P>
746 <DD><DL>
747 </DL>
748 </DD>
749 <DD><DL>
750 </DL>
751 </DD>
752 </DL>
753 <HR>
754
755 <A NAME="childUpdated()"><!-- --></A><H3>
756 childUpdated</H3>
757 <PRE>
758 public void <B>childUpdated</B>()</PRE>
759 <DL>
760 <DD>Indicates to parent, if any, that this child has been updated.
761 <P>
762 <DD><DL>
763 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#childUpdated()">childUpdated</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
764 </DD>
765 <DD><DL>
766 </DL>
767 </DD>
768 </DL>
769 <HR>
770
771 <A NAME="getParentView()"><!-- --></A><H3>
772 getParentView</H3>
773 <PRE>
774 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getParentView</B>()</PRE>
775 <DL>
776 <DD>Returns the parent view for this view.
777 <P>
778 <DD><DL>
779 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getParentView()">getParentView</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
780 </DD>
781 <DD><DL>
782
783 <DT><B>Returns:</B><DD>the parent view for this view</DL>
784 </DD>
785 </DL>
786 <HR>
787
788 <A NAME="getChildViews()"><!-- --></A><H3>
789 getChildViews</H3>
790 <PRE>
791 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getChildViews</B>()</PRE>
792 <DL>
793 <DD>Returns the child views of this view.
794 <P>
795 <DD><DL>
796 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getChildViews()">getChildViews</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
797 </DD>
798 <DD><DL>
799
800 <DT><B>Returns:</B><DD>the child views of this view</DL>
801 </DD>
802 </DL>
803 <HR>
804
805 <A NAME="getDescendantViews(org.jgraph.graph.CellView[])"><!-- --></A><H3>
806 getDescendantViews</H3>
807 <PRE>
808 public static <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getDescendantViews</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]&nbsp;views)</PRE>
809 <DL>
810 <DD>Returns all views, including descendants that have a parent in
811 <code>views</code> without the PortViews. Note: Iterative
812 Implementation using view.getChildViews. This returns the array in
813 inverse order, ie with the top most cell view at index 0.
814 <P>
815 <DD><DL>
816 </DL>
817 </DD>
818 <DD><DL>
819 <DT><B>Parameters:</B><DD><CODE>views</CODE> - the cell views whose descendants are to be returned
820 <DT><B>Returns:</B><DD>the specified views and all their descendant views</DL>
821 </DD>
822 </DL>
823 <HR>
824
825 <A NAME="removeFromParent()"><!-- --></A><H3>
826 removeFromParent</H3>
827 <PRE>
828 public void <B>removeFromParent</B>()</PRE>
829 <DL>
830 <DD>Removes this view from the list of children of the parent.
831 <P>
832 <DD><DL>
833 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#removeFromParent()">removeFromParent</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
834 </DD>
835 <DD><DL>
836 </DL>
837 </DD>
838 </DL>
839 <HR>
840
841 <A NAME="isLeaf()"><!-- --></A><H3>
842 isLeaf</H3>
843 <PRE>
844 public boolean <B>isLeaf</B>()</PRE>
845 <DL>
846 <DD>Returns <code>true</code> if the view is a leaf.
847 <P>
848 <DD><DL>
849 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#isLeaf()">isLeaf</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
850 </DD>
851 <DD><DL>
852
853 <DT><B>Returns:</B><DD><code>true</code> if the view is a leaf</DL>
854 </DD>
855 </DL>
856 <HR>
857
858 <A NAME="getAttributes()"><!-- --></A><H3>
859 getAttributes</H3>
860 <PRE>
861 public <A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A> <B>getAttributes</B>()</PRE>
862 <DL>
863 <DD>Return the attributes of the view.
864 <P>
865 <DD><DL>
866 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getAttributes()">getAttributes</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
867 </DD>
868 <DD><DL>
869
870 <DT><B>Returns:</B><DD>the <code>attributes</code> of this view</DL>
871 </DD>
872 </DL>
873 <HR>
874
875 <A NAME="setAttributes(org.jgraph.graph.AttributeMap)"><!-- --></A><H3>
876 setAttributes</H3>
877 <PRE>
878 public void <B>setAttributes</B>(<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A>&nbsp;attributes)</PRE>
879 <DL>
880 <DD>Sets the attributes of this view to the specified value
881 <P>
882 <DD><DL>
883 </DL>
884 </DD>
885 <DD><DL>
886 <DT><B>Parameters:</B><DD><CODE>attributes</CODE> - the new attributes to set</DL>
887 </DD>
888 </DL>
889 <HR>
890
891 <A NAME="getAllAttributes()"><!-- --></A><H3>
892 getAllAttributes</H3>
893 <PRE>
894 public <A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A> <B>getAllAttributes</B>()</PRE>
895 <DL>
896 <DD>Returns the attributes of the view combined with the attributes of the
897 corresponding cell. The view's attributes override the cell's attributes
898 with the same key.
899 <P>
900 <DD><DL>
901 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getAllAttributes()">getAllAttributes</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
902 </DD>
903 <DD><DL>
904 </DL>
905 </DD>
906 </DL>
907 <HR>
908
909 <A NAME="changeAttributes(org.jgraph.graph.GraphLayoutCache, java.util.Map)"><!-- --></A><H3>
910 changeAttributes</H3>
911 <PRE>
912 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A> <B>changeAttributes</B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache,
913 <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/Map.html" title="class or interface in java.util">Map</A>&nbsp;change)</PRE>
914 <DL>
915 <DD>Applies <code>change</code> to the attributes of the view and calls
916 update.
917 <P>
918 <DD><DL>
919 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#changeAttributes(org.jgraph.graph.GraphLayoutCache, java.util.Map)">changeAttributes</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
920 </DD>
921 <DD><DL>
922 <DT><B>Parameters:</B><DD><CODE>change</CODE> - a map of attribute changes to apply
923 <DT><B>Returns:</B><DD>the undo map that reverses this change</DL>
924 </DD>
925 </DL>
926 <HR>
927
928 <A NAME="getBounds()"><!-- --></A><H3>
929 getBounds</H3>
930 <PRE>
931 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>
932 <DL>
933 <DD>Returns the cached bounds for the group if isleaf is false
934 <P>
935 <DD><DL>
936 <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></DL>
937 </DD>
938 <DD><DL>
939 </DL>
940 </DD>
941 </DL>
942 <HR>
943
944 <A NAME="getBounds(org.jgraph.graph.CellView[])"><!-- --></A><H3>
945 getBounds</H3>
946 <PRE>
947 public static <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>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]&nbsp;views)</PRE>
948 <DL>
949 <DD>Returns the bounding box for the specified views.
950 <P>
951 <DD><DL>
952 </DL>
953 </DD>
954 <DD><DL>
955 <DT><B>Parameters:</B><DD><CODE>views</CODE> - the views for whom the bounding box is to be determined
956 <DT><B>Returns:</B><DD>the bounding box of the specified views</DL>
957 </DD>
958 </DL>
959 <HR>
960
961 <A NAME="setBounds(java.awt.geom.Rectangle2D)"><!-- --></A><H3>
962 setBounds</H3>
963 <PRE>
964 public void <B>setBounds</B>(<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;bounds)</PRE>
965 <DL>
966 <DD>Sets the bounds of this <code>view</code>. Calls translateView and
967 scaleView.
968 <P>
969 <DD><DL>
970 </DL>
971 </DD>
972 <DD><DL>
973 <DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the new bounds for this cell view</DL>
974 </DD>
975 </DL>
976 <HR>
977
978 <A NAME="updateGroupBounds()"><!-- --></A><H3>
979 updateGroupBounds</H3>
980 <PRE>
981 protected void <B>updateGroupBounds</B>()</PRE>
982 <DL>
983 <DD>Updates the bounds of this view and its children
984 <P>
985 <DD><DL>
986 </DL>
987 </DD>
988 <DD><DL>
989 </DL>
990 </DD>
991 </DL>
992 <HR>
993
994 <A NAME="includeInGroupBounds(org.jgraph.graph.CellView)"><!-- --></A><H3>
995 includeInGroupBounds</H3>
996 <PRE>
997 protected boolean <B>includeInGroupBounds</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;view)</PRE>
998 <DL>
999 <DD>This is used to exclude certain cell views from the group bounds
1000 computation. This implementation returns false for edges that connect to
1001 one of their ancestor groups (eg. parent).
1002 <P>
1003 <DD><DL>
1004 </DL>
1005 </DD>
1006 <DD><DL>
1007 <DT><B>Parameters:</B><DD><CODE>view</CODE> - the cell view to be included in the group bounds or not
1008 <DT><B>Returns:</B><DD>whether or not to include the specified cell in the group bounds</DL>
1009 </DD>
1010 </DL>
1011 <HR>
1012
1013 <A NAME="translate(double, double)"><!-- --></A><H3>
1014 translate</H3>
1015 <PRE>
1016 public void <B>translate</B>(double&nbsp;dx,
1017 double&nbsp;dy)</PRE>
1018 <DL>
1019 <DD>Translates <code>view</code> (group) by <code>dx, dy</code>.
1020 <P>
1021 <DD><DL>
1022 </DL>
1023 </DD>
1024 <DD><DL>
1025 <DT><B>Parameters:</B><DD><CODE>dx</CODE> - the x-coordinate amount to translate by<DD><CODE>dy</CODE> - the y-coordinate amount to translate by</DL>
1026 </DD>
1027 </DL>
1028 <HR>
1029
1030 <A NAME="scale(double, double, java.awt.geom.Point2D)"><!-- --></A><H3>
1031 scale</H3>
1032 <PRE>
1033 public void <B>scale</B>(double&nbsp;sx,
1034 double&nbsp;sy,
1035 <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;origin)</PRE>
1036 <DL>
1037 <DD>Scale <code>view</code> (group) by <code>sx, sy</code>.
1038 <P>
1039 <DD><DL>
1040 </DL>
1041 </DD>
1042 <DD><DL>
1043 <DT><B>Parameters:</B><DD><CODE>sx</CODE> - the multiple by which the x coordinate position of the cell
1044 view is to be scaled<DD><CODE>sy</CODE> - the multiple by which the y coordinate position of the cell
1045 view is to be scaled<DD><CODE>origin</CODE> - the origin point from which the scaling will calculate</DL>
1046 </DD>
1047 </DL>
1048 <HR>
1049
1050 <A NAME="intersects(org.jgraph.JGraph, java.awt.geom.Rectangle2D)"><!-- --></A><H3>
1051 intersects</H3>
1052 <PRE>
1053 public boolean <B>intersects</B>(<A HREF="../../../org/jgraph/JGraph.html" title="class in org.jgraph">JGraph</A>&nbsp;graph,
1054 <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>
1055 <DL>
1056 <DD>Returns true if the view intersects the given rectangle.
1057 <P>
1058 <DD><DL>
1059 <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></DL>
1060 </DD>
1061 <DD><DL>
1062 <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
1063 <DT><B>Returns:</B><DD>whether or not the rectangle specified intersects the view</DL>
1064 </DD>
1065 </DL>
1066 <HR>
1067
1068 <A NAME="getRendererComponent(org.jgraph.JGraph, boolean, boolean, boolean)"><!-- --></A><H3>
1069 getRendererComponent</H3>
1070 <PRE>
1071 public <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A> <B>getRendererComponent</B>(<A HREF="../../../org/jgraph/JGraph.html" title="class in org.jgraph">JGraph</A>&nbsp;graph,
1072 boolean&nbsp;selected,
1073 boolean&nbsp;focus,
1074 boolean&nbsp;preview)</PRE>
1075 <DL>
1076 <DD>Returns a renderer component, configured for the view. The method used to
1077 obtain the renderer instance must install the necessary attributes from
1078 this view
1079 <P>
1080 <DD><DL>
1081 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getRendererComponent(org.jgraph.JGraph, boolean, boolean, boolean)">getRendererComponent</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
1082 </DD>
1083 <DD><DL>
1084 <DT><B>Parameters:</B><DD><CODE>graph</CODE> - the <code>JGraph</code> instance of the view<DD><CODE>selected</CODE> - whether or not this view is selected<DD><CODE>focus</CODE> - whether or not this view is the focus<DD><CODE>preview</CODE> - whether or not it is a preview of the view
1085 <DT><B>Returns:</B><DD>the renderer component for this view with this views attributes
1086 installed</DL>
1087 </DD>
1088 </DL>
1089 <HR>
1090
1091 <A NAME="getRenderer()"><!-- --></A><H3>
1092 getRenderer</H3>
1093 <PRE>
1094 public abstract <A HREF="../../../org/jgraph/graph/CellViewRenderer.html" title="interface in org.jgraph.graph">CellViewRenderer</A> <B>getRenderer</B>()</PRE>
1095 <DL>
1096 <DD>Obtains the renderer instance for this view
1097 <P>
1098 <DD><DL>
1099 </DL>
1100 </DD>
1101 <DD><DL>
1102
1103 <DT><B>Returns:</B><DD>the renderer instance for this view</DL>
1104 </DD>
1105 </DL>
1106 <HR>
1107
1108 <A NAME="getHandle(org.jgraph.graph.GraphContext)"><!-- --></A><H3>
1109 getHandle</H3>
1110 <PRE>
1111 public abstract <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>
1112 <DL>
1113 <DD>Returns a cell handle for the view.
1114 <P>
1115 <DD><DL>
1116 <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></DL>
1117 </DD>
1118 <DD><DL>
1119 <DT><B>Parameters:</B><DD><CODE>context</CODE> - the context of this cell view (cells indirectly affected by
1120 it)
1121 <DT><B>Returns:</B><DD>the cell handle for this view</DL>
1122 </DD>
1123 </DL>
1124 <HR>
1125
1126 <A NAME="getEditor()"><!-- --></A><H3>
1127 getEditor</H3>
1128 <PRE>
1129 public <A HREF="../../../org/jgraph/graph/GraphCellEditor.html" title="interface in org.jgraph.graph">GraphCellEditor</A> <B>getEditor</B>()</PRE>
1130 <DL>
1131 <DD>Returns a cell editor for the view.
1132 <P>
1133 <DD><DL>
1134 <DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellView.html#getEditor()">getEditor</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></DL>
1135 </DD>
1136 <DD><DL>
1137
1138 <DT><B>Returns:</B><DD>the cell editor for this view</DL>
1139 </DD>
1140 </DL>
1141 <HR>
1142
1143 <A NAME="getCenterPoint(org.jgraph.graph.CellView)"><!-- --></A><H3>
1144 getCenterPoint</H3>
1145 <PRE>
1146 public static <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>getCenterPoint</B>(<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;vertex)</PRE>
1147 <DL>
1148 <DD><DL>
1149 </DL>
1150 </DD>
1151 <DD><DL>
1152 </DL>
1153 </DD>
1154 </DL>
1155 <HR>
1156
1157 <A NAME="getPerimeterPoint(org.jgraph.graph.EdgeView, java.awt.geom.Point2D, java.awt.geom.Point2D)"><!-- --></A><H3>
1158 getPerimeterPoint</H3>
1159 <PRE>
1160 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,
1161 <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,
1162 <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>
1163 <DL>
1164 <DD>Returns the intersection of the bounding rectangle and the straight line
1165 between the source and the specified point p. The specified point is
1166 expected not to intersect the bounds. Note: You must override this method
1167 if you use a different renderer. This is because this method relies on
1168 the VertexRenderer interface, which can not be safely assumed for
1169 subclassers.
1170 <P>
1171 <DD><DL>
1172 <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></DL>
1173 </DD>
1174 <DD><DL>
1175 </DL>
1176 </DD>
1177 </DL>
1178 <!-- ========= END OF CLASS DATA ========= -->
1179 <HR>
1180
1181
1182 <!-- ======= START OF BOTTOM NAVBAR ====== -->
1183 <A NAME="navbar_bottom"><!-- --></A>
1184 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
1185 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
1186 <TR>
1187 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
1188 <A NAME="navbar_bottom_firstrow"><!-- --></A>
1189 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
1190 <TR ALIGN="center" VALIGN="top">
1191 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
1192 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
1193 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
1194 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbstractCellView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
1195 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
1196 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
1197 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
1198 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
1199 </TR>
1200 </TABLE>
1201 </TD>
1202 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
1203 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
1204 </TD>
1205 </TR>
1206
1207 <TR>
1208 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1209 &nbsp;PREV CLASS&nbsp;
1210 &nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
1211 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1212 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
1213 &nbsp;<A HREF="AbstractCellView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
1214 &nbsp;<SCRIPT type="text/javascript">
1215 <!--
1216 if(window==top) {
1217 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
1218 }
1219 //-->
1220 </SCRIPT>
1221 <NOSCRIPT>
1222 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
1223 </NOSCRIPT>
1224
1225 </FONT></TD>
1226 </TR>
1227 <TR>
1228 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1229 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>
1230 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
1231 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>
1232 </TR>
1233 </TABLE>
1234 <A NAME="skip-navbar_bottom"></A>
1235 <!-- ======== END OF BOTTOM NAVBAR ======= -->
1236
1237 <HR>
1238 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
1239 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
1240 </BODY>
1241 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26