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

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/graph/CellView.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: 24585 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 CellView (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.graph.CellView interface">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 parent.document.title="CellView (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/CellView.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/CellMapper.html" title="interface in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface 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="CellView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
58 &nbsp;<SCRIPT type="text/javascript">
59 <!--
60 if(window==top) {
61 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
62 }
63 //-->
64 </SCRIPT>
65 <NOSCRIPT>
66 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
67 </NOSCRIPT>
68
69 </FONT></TD>
70 </TR>
71 <TR>
72 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
74 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
76 </TR>
77 </TABLE>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80
81 <HR>
82 <!-- ======== START OF CLASS DATA ======== -->
83 <H2>
84 <FONT SIZE="-1">
85 org.jgraph.graph</FONT>
86 <BR>
87 Interface CellView</H2>
88 <DL>
89 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/jgraph/graph/AbstractCellView.html" title="class in org.jgraph.graph">AbstractCellView</A></DD>
90 </DL>
91 <HR>
92 <DL>
93 <DT>public interface <B>CellView</B></DL>
94
95 <P>
96 Defines the requirements for an object that
97 represents a view for a model cell.
98 <P>
99
100 <P>
101 <HR>
102
103 <P>
104 <!-- ======== NESTED CLASS SUMMARY ======== -->
105
106
107 <!-- =========== FIELD SUMMARY =========== -->
108
109
110 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
111
112
113 <!-- ========== METHOD SUMMARY =========== -->
114
115 <A NAME="method_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>Method 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>&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>
124 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.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,
125 <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;map)</CODE>
126
127 <BR>
128 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Apply the specified map of attributes on the view.</TD>
129 </TR>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132 <CODE>&nbsp;void</CODE></FONT></TD>
133 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#childUpdated()">childUpdated</A></B>()</CODE>
134
135 <BR>
136 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
137 </TR>
138 <TR BGCOLOR="white" CLASS="TableRowColor">
139 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
140 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A></CODE></FONT></TD>
141 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#getAllAttributes()">getAllAttributes</A></B>()</CODE>
142
143 <BR>
144 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
145 </TR>
146 <TR BGCOLOR="white" CLASS="TableRowColor">
147 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A></CODE></FONT></TD>
149 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#getAttributes()">getAttributes</A></B>()</CODE>
150
151 <BR>
152 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns all attributes of the view as a map.</TD>
153 </TR>
154 <TR BGCOLOR="white" CLASS="TableRowColor">
155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156 <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>
157 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#getBounds()">getBounds</A></B>()</CODE>
158
159 <BR>
160 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the bounds for the view.</TD>
161 </TR>
162 <TR BGCOLOR="white" CLASS="TableRowColor">
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164 <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>
165 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#getCell()">getCell</A></B>()</CODE>
166
167 <BR>
168 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the model object that this view represents.</TD>
169 </TR>
170 <TR BGCOLOR="white" CLASS="TableRowColor">
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[]</CODE></FONT></TD>
173 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#getChildViews()">getChildViews</A></B>()</CODE>
174
175 <BR>
176 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the child views of this view.</TD>
177 </TR>
178 <TR BGCOLOR="white" CLASS="TableRowColor">
179 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/GraphCellEditor.html" title="interface in org.jgraph.graph">GraphCellEditor</A></CODE></FONT></TD>
181 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#getEditor()">getEditor</A></B>()</CODE>
182
183 <BR>
184 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a cell editor for the view.</TD>
185 </TR>
186 <TR BGCOLOR="white" CLASS="TableRowColor">
187 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
188 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellHandle.html" title="interface in org.jgraph.graph">CellHandle</A></CODE></FONT></TD>
189 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.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>
190
191 <BR>
192 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a cell handle for the view.</TD>
193 </TR>
194 <TR BGCOLOR="white" CLASS="TableRowColor">
195 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
196 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
197 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#getParentView()">getParentView</A></B>()</CODE>
198
199 <BR>
200 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the parent of view of this view.</TD>
201 </TR>
202 <TR BGCOLOR="white" CLASS="TableRowColor">
203 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
204 <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>
205 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.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,
206 <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,
207 <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>
208
209 <BR>
210 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the intersection of the bounding rectangle and the straight line
211 between the source and the specified point p.</TD>
212 </TR>
213 <TR BGCOLOR="white" CLASS="TableRowColor">
214 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
215 <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>
216 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.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,
217 boolean&nbsp;selected,
218 boolean&nbsp;focus,
219 boolean&nbsp;preview)</CODE>
220
221 <BR>
222 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a renderer component, configured for the view.</TD>
223 </TR>
224 <TR BGCOLOR="white" CLASS="TableRowColor">
225 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
226 <CODE>&nbsp;boolean</CODE></FONT></TD>
227 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.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;g,
228 <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>
229
230 <BR>
231 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the view intersects the given rectangle.</TD>
232 </TR>
233 <TR BGCOLOR="white" CLASS="TableRowColor">
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235 <CODE>&nbsp;boolean</CODE></FONT></TD>
236 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#isLeaf()">isLeaf</A></B>()</CODE>
237
238 <BR>
239 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the view is a leaf.</TD>
240 </TR>
241 <TR BGCOLOR="white" CLASS="TableRowColor">
242 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
243 <CODE>&nbsp;void</CODE></FONT></TD>
244 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.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,
245 <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>&nbsp;mapper,
246 boolean&nbsp;createDependentViews)</CODE>
247
248 <BR>
249 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Refresh this view based on the model cell.</TD>
250 </TR>
251 <TR BGCOLOR="white" CLASS="TableRowColor">
252 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253 <CODE>&nbsp;void</CODE></FONT></TD>
254 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.html#removeFromParent()">removeFromParent</A></B>()</CODE>
255
256 <BR>
257 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes this view from the list of childs of the parent.</TD>
258 </TR>
259 <TR BGCOLOR="white" CLASS="TableRowColor">
260 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
261 <CODE>&nbsp;void</CODE></FONT></TD>
262 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellView.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>
263
264 <BR>
265 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Update this view's attributes.</TD>
266 </TR>
267 </TABLE>
268 &nbsp;
269 <P>
270
271 <!-- ============ FIELD DETAIL =========== -->
272
273
274 <!-- ========= CONSTRUCTOR DETAIL ======== -->
275
276
277 <!-- ============ METHOD DETAIL ========== -->
278
279 <A NAME="method_detail"><!-- --></A>
280 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
281 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
282 <TD COLSPAN=1><FONT SIZE="+2">
283 <B>Method Detail</B></FONT></TD>
284 </TR>
285 </TABLE>
286
287 <A NAME="getCell()"><!-- --></A><H3>
288 getCell</H3>
289 <PRE>
290 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>
291 <DL>
292 <DD>Returns the model object that this view represents.
293 <P>
294 <DD><DL>
295 </DL>
296 </DD>
297 </DL>
298 <HR>
299
300 <A NAME="refresh(org.jgraph.graph.GraphLayoutCache, org.jgraph.graph.CellMapper, boolean)"><!-- --></A><H3>
301 refresh</H3>
302 <PRE>
303 public void <B>refresh</B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache,
304 <A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph">CellMapper</A>&nbsp;mapper,
305 boolean&nbsp;createDependentViews)</PRE>
306 <DL>
307 <DD>Refresh this view based on the model cell. This is
308 messaged when the model cell has changed.
309 <P>
310 <DD><DL>
311 </DL>
312 </DD>
313 </DL>
314 <HR>
315
316 <A NAME="update(org.jgraph.graph.GraphLayoutCache)"><!-- --></A><H3>
317 update</H3>
318 <PRE>
319 public void <B>update</B>(<A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A>&nbsp;cache)</PRE>
320 <DL>
321 <DD>Update this view's attributes. This is messaged whenever refresh is
322 messaged, and additionally when the context of the cell has changed,
323 and during live-preview changes to the view.
324 <P>
325 <DD><DL>
326 <DT><B>Parameters:</B><DD><CODE>cache</CODE> - TODO</DL>
327 </DD>
328 </DL>
329 <HR>
330
331 <A NAME="childUpdated()"><!-- --></A><H3>
332 childUpdated</H3>
333 <PRE>
334 public void <B>childUpdated</B>()</PRE>
335 <DL>
336 <DD><DL>
337 </DL>
338 </DD>
339 </DL>
340 <HR>
341
342 <A NAME="getParentView()"><!-- --></A><H3>
343 getParentView</H3>
344 <PRE>
345 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getParentView</B>()</PRE>
346 <DL>
347 <DD>Returns the parent of view of this view.
348 <P>
349 <DD><DL>
350 </DL>
351 </DD>
352 </DL>
353 <HR>
354
355 <A NAME="getChildViews()"><!-- --></A><H3>
356 getChildViews</H3>
357 <PRE>
358 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>[] <B>getChildViews</B>()</PRE>
359 <DL>
360 <DD>Returns the child views of this view.
361 <P>
362 <DD><DL>
363 </DL>
364 </DD>
365 </DL>
366 <HR>
367
368 <A NAME="removeFromParent()"><!-- --></A><H3>
369 removeFromParent</H3>
370 <PRE>
371 public void <B>removeFromParent</B>()</PRE>
372 <DL>
373 <DD>Removes this view from the list of childs of the parent.
374 <P>
375 <DD><DL>
376 </DL>
377 </DD>
378 </DL>
379 <HR>
380
381 <A NAME="isLeaf()"><!-- --></A><H3>
382 isLeaf</H3>
383 <PRE>
384 public boolean <B>isLeaf</B>()</PRE>
385 <DL>
386 <DD>Returns true if the view is a leaf.
387 <P>
388 <DD><DL>
389 </DL>
390 </DD>
391 </DL>
392 <HR>
393
394 <A NAME="getBounds()"><!-- --></A><H3>
395 getBounds</H3>
396 <PRE>
397 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>
398 <DL>
399 <DD>Returns the bounds for the view.
400 <P>
401 <DD><DL>
402 </DL>
403 </DD>
404 </DL>
405 <HR>
406
407 <A NAME="intersects(org.jgraph.JGraph, java.awt.geom.Rectangle2D)"><!-- --></A><H3>
408 intersects</H3>
409 <PRE>
410 public boolean <B>intersects</B>(<A HREF="../../../org/jgraph/JGraph.html" title="class in org.jgraph">JGraph</A>&nbsp;g,
411 <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>
412 <DL>
413 <DD>Returns true if the view intersects the given rectangle.
414 <P>
415 <DD><DL>
416 </DL>
417 </DD>
418 </DL>
419 <HR>
420
421 <A NAME="getPerimeterPoint(org.jgraph.graph.EdgeView, java.awt.geom.Point2D, java.awt.geom.Point2D)"><!-- --></A><H3>
422 getPerimeterPoint</H3>
423 <PRE>
424 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,
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;source,
426 <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>
427 <DL>
428 <DD>Returns the intersection of the bounding rectangle and the straight line
429 between the source and the specified point p. The specified point is
430 expected not to intersect the bounds. Note: You must override this method
431 if you use a different renderer. This is because this method relies on
432 the VertexRenderer interface, which can not be safely assumed for
433 subclassers.
434 <P>
435 <DD><DL>
436 </DL>
437 </DD>
438 </DL>
439 <HR>
440
441 <A NAME="changeAttributes(org.jgraph.graph.GraphLayoutCache, java.util.Map)"><!-- --></A><H3>
442 changeAttributes</H3>
443 <PRE>
444 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,
445 <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;map)</PRE>
446 <DL>
447 <DD>Apply the specified map of attributes on the view.
448 <P>
449 <DD><DL>
450 </DL>
451 </DD>
452 </DL>
453 <HR>
454
455 <A NAME="getAttributes()"><!-- --></A><H3>
456 getAttributes</H3>
457 <PRE>
458 public <A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A> <B>getAttributes</B>()</PRE>
459 <DL>
460 <DD>Returns all attributes of the view as a map.
461 <P>
462 <DD><DL>
463 </DL>
464 </DD>
465 </DL>
466 <HR>
467
468 <A NAME="getAllAttributes()"><!-- --></A><H3>
469 getAllAttributes</H3>
470 <PRE>
471 public <A HREF="../../../org/jgraph/graph/AttributeMap.html" title="class in org.jgraph.graph">AttributeMap</A> <B>getAllAttributes</B>()</PRE>
472 <DL>
473 <DD><DL>
474 </DL>
475 </DD>
476 </DL>
477 <HR>
478
479 <A NAME="getRendererComponent(org.jgraph.JGraph, boolean, boolean, boolean)"><!-- --></A><H3>
480 getRendererComponent</H3>
481 <PRE>
482 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,
483 boolean&nbsp;selected,
484 boolean&nbsp;focus,
485 boolean&nbsp;preview)</PRE>
486 <DL>
487 <DD>Returns a renderer component, configured for the view.
488 <P>
489 <DD><DL>
490 </DL>
491 </DD>
492 </DL>
493 <HR>
494
495 <A NAME="getHandle(org.jgraph.graph.GraphContext)"><!-- --></A><H3>
496 getHandle</H3>
497 <PRE>
498 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>
499 <DL>
500 <DD>Returns a cell handle for the view.
501 <P>
502 <DD><DL>
503 </DL>
504 </DD>
505 </DL>
506 <HR>
507
508 <A NAME="getEditor()"><!-- --></A><H3>
509 getEditor</H3>
510 <PRE>
511 public <A HREF="../../../org/jgraph/graph/GraphCellEditor.html" title="interface in org.jgraph.graph">GraphCellEditor</A> <B>getEditor</B>()</PRE>
512 <DL>
513 <DD>Returns a cell editor for the view.
514 <P>
515 <DD><DL>
516 </DL>
517 </DD>
518 </DL>
519 <!-- ========= END OF CLASS DATA ========= -->
520 <HR>
521
522
523 <!-- ======= START OF BOTTOM NAVBAR ====== -->
524 <A NAME="navbar_bottom"><!-- --></A>
525 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
526 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
527 <TR>
528 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
529 <A NAME="navbar_bottom_firstrow"><!-- --></A>
530 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
531 <TR ALIGN="center" VALIGN="top">
532 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
533 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
534 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
535 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CellView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
536 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
537 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
538 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
539 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
540 </TR>
541 </TABLE>
542 </TD>
543 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
544 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
545 </TD>
546 </TR>
547
548 <TR>
549 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
550 &nbsp;<A HREF="../../../org/jgraph/graph/CellMapper.html" title="interface in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
551 &nbsp;<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
552 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
553 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
554 &nbsp;<A HREF="CellView.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
555 &nbsp;<SCRIPT type="text/javascript">
556 <!--
557 if(window==top) {
558 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
559 }
560 //-->
561 </SCRIPT>
562 <NOSCRIPT>
563 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
564 </NOSCRIPT>
565
566 </FONT></TD>
567 </TR>
568 <TR>
569 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
570 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
571 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
572 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
573 </TR>
574 </TABLE>
575 <A NAME="skip-navbar_bottom"></A>
576 <!-- ======== END OF BOTTOM NAVBAR ======= -->
577
578 <HR>
579 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
580 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
581 </BODY>
582 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26