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

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/graph/CellMapper.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: 10853 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:30 BST 2007 -->
6 <TITLE>
7 CellMapper (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.graph.CellMapper 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="CellMapper (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/CellMapper.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/CellHandle.html" title="interface in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/graph/CellView.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="CellMapper.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 CellMapper</H2>
88 <DL>
89 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/jgraph/graph/GraphContext.html" title="class in org.jgraph.graph">GraphContext</A>, <A HREF="../../../org/jgraph/graph/GraphLayoutCache.html" title="class in org.jgraph.graph">GraphLayoutCache</A></DD>
90 </DL>
91 <HR>
92 <DL>
93 <DT>public interface <B>CellMapper</B></DL>
94
95 <P>
96 Defines the requirements for objects that may be used as a cell mapper. A
97 cell mapper is able to return the view of a cell, given a reference to that
98 cell object. It is basically a cell to cell view mapping
99 <P>
100
101 <P>
102 <HR>
103
104 <P>
105 <!-- ======== NESTED CLASS SUMMARY ======== -->
106
107
108 <!-- =========== FIELD SUMMARY =========== -->
109
110
111 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
112
113
114 <!-- ========== METHOD SUMMARY =========== -->
115
116 <A NAME="method_summary"><!-- --></A>
117 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
118 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
119 <TD COLSPAN=2><FONT SIZE="+2">
120 <B>Method Summary</B></FONT></TD>
121 </TR>
122 <TR BGCOLOR="white" CLASS="TableRowColor">
123 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
124 <CODE>&nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A></CODE></FONT></TD>
125 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellMapper.html#getMapping(java.lang.Object, boolean)">getMapping</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,
126 boolean&nbsp;create)</CODE>
127
128 <BR>
129 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the view that is associated with <code>cell</code>.</TD>
130 </TR>
131 <TR BGCOLOR="white" CLASS="TableRowColor">
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
133 <CODE>&nbsp;void</CODE></FONT></TD>
134 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellMapper.html#putMapping(java.lang.Object, org.jgraph.graph.CellView)">putMapping</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,
135 <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;view)</CODE>
136
137 <BR>
138 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the association between <code>cell</code> and <code>view</code>.</TD>
139 </TR>
140 </TABLE>
141 &nbsp;
142 <P>
143
144 <!-- ============ FIELD DETAIL =========== -->
145
146
147 <!-- ========= CONSTRUCTOR DETAIL ======== -->
148
149
150 <!-- ============ METHOD DETAIL ========== -->
151
152 <A NAME="method_detail"><!-- --></A>
153 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
154 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
155 <TD COLSPAN=1><FONT SIZE="+2">
156 <B>Method Detail</B></FONT></TD>
157 </TR>
158 </TABLE>
159
160 <A NAME="getMapping(java.lang.Object, boolean)"><!-- --></A><H3>
161 getMapping</H3>
162 <PRE>
163 public <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A> <B>getMapping</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,
164 boolean&nbsp;create)</PRE>
165 <DL>
166 <DD>Returns the view that is associated with <code>cell</code>.
167 <P>
168 <DD><DL>
169 <DT><B>Parameters:</B><DD><CODE>create</CODE> - whether a new view should created if a view does not already
170 exist</DL>
171 </DD>
172 </DL>
173 <HR>
174
175 <A NAME="putMapping(java.lang.Object, org.jgraph.graph.CellView)"><!-- --></A><H3>
176 putMapping</H3>
177 <PRE>
178 public void <B>putMapping</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,
179 <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;view)</PRE>
180 <DL>
181 <DD>Inserts the association between <code>cell</code> and <code>view</code>.
182 <P>
183 <DD><DL>
184 <DT><B>Parameters:</B><DD><CODE>cell</CODE> - the cell that constitutes the model element<DD><CODE>view</CODE> - the view that constitutes the view element</DL>
185 </DD>
186 </DL>
187 <!-- ========= END OF CLASS DATA ========= -->
188 <HR>
189
190
191 <!-- ======= START OF BOTTOM NAVBAR ====== -->
192 <A NAME="navbar_bottom"><!-- --></A>
193 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
194 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
195 <TR>
196 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
197 <A NAME="navbar_bottom_firstrow"><!-- --></A>
198 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
199 <TR ALIGN="center" VALIGN="top">
200 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
201 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
202 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
203 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CellMapper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
204 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
205 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
206 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
207 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
208 </TR>
209 </TABLE>
210 </TD>
211 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
212 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
213 </TD>
214 </TR>
215
216 <TR>
217 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
218 &nbsp;<A HREF="../../../org/jgraph/graph/CellHandle.html" title="interface in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
219 &nbsp;<A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
220 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
221 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
222 &nbsp;<A HREF="CellMapper.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
223 &nbsp;<SCRIPT type="text/javascript">
224 <!--
225 if(window==top) {
226 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
227 }
228 //-->
229 </SCRIPT>
230 <NOSCRIPT>
231 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
232 </NOSCRIPT>
233
234 </FONT></TD>
235 </TR>
236 <TR>
237 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
238 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
239 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
240 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
241 </TR>
242 </TABLE>
243 <A NAME="skip-navbar_bottom"></A>
244 <!-- ======== END OF BOTTOM NAVBAR ======= -->
245
246 <HR>
247 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
248 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
249 </BODY>
250 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26