KickJava   Java API By Example, From Geeks To Geeks.

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


1 /* RouteView.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.jgraph.JGraph;
14 import org.jgraph.graph.*;
15
16 import java.awt.*;
17
18 /**
19 * Represents a view for a model's Route object.
20 */

21 public class RouteView extends ActivityView {
22
23    /** Renderer for the class. */
24    public static RouteRenderer renderer = new RouteRenderer();
25
26    /**
27    * Constructs a Route view for the specified model object.
28    *
29    * @param cell reference to the model object
30    */

31    public RouteView(Object JavaDoc cell, JGraph graph, CellMapper cm) {
32       super(cell, graph, cm);
33    }
34
35    /**
36    * Returns a renderer for the class.
37    */

38    public CellViewRenderer getRenderer() {
39       return renderer;
40    }
41
42 }
43
44 /* End of RouteView.java */
45
Popular Tags