Line | Hits | Source |
---|---|---|
1 | /* | |
2 | * Copyright (c) 2005, the JUNG Project and the Regents of the University of | |
3 | * California All rights reserved. | |
4 | * | |
5 | * This software is open-source under the BSD license; see either "license.txt" | |
6 | * or http://jung.sourceforge.net/license.txt for a description. | |
7 | * | |
8 | * Created on Jul 21, 2005 | |
9 | */ | |
10 | ||
11 | package edu.uci.ics.jung.visualization.transform.shape; | |
12 | ||
13 | import java.awt.Component; | |
14 | import java.awt.Graphics; | |
15 | import java.awt.Graphics2D; | |
16 | import java.awt.Shape; | |
17 | import java.awt.geom.AffineTransform; | |
18 | import java.awt.geom.GeneralPath; | |
19 | import java.awt.geom.Line2D; | |
20 | ||
21 | import javax.swing.CellRendererPane; | |
22 | import javax.swing.JComponent; | |
23 | ||
24 | import org.apache.commons.collections.Predicate; | |
25 | ||
26 | import edu.uci.ics.jung.graph.ArchetypeEdge; | |
27 | import edu.uci.ics.jung.graph.ArchetypeVertex; | |
28 | import edu.uci.ics.jung.graph.Edge; | |
29 | import edu.uci.ics.jung.graph.Vertex; | |
30 | import edu.uci.ics.jung.graph.decorators.EdgeArrowFunction; | |
31 | import edu.uci.ics.jung.graph.decorators.EdgeColorFunction; | |
32 | import edu.uci.ics.jung.graph.decorators.EdgeFontFunction; | |
33 | import edu.uci.ics.jung.graph.decorators.EdgePaintFunction; | |
34 | import edu.uci.ics.jung.graph.decorators.EdgeShapeFunction; | |
35 | import edu.uci.ics.jung.graph.decorators.EdgeStringer; | |
36 | import edu.uci.ics.jung.graph.decorators.EdgeStrokeFunction; | |
37 | import edu.uci.ics.jung.graph.decorators.NumberEdgeValue; | |
38 | import edu.uci.ics.jung.graph.decorators.VertexColorFunction; | |
39 | import edu.uci.ics.jung.graph.decorators.VertexFontFunction; | |
40 | import edu.uci.ics.jung.graph.decorators.VertexIconFunction; | |
41 | import edu.uci.ics.jung.graph.decorators.VertexPaintFunction; | |
42 | import edu.uci.ics.jung.graph.decorators.VertexShapeFunction; | |
43 | import edu.uci.ics.jung.graph.decorators.VertexStringer; | |
44 | import edu.uci.ics.jung.graph.decorators.VertexStrokeFunction; | |
45 | import edu.uci.ics.jung.utils.ParallelEdgeIndexFunction; | |
46 | import edu.uci.ics.jung.visualization.GraphLabelRenderer; | |
47 | import edu.uci.ics.jung.visualization.HasShapeFunctions; | |
48 | import edu.uci.ics.jung.visualization.PickedInfo; | |
49 | import edu.uci.ics.jung.visualization.PluggableRenderer; | |
50 | import edu.uci.ics.jung.visualization.Renderer; | |
51 | import edu.uci.ics.jung.visualization.transform.MutableTransformer; | |
52 | ||
53 | /** | |
54 | * A complete wrapping of PluggableRenderer, used as a base class | |
55 | * | |
56 | * @author Tom Nelson - RABA Technologies | |
57 | * | |
58 | */ | |
59 | public abstract class PluggableRendererDecorator implements Renderer, PickedInfo, HasShapeFunctions { | |
60 | ||
61 | protected PluggableRenderer delegate; | |
62 | ||
63 | 0 | public PluggableRendererDecorator(PluggableRenderer delegate) { |
64 | 0 | this.delegate = delegate; |
65 | 0 | } |
66 | ||
67 | /* (non-Javadoc) | |
68 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgeArrowFunction() | |
69 | */ | |
70 | public EdgeArrowFunction getEdgeArrowFunction() { | |
71 | 0 | return delegate.getEdgeArrowFunction(); |
72 | } | |
73 | ||
74 | /* (non-Javadoc) | |
75 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgeArrowPredicate() | |
76 | */ | |
77 | public Predicate getEdgeArrowPredicate() { | |
78 | 0 | return delegate.getEdgeArrowPredicate(); |
79 | } | |
80 | ||
81 | /* (non-Javadoc) | |
82 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgeFontFunction() | |
83 | */ | |
84 | public EdgeFontFunction getEdgeFontFunction() { | |
85 | 0 | return delegate.getEdgeFontFunction(); |
86 | } | |
87 | ||
88 | /* (non-Javadoc) | |
89 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgeIncludePredicate() | |
90 | */ | |
91 | public Predicate getEdgeIncludePredicate() { | |
92 | 0 | return delegate.getEdgeIncludePredicate(); |
93 | } | |
94 | ||
95 | /* (non-Javadoc) | |
96 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgeLabelClosenessFunction() | |
97 | */ | |
98 | public NumberEdgeValue getEdgeLabelClosenessFunction() { | |
99 | 0 | return delegate.getEdgeLabelClosenessFunction(); |
100 | } | |
101 | ||
102 | /* (non-Javadoc) | |
103 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgePaintFunction() | |
104 | */ | |
105 | public EdgePaintFunction getEdgePaintFunction() { | |
106 | 0 | return delegate.getEdgePaintFunction(); |
107 | } | |
108 | ||
109 | /* (non-Javadoc) | |
110 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgeStringer() | |
111 | */ | |
112 | public EdgeStringer getEdgeStringer() { | |
113 | 0 | return delegate.getEdgeStringer(); |
114 | } | |
115 | ||
116 | /* (non-Javadoc) | |
117 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgeStrokeFunction() | |
118 | */ | |
119 | public EdgeStrokeFunction getEdgeStrokeFunction() { | |
120 | 0 | return delegate.getEdgeStrokeFunction(); |
121 | } | |
122 | ||
123 | /* (non-Javadoc) | |
124 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getRendererPane() | |
125 | */ | |
126 | public CellRendererPane getRendererPane() { | |
127 | 0 | return delegate.getRendererPane(); |
128 | } | |
129 | ||
130 | /* (non-Javadoc) | |
131 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getScreenDevice() | |
132 | */ | |
133 | public JComponent getScreenDevice() { | |
134 | 0 | return delegate.getScreenDevice(); |
135 | } | |
136 | ||
137 | /* (non-Javadoc) | |
138 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getVertexFontFunction() | |
139 | */ | |
140 | public VertexFontFunction getVertexFontFunction() { | |
141 | 0 | return delegate.getVertexFontFunction(); |
142 | } | |
143 | ||
144 | /* (non-Javadoc) | |
145 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getVertexIncludePredicate() | |
146 | */ | |
147 | public Predicate getVertexIncludePredicate() { | |
148 | 0 | return delegate.getVertexIncludePredicate(); |
149 | } | |
150 | ||
151 | /* (non-Javadoc) | |
152 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getVertexPaintFunction() | |
153 | */ | |
154 | public VertexPaintFunction getVertexPaintFunction() { | |
155 | 0 | return delegate.getVertexPaintFunction(); |
156 | } | |
157 | ||
158 | /* (non-Javadoc) | |
159 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getVertexStringer() | |
160 | */ | |
161 | public VertexStringer getVertexStringer() { | |
162 | 0 | return delegate.getVertexStringer(); |
163 | } | |
164 | ||
165 | /* (non-Javadoc) | |
166 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getVertexStrokeFunction() | |
167 | */ | |
168 | public VertexStrokeFunction getVertexStrokeFunction() { | |
169 | 0 | return delegate.getVertexStrokeFunction(); |
170 | } | |
171 | ||
172 | /* (non-Javadoc) | |
173 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setRendererPane(javax.swing.CellRendererPane) | |
174 | */ | |
175 | public void setRendererPane(CellRendererPane rendererPane) { | |
176 | 0 | delegate.setRendererPane(rendererPane); |
177 | 0 | } |
178 | ||
179 | /** | |
180 | * @return Returns the delegate. | |
181 | */ | |
182 | public PluggableRenderer getDelegate() { | |
183 | 0 | return delegate; |
184 | } | |
185 | ||
186 | ||
187 | /** | |
188 | * @param delegate The delegate to set. | |
189 | */ | |
190 | public void setDelegate(PluggableRenderer delegate) { | |
191 | 0 | this.delegate = delegate; |
192 | 0 | } |
193 | ||
194 | ||
195 | /* (non-Javadoc) | |
196 | * @see java.lang.Object#equals(java.lang.Object) | |
197 | */ | |
198 | public boolean equals(Object obj) { | |
199 | 0 | return delegate.equals(obj); |
200 | } | |
201 | ||
202 | /* (non-Javadoc) | |
203 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getEdgeShapeFunction() | |
204 | */ | |
205 | public EdgeShapeFunction getEdgeShapeFunction() { | |
206 | 0 | return delegate.getEdgeShapeFunction(); |
207 | } | |
208 | ||
209 | /* (non-Javadoc) | |
210 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getGraphLabelRenderer() | |
211 | */ | |
212 | public GraphLabelRenderer getGraphLabelRenderer() { | |
213 | 0 | return delegate.getGraphLabelRenderer(); |
214 | } | |
215 | ||
216 | /* (non-Javadoc) | |
217 | * @see edu.uci.ics.jung.visualization.AbstractRenderer#getPickedKey() | |
218 | */ | |
219 | public PickedInfo getPickedKey() { | |
220 | 0 | return delegate.getPickedKey(); |
221 | } | |
222 | ||
223 | /* (non-Javadoc) | |
224 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getVertexLabelCentering() | |
225 | */ | |
226 | public boolean getVertexLabelCentering() { | |
227 | 0 | return delegate.getVertexLabelCentering(); |
228 | } | |
229 | ||
230 | /* (non-Javadoc) | |
231 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getVertexShapeFunction() | |
232 | */ | |
233 | public VertexShapeFunction getVertexShapeFunction() { | |
234 | 0 | return delegate.getVertexShapeFunction(); |
235 | } | |
236 | ||
237 | /* (non-Javadoc) | |
238 | * @see java.lang.Object#hashCode() | |
239 | */ | |
240 | public int hashCode() { | |
241 | 0 | return delegate.hashCode(); |
242 | } | |
243 | ||
244 | /* (non-Javadoc) | |
245 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#isPicked(edu.uci.ics.jung.graph.Edge) | |
246 | */ | |
247 | public boolean isPicked(ArchetypeEdge e) { | |
248 | 0 | return delegate.isPicked(e); |
249 | } | |
250 | ||
251 | /* (non-Javadoc) | |
252 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#isPicked(edu.uci.ics.jung.graph.Vertex) | |
253 | */ | |
254 | public boolean isPicked(ArchetypeVertex v) { | |
255 | 0 | return delegate.isPicked(v); |
256 | } | |
257 | ||
258 | /* (non-Javadoc) | |
259 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#paintEdge(java.awt.Graphics, edu.uci.ics.jung.graph.Edge, int, int, int, int) | |
260 | */ | |
261 | public void paintEdge(Graphics g, Edge e, int x1, int y1, int x2, int y2) { | |
262 | 0 | delegate.paintEdge(g, e, x1, y1, x2, y2); |
263 | 0 | } |
264 | ||
265 | /* (non-Javadoc) | |
266 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#paintVertex(java.awt.Graphics, edu.uci.ics.jung.graph.Vertex, int, int) | |
267 | */ | |
268 | public void paintVertex(Graphics g, Vertex v, int x, int y) { | |
269 | 0 | delegate.paintVertex(g, v, x, y); |
270 | 0 | } |
271 | ||
272 | public void paintIconForVertex(Graphics g, Vertex v, int x, int y) { | |
273 | 0 | delegate.paintIconForVertex(g, v, x, y); |
274 | 0 | } |
275 | ||
276 | /* (non-Javadoc) | |
277 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#prepareRenderer(edu.uci.ics.jung.visualization.GraphLabelRenderer, java.lang.Object, boolean, edu.uci.ics.jung.graph.Edge) | |
278 | */ | |
279 | public Component prepareRenderer(GraphLabelRenderer renderer, Object value, boolean isSelected, Edge edge) { | |
280 | 0 | return delegate.prepareRenderer(renderer, value, isSelected, edge); |
281 | } | |
282 | ||
283 | /* (non-Javadoc) | |
284 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#prepareRenderer(edu.uci.ics.jung.visualization.GraphLabelRenderer, java.lang.Object, boolean, edu.uci.ics.jung.graph.Vertex) | |
285 | */ | |
286 | public Component prepareRenderer(GraphLabelRenderer graphLabelRenderer, Object value, boolean isSelected, Vertex vertex) { | |
287 | 0 | return delegate.prepareRenderer(graphLabelRenderer, value, isSelected, vertex); |
288 | } | |
289 | ||
290 | /* (non-Javadoc) | |
291 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setArrowPlacementTolerance(float) | |
292 | */ | |
293 | public void setArrowPlacementTolerance(float tolerance) { | |
294 | 0 | delegate.setArrowPlacementTolerance(tolerance); |
295 | 0 | } |
296 | ||
297 | /* (non-Javadoc) | |
298 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeArrowFunction(edu.uci.ics.jung.graph.decorators.EdgeArrowFunction) | |
299 | */ | |
300 | public void setEdgeArrowFunction(EdgeArrowFunction eaf) { | |
301 | 0 | delegate.setEdgeArrowFunction(eaf); |
302 | 0 | } |
303 | ||
304 | /* (non-Javadoc) | |
305 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeArrowPredicate(org.apache.commons.collections.Predicate) | |
306 | */ | |
307 | public void setEdgeArrowPredicate(Predicate p) { | |
308 | 0 | delegate.setEdgeArrowPredicate(p); |
309 | 0 | } |
310 | ||
311 | /* (non-Javadoc) | |
312 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeColorFunction(edu.uci.ics.jung.graph.decorators.EdgeColorFunction) | |
313 | */ | |
314 | public void setEdgeColorFunction(EdgeColorFunction ecf) { | |
315 | 0 | delegate.setEdgeColorFunction(ecf); |
316 | 0 | } |
317 | ||
318 | /* (non-Javadoc) | |
319 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeFontFunction(edu.uci.ics.jung.graph.decorators.EdgeFontFunction) | |
320 | */ | |
321 | public void setEdgeFontFunction(EdgeFontFunction eff) { | |
322 | 0 | delegate.setEdgeFontFunction(eff); |
323 | 0 | } |
324 | ||
325 | /* (non-Javadoc) | |
326 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeIncludePredicate(org.apache.commons.collections.Predicate) | |
327 | */ | |
328 | public void setEdgeIncludePredicate(Predicate p) { | |
329 | 0 | delegate.setEdgeIncludePredicate(p); |
330 | 0 | } |
331 | ||
332 | /* (non-Javadoc) | |
333 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeLabelClosenessFunction(edu.uci.ics.jung.graph.decorators.NumberEdgeValue) | |
334 | */ | |
335 | public void setEdgeLabelClosenessFunction(NumberEdgeValue nev) { | |
336 | 0 | delegate.setEdgeLabelClosenessFunction(nev); |
337 | 0 | } |
338 | ||
339 | /* (non-Javadoc) | |
340 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgePaintFunction(edu.uci.ics.jung.graph.decorators.EdgePaintFunction) | |
341 | */ | |
342 | public void setEdgePaintFunction(EdgePaintFunction impl) { | |
343 | 0 | delegate.setEdgePaintFunction(impl); |
344 | 0 | } |
345 | ||
346 | /* (non-Javadoc) | |
347 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeShapeFunction(edu.uci.ics.jung.graph.decorators.EdgeShapeFunction) | |
348 | */ | |
349 | public void setEdgeShapeFunction(EdgeShapeFunction impl) { | |
350 | 0 | delegate.setEdgeShapeFunction(impl); |
351 | 0 | } |
352 | ||
353 | /* (non-Javadoc) | |
354 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeStringer(edu.uci.ics.jung.graph.decorators.EdgeStringer) | |
355 | */ | |
356 | public void setEdgeStringer(EdgeStringer es) { | |
357 | 0 | delegate.setEdgeStringer(es); |
358 | 0 | } |
359 | ||
360 | /* (non-Javadoc) | |
361 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setEdgeStrokeFunction(edu.uci.ics.jung.graph.decorators.EdgeStrokeFunction) | |
362 | */ | |
363 | public void setEdgeStrokeFunction(EdgeStrokeFunction esf) { | |
364 | 0 | delegate.setEdgeStrokeFunction(esf); |
365 | 0 | } |
366 | ||
367 | /* (non-Javadoc) | |
368 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setGraphLabelRenderer(edu.uci.ics.jung.visualization.GraphLabelRenderer) | |
369 | */ | |
370 | public void setGraphLabelRenderer(GraphLabelRenderer graphLabelRenderer) { | |
371 | 0 | delegate.setGraphLabelRenderer(graphLabelRenderer); |
372 | 0 | } |
373 | ||
374 | /* (non-Javadoc) | |
375 | * @see edu.uci.ics.jung.visualization.AbstractRenderer#setPickedKey(edu.uci.ics.jung.visualization.PickedInfo) | |
376 | */ | |
377 | public void setPickedKey(PickedInfo pk) { | |
378 | 0 | delegate.setPickedKey(pk); |
379 | 0 | } |
380 | ||
381 | /* (non-Javadoc) | |
382 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setScreenDevice(javax.swing.JComponent) | |
383 | */ | |
384 | public void setScreenDevice(JComponent screenDevice) { | |
385 | 0 | delegate.setScreenDevice(screenDevice); |
386 | 0 | } |
387 | ||
388 | /* (non-Javadoc) | |
389 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexColorFunction(edu.uci.ics.jung.graph.decorators.VertexColorFunction) | |
390 | */ | |
391 | public void setVertexColorFunction(VertexColorFunction vcf) { | |
392 | 0 | delegate.setVertexColorFunction(vcf); |
393 | 0 | } |
394 | ||
395 | /* (non-Javadoc) | |
396 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexFontFunction(edu.uci.ics.jung.graph.decorators.VertexFontFunction) | |
397 | */ | |
398 | public void setVertexFontFunction(VertexFontFunction vff) { | |
399 | 0 | delegate.setVertexFontFunction(vff); |
400 | 0 | } |
401 | ||
402 | /* (non-Javadoc) | |
403 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexIncludePredicate(org.apache.commons.collections.Predicate) | |
404 | */ | |
405 | public void setVertexIncludePredicate(Predicate p) { | |
406 | 0 | delegate.setVertexIncludePredicate(p); |
407 | 0 | } |
408 | ||
409 | /* (non-Javadoc) | |
410 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexLabelCentering(boolean) | |
411 | */ | |
412 | public void setVertexLabelCentering(boolean b) { | |
413 | 0 | delegate.setVertexLabelCentering(b); |
414 | 0 | } |
415 | ||
416 | /* (non-Javadoc) | |
417 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexPaintFunction(edu.uci.ics.jung.graph.decorators.VertexPaintFunction) | |
418 | */ | |
419 | public void setVertexPaintFunction(VertexPaintFunction vpf) { | |
420 | 0 | delegate.setVertexPaintFunction(vpf); |
421 | 0 | } |
422 | ||
423 | /* (non-Javadoc) | |
424 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexShapeFunction(edu.uci.ics.jung.graph.decorators.VertexShapeFunction) | |
425 | */ | |
426 | public void setVertexShapeFunction(VertexShapeFunction vsf) { | |
427 | 0 | delegate.setVertexShapeFunction(vsf); |
428 | 0 | } |
429 | ||
430 | /* (non-Javadoc) | |
431 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexStringer(edu.uci.ics.jung.graph.decorators.VertexStringer) | |
432 | */ | |
433 | public void setVertexStringer(VertexStringer vs) { | |
434 | 0 | delegate.setVertexStringer(vs); |
435 | 0 | } |
436 | ||
437 | /* (non-Javadoc) | |
438 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexStrokeFunction(edu.uci.ics.jung.graph.decorators.VertexStrokeFunction) | |
439 | */ | |
440 | public void setVertexStrokeFunction(VertexStrokeFunction vsf) { | |
441 | 0 | delegate.setVertexStrokeFunction(vsf); |
442 | 0 | } |
443 | ||
444 | /* (non-Javadoc) | |
445 | * @see java.lang.Object#toString() | |
446 | */ | |
447 | public String toString() { | |
448 | 0 | return delegate.toString(); |
449 | } | |
450 | ||
451 | /* (non-Javadoc) | |
452 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getVertexImager() | |
453 | */ | |
454 | public VertexIconFunction getVertexIconFunction() { | |
455 | 0 | return delegate.getVertexIconFunction(); |
456 | } | |
457 | ||
458 | /* (non-Javadoc) | |
459 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#setVertexImager(edu.uci.ics.jung.graph.decorators.VertexIconFunction) | |
460 | */ | |
461 | public void setVertexIconFunction(VertexIconFunction vertexImager) { | |
462 | 0 | delegate.setVertexIconFunction(vertexImager); |
463 | 0 | } |
464 | ||
465 | /* (non-Javadoc) | |
466 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getArrowTransform(java.awt.geom.GeneralPath, java.awt.Shape) | |
467 | */ | |
468 | public AffineTransform getArrowTransform(GeneralPath edgeShape, Shape vertexShape) { | |
469 | 0 | return delegate.getArrowTransform(edgeShape, vertexShape); |
470 | } | |
471 | ||
472 | /* (non-Javadoc) | |
473 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getReverseArrowTransform(java.awt.geom.GeneralPath, java.awt.Shape) | |
474 | */ | |
475 | public AffineTransform getReverseArrowTransform(GeneralPath edgeShape, Shape vertexShape) { | |
476 | 0 | return delegate.getReverseArrowTransform(edgeShape, vertexShape); |
477 | } | |
478 | ||
479 | /* (non-Javadoc) | |
480 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#paintShapeForVertex(java.awt.Graphics2D, edu.uci.ics.jung.graph.Vertex, java.awt.Shape) | |
481 | */ | |
482 | public void paintShapeForVertex(Graphics2D g2d, Vertex v, Shape shape) { | |
483 | 0 | delegate.paintShapeForVertex(g2d, v, shape); |
484 | 0 | } |
485 | ||
486 | /* (non-Javadoc) | |
487 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getArrowTransform(java.awt.geom.Line2D, java.awt.Shape) | |
488 | */ | |
489 | public AffineTransform getArrowTransform(Line2D edgeShape, Shape vertexShape) { | |
490 | 0 | return delegate.getArrowTransform(edgeShape, vertexShape); |
491 | } | |
492 | ||
493 | /* (non-Javadoc) | |
494 | * @see edu.uci.ics.jung.visualization.PluggableRenderer#getReverseArrowTransform(java.awt.geom.GeneralPath, java.awt.Shape, boolean) | |
495 | */ | |
496 | public AffineTransform getReverseArrowTransform(GeneralPath edgeShape, Shape vertexShape, boolean passedGo) { | |
497 | 0 | return delegate.getReverseArrowTransform(edgeShape, vertexShape, passedGo); |
498 | } | |
499 | ||
500 | public ParallelEdgeIndexFunction getParallelEdgeIndexFunction() { | |
501 | 0 | return delegate.getParallelEdgeIndexFunction(); |
502 | } | |
503 | ||
504 | public void setParallelEdgeIndexFunction(ParallelEdgeIndexFunction parallelEdgeIndexFunction) { | |
505 | 0 | delegate.setParallelEdgeIndexFunction(parallelEdgeIndexFunction); |
506 | 0 | } |
507 | ||
508 | public void setViewTransformer(MutableTransformer viewTransformer) { | |
509 | 0 | delegate.setViewTransformer(viewTransformer); |
510 | 0 | } |
511 | } |
this report was generated by version 1.0.5 of jcoverage. |
copyright © 2003, jcoverage ltd. all rights reserved. |