KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > jawe > graph > RouteRenderer


1 /* RouteRenderer.java
2  *
3  * Authors:
4  * Stefanovic Nenad chupo@iis.ns.ac.yu
5  * Bojanic Sasa sasaboy@neobee.net
6  * Puskas Vladimir vpuskas@eunet.yu
7  * Pilipovic Goran zboniek@uns.ac.yu
8  *
9  */

10
11 package org.enhydra.jawe.graph;
12
13 import org.enhydra.jawe.*;
14 import org.jgraph.graph.*;
15 import java.awt.*;
16
17 /**
18 * Class used to display Route object.
19 */

20 public class RouteRenderer extends ActivityRenderer {
21
22    protected Color getFillColor () {
23       Color c=Utils.getColor(JaWEConfig.getInstance().getRouteActivityColor());
24       return ActivityRenderer.getFillColor(c,(Activity)view.getCell());
25    }
26
27 }
28
Popular Tags