1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.4.2_11) on Thu Aug 03 14:18:23 BST 2006 -->
7
DefaultCellViewFactory (JGraph v5.10.0.1 API Specification)
10
<META NAME="keywords" CONTENT="org.jgraph.graph.DefaultCellViewFactory class">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
parent.document.title="DefaultCellViewFactory (JGraph v5.10.0.1 API Specification)";
23
<BODY BGCOLOR="white" onload="windowTitle();">
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="">
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> </TD>
36
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
37
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
38
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultCellViewFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
39
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
40
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
47
<p><b>JGraph</b><br>v5.10.0.1</p></EM>
52
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53
<A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>
54
<A HREF="../../../org/jgraph/graph/DefaultEdge.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>
57
<A HREF="DefaultCellViewFactory.html" target="_top"><B>NO FRAMES</B></A>
58
<SCRIPT type="text/javascript">
61
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
66
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
78
<A NAME="skip-navbar_top"></A>
79
<!-- ========= END OF TOP NAVBAR ========= -->
82
<!-- ======== START OF CLASS DATA ======== -->
85
org.jgraph.graph</FONT>
87
Class DefaultCellViewFactory</H2>
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.DefaultCellViewFactory</B>
93
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</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>
97
<DT>public class <B>DefaultCellViewFactory</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/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</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>
100
The default implementation of a cell view factory that returns the default
101
views for vertices, edges and ports.
106
<DT><B>See Also:</B><DD><A HREF="../../../serialized-form.html#org.jgraph.graph.DefaultCellViewFactory">Serialized Form</A></DL>
110
<!-- ======== NESTED CLASS SUMMARY ======== -->
113
<!-- =========== FIELD SUMMARY =========== -->
116
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
118
<A NAME="constructor_summary"><!-- --></A>
119
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
<TD COLSPAN=2><FONT SIZE="+2">
122
<B>Constructor Summary</B></FONT></TD>
124
<TR BGCOLOR="white" CLASS="TableRowColor">
125
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#DefaultCellViewFactory()">DefaultCellViewFactory</A></B>()</CODE>
128
</TD>
132
<!-- ========== METHOD SUMMARY =========== -->
134
<A NAME="method_summary"><!-- --></A>
135
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
136
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
137
<TD COLSPAN=2><FONT SIZE="+2">
138
<B>Method Summary</B></FONT></TD>
140
<TR BGCOLOR="white" CLASS="TableRowColor">
141
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
142
<CODE>protected <A HREF="../../../org/jgraph/graph/EdgeView.html" title="class in org.jgraph.graph">EdgeView</A></CODE></FONT></TD>
143
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createEdgeView(org.jgraph.graph.Edge)">createEdgeView</A></B>(<A HREF="../../../org/jgraph/graph/Edge.html" title="interface in org.jgraph.graph">Edge</A> cell)</CODE>
146
<B>Deprecated.</B> <I>replaced by <A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createEdgeView(java.lang.Object)"><CODE>createEdgeView(Object)</CODE></A>since
147
JGraph no longer exposes dependecies on GraphCell subclasses
148
(Port, Edge)</I></TD>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
152
<CODE>protected <A HREF="../../../org/jgraph/graph/EdgeView.html" title="class in org.jgraph.graph">EdgeView</A></CODE></FONT></TD>
153
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createEdgeView(java.lang.Object)">createEdgeView</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> cell)</CODE>
156
Constructs an EdgeView view for the specified object.</TD>
158
<TR BGCOLOR="white" CLASS="TableRowColor">
159
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
160
<CODE>protected <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A></CODE></FONT></TD>
161
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createPortView(java.lang.Object)">createPortView</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> cell)</CODE>
164
Constructs a PortView view for the specified object.</TD>
166
<TR BGCOLOR="white" CLASS="TableRowColor">
167
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168
<CODE>protected <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A></CODE></FONT></TD>
169
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createPortView(org.jgraph.graph.Port)">createPortView</A></B>(<A HREF="../../../org/jgraph/graph/Port.html" title="interface in org.jgraph.graph">Port</A> cell)</CODE>
172
<B>Deprecated.</B> <I>replaced by <A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createPortView(java.lang.Object)"><CODE>createPortView(Object)</CODE></A>since
173
JGraph no longer exposes dependecies on GraphCell subclasses
174
(Port, Edge)</I></TD>
176
<TR BGCOLOR="white" CLASS="TableRowColor">
177
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
178
<CODE>protected <A HREF="../../../org/jgraph/graph/VertexView.html" title="class in org.jgraph.graph">VertexView</A></CODE></FONT></TD>
179
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createVertexView(java.lang.Object)">createVertexView</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> cell)</CODE>
182
Constructs a VertexView view for the specified object.</TD>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186
<CODE> <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
187
<TD><CODE><B><A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createView(org.jgraph.graph.GraphModel, java.lang.Object)">createView</A></B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model,
188
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</CODE>
191
Constructs a view for the specified cell and associates it with the
192
specified object using the specified CellMapper.</TD>
195
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
196
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
197
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
198
<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>
200
<TR BGCOLOR="white" CLASS="TableRowColor">
201
<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>
207
<!-- ============ FIELD DETAIL =========== -->
210
<!-- ========= CONSTRUCTOR DETAIL ======== -->
212
<A NAME="constructor_detail"><!-- --></A>
213
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
214
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
215
<TD COLSPAN=1><FONT SIZE="+2">
216
<B>Constructor Detail</B></FONT></TD>
220
<A NAME="DefaultCellViewFactory()"><!-- --></A><H3>
221
DefaultCellViewFactory</H3>
223
public <B>DefaultCellViewFactory</B>()</PRE>
227
<!-- ============ METHOD DETAIL ========== -->
229
<A NAME="method_detail"><!-- --></A>
230
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
231
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
232
<TD COLSPAN=1><FONT SIZE="+2">
233
<B>Method Detail</B></FONT></TD>
237
<A NAME="createView(org.jgraph.graph.GraphModel, java.lang.Object)"><!-- --></A><H3>
240
public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>createView</B>(<A HREF="../../../org/jgraph/graph/GraphModel.html" title="interface in org.jgraph.graph">GraphModel</A> model,
241
<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> cell)</PRE>
243
<DD>Constructs a view for the specified cell and associates it with the
244
specified object using the specified CellMapper. This calls refresh on
245
the created CellView to create all dependent views.
247
Note: The mapping needs to be available before the views of child cells
248
and ports are created.
249
<b>Note: This method must return new instances!</b>
252
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jgraph/graph/CellViewFactory.html#createView(org.jgraph.graph.GraphModel, java.lang.Object)">createView</A></CODE> in interface <CODE><A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph">CellViewFactory</A></CODE></DL>
255
<DT><B>Parameters:</B><DD><CODE>cell</CODE> - reference to the object in the model</DL>
260
<A NAME="createVertexView(java.lang.Object)"><!-- --></A><H3>
261
createVertexView</H3>
263
protected <A HREF="../../../org/jgraph/graph/VertexView.html" title="class in org.jgraph.graph">VertexView</A> <B>createVertexView</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> cell)</PRE>
265
<DD>Constructs a VertexView view for the specified object.
276
<A NAME="createEdgeView(java.lang.Object)"><!-- --></A><H3>
279
protected <A HREF="../../../org/jgraph/graph/EdgeView.html" title="class in org.jgraph.graph">EdgeView</A> <B>createEdgeView</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> cell)</PRE>
281
<DD>Constructs an EdgeView view for the specified object.
292
<A NAME="createPortView(java.lang.Object)"><!-- --></A><H3>
295
protected <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A> <B>createPortView</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> cell)</PRE>
297
<DD>Constructs a PortView view for the specified object.
308
<A NAME="createEdgeView(org.jgraph.graph.Edge)"><!-- --></A><H3>
311
protected <A HREF="../../../org/jgraph/graph/EdgeView.html" title="class in org.jgraph.graph">EdgeView</A> <B>createEdgeView</B>(<A HREF="../../../org/jgraph/graph/Edge.html" title="interface in org.jgraph.graph">Edge</A> cell)</PRE>
313
<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createEdgeView(java.lang.Object)"><CODE>createEdgeView(Object)</CODE></A>since
314
JGraph no longer exposes dependecies on GraphCell subclasses
317
<DD>Constructs an EdgeView view for the specified object.
328
<A NAME="createPortView(org.jgraph.graph.Port)"><!-- --></A><H3>
331
protected <A HREF="../../../org/jgraph/graph/PortView.html" title="class in org.jgraph.graph">PortView</A> <B>createPortView</B>(<A HREF="../../../org/jgraph/graph/Port.html" title="interface in org.jgraph.graph">Port</A> cell)</PRE>
333
<DD><B>Deprecated.</B> <I>replaced by <A HREF="../../../org/jgraph/graph/DefaultCellViewFactory.html#createPortView(java.lang.Object)"><CODE>createPortView(Object)</CODE></A>since
334
JGraph no longer exposes dependecies on GraphCell subclasses
337
<DD>Constructs a PortView view for the specified object.
346
<!-- ========= END OF CLASS DATA ========= -->
350
<!-- ======= START OF BOTTOM NAVBAR ====== -->
351
<A NAME="navbar_bottom"><!-- --></A>
352
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
353
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
355
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
356
<A NAME="navbar_bottom_firstrow"><!-- --></A>
357
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
358
<TR ALIGN="center" VALIGN="top">
359
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
360
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
361
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
362
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/DefaultCellViewFactory.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
363
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
364
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
365
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
366
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
370
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
371
<p><b>JGraph</b><br>v5.10.0.1</p></EM>
376
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
377
<A HREF="../../../org/jgraph/graph/ConnectionSet.Connection.html" title="class in org.jgraph.graph"><B>PREV CLASS</B></A>
378
<A HREF="../../../org/jgraph/graph/DefaultEdge.html" title="class in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
379
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
380
<A HREF="../../../index.html" target="_top"><B>FRAMES</B></A>
381
<A HREF="DefaultCellViewFactory.html" target="_top"><B>NO FRAMES</B></A>
382
<SCRIPT type="text/javascript">
385
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
390
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
396
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
397
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
398
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
399
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
402
<A NAME="skip-navbar_bottom"></A>
403
<!-- ======== END OF BOTTOM NAVBAR ======= -->
406
<font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
407
target="_blank">Gaudenz Alder</a>. All rights reserved.</font>