KickJava   Java API By Example, From Geeks To Geeks.

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


1 /* ProcessView.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 process object.
20 */

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

31    public ProcessView(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
Popular Tags