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

Contents of /libjgraph-java/trunk/doc/api/org/jgraph/graph/CellViewRenderer.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: 10608 byte(s)
* New upstream release.
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.4.2_11) on Mon Jul 30 10:14:31 BST 2007 -->
6 <TITLE>
7 CellViewRenderer (JGraph v5.10.1.4 API Specification)
8 </TITLE>
9
10 <META NAME="keywords" CONTENT="org.jgraph.graph.CellViewRenderer 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="CellViewRenderer (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/CellViewRenderer.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/CellViewFactory.html" title="interface in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
54 &nbsp;<A HREF="../../../org/jgraph/graph/Edge.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="CellViewRenderer.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 CellViewRenderer</H2>
88 <DL>
89 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../org/jgraph/graph/EdgeRenderer.html" title="class in org.jgraph.graph">EdgeRenderer</A>, <A HREF="../../../org/jgraph/graph/PortRenderer.html" title="class in org.jgraph.graph">PortRenderer</A>, <A HREF="../../../org/jgraph/graph/VertexRenderer.html" title="class in org.jgraph.graph">VertexRenderer</A></DD>
90 </DL>
91 <HR>
92 <DL>
93 <DT>public interface <B>CellViewRenderer</B></DL>
94
95 <P>
96 Defines the requirements for objects that may be used as a
97 cell view renderer.
98 <P>
99
100 <P>
101 <HR>
102
103 <P>
104 <!-- ======== NESTED CLASS SUMMARY ======== -->
105
106
107 <!-- =========== FIELD SUMMARY =========== -->
108
109
110 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
111
112
113 <!-- ========== METHOD SUMMARY =========== -->
114
115 <A NAME="method_summary"><!-- --></A>
116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118 <TD COLSPAN=2><FONT SIZE="+2">
119 <B>Method Summary</B></FONT></TD>
120 </TR>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123 <CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Component.html" title="class or interface in java.awt">Component</A></CODE></FONT></TD>
124 <TD><CODE><B><A HREF="../../../org/jgraph/graph/CellViewRenderer.html#getRendererComponent(org.jgraph.JGraph, org.jgraph.graph.CellView, boolean, boolean, boolean)">getRendererComponent</A></B>(<A HREF="../../../org/jgraph/JGraph.html" title="class in org.jgraph">JGraph</A>&nbsp;graph,
125 <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;view,
126 boolean&nbsp;sel,
127 boolean&nbsp;focus,
128 boolean&nbsp;preview)</CODE>
129
130 <BR>
131 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure and return the renderer based on the passed in
132 components.</TD>
133 </TR>
134 </TABLE>
135 &nbsp;
136 <P>
137
138 <!-- ============ FIELD DETAIL =========== -->
139
140
141 <!-- ========= CONSTRUCTOR DETAIL ======== -->
142
143
144 <!-- ============ METHOD DETAIL ========== -->
145
146 <A NAME="method_detail"><!-- --></A>
147 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
148 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
149 <TD COLSPAN=1><FONT SIZE="+2">
150 <B>Method Detail</B></FONT></TD>
151 </TR>
152 </TABLE>
153
154 <A NAME="getRendererComponent(org.jgraph.JGraph, org.jgraph.graph.CellView, boolean, boolean, boolean)"><!-- --></A><H3>
155 getRendererComponent</H3>
156 <PRE>
157 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,
158 <A HREF="../../../org/jgraph/graph/CellView.html" title="interface in org.jgraph.graph">CellView</A>&nbsp;view,
159 boolean&nbsp;sel,
160 boolean&nbsp;focus,
161 boolean&nbsp;preview)</PRE>
162 <DL>
163 <DD>Configure and return the renderer based on the passed in
164 components. The value is typically set from messaging the
165 graph with <code>convertValueToString</code>.
166 We recommend you check the value's class and throw an
167 illegal argument exception if it's not correct.
168 <P>
169 <DD><DL>
170 <DT><B>Parameters:</B><DD><CODE>graph</CODE> - the graph that that defines the rendering context.<DD><CODE>view</CODE> - the view that should be rendered.<DD><CODE>sel</CODE> - whether the object is selected.<DD><CODE>focus</CODE> - whether the object has the focus.<DD><CODE>preview</CODE> - whether we are drawing a preview.
171 <DT><B>Returns:</B><DD>the component used to render the value.</DL>
172 </DD>
173 </DL>
174 <!-- ========= END OF CLASS DATA ========= -->
175 <HR>
176
177
178 <!-- ======= START OF BOTTOM NAVBAR ====== -->
179 <A NAME="navbar_bottom"><!-- --></A>
180 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
181 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
182 <TR>
183 <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
184 <A NAME="navbar_bottom_firstrow"><!-- --></A>
185 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
186 <TR ALIGN="center" VALIGN="top">
187 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
188 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
189 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
190 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CellViewRenderer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
191 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
192 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
193 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
194 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
195 </TR>
196 </TABLE>
197 </TD>
198 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
199 <p><b>JGraph</b><br>v5.10.1.4</p></EM>
200 </TD>
201 </TR>
202
203 <TR>
204 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
205 &nbsp;<A HREF="../../../org/jgraph/graph/CellViewFactory.html" title="interface in org.jgraph.graph"><B>PREV CLASS</B></A>&nbsp;
206 &nbsp;<A HREF="../../../org/jgraph/graph/Edge.html" title="interface in org.jgraph.graph"><B>NEXT CLASS</B></A></FONT></TD>
207 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
208 <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> &nbsp;
209 &nbsp;<A HREF="CellViewRenderer.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
210 &nbsp;<SCRIPT type="text/javascript">
211 <!--
212 if(window==top) {
213 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
214 }
215 //-->
216 </SCRIPT>
217 <NOSCRIPT>
218 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
219 </NOSCRIPT>
220
221 </FONT></TD>
222 </TR>
223 <TR>
224 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
225 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
226 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
227 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
228 </TR>
229 </TABLE>
230 <A NAME="skip-navbar_bottom"></A>
231 <!-- ======== END OF BOTTOM NAVBAR ======= -->
232
233 <HR>
234 <font size=1>Copyright (C) 2001-2006 <a href="http://www.jgraph.com/"
235 target="_blank">Gaudenz Alder</a>. All rights reserved.</font>
236 </BODY>
237 </HTML>

  ViewVC Help
Powered by ViewVC 1.1.26