~ubuntu-branches/ubuntu/gutsy/libjgraph-java/gutsy

« back to all changes in this revision

Viewing changes to doc/api/org/jgraph/graph/AbstractCellView.html

  • Committer: Bazaar Package Importer
  • Author(s): gregor herrmann
  • Date: 2007-02-26 17:25:47 UTC
  • Revision ID: james.westby@ubuntu.com-20070226172547-k03sz4dbg197zr0p
Tags: upstream-5.10.0.1.dfsg
ImportĀ upstreamĀ versionĀ 5.10.0.1.dfsg

Show diffs side-by-side

added added

removed removed

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