KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > opensymphony > workflow > designer > views > SplitView


1 package com.opensymphony.workflow.designer.views;
2
3 import org.jgraph.JGraph;
4 import org.jgraph.graph.CellMapper;
5 import org.jgraph.graph.CellViewRenderer;
6 import org.jgraph.graph.VertexView;
7
8 public class SplitView extends VertexView
9 {
10   private static final SplitRenderer renderer = new SplitRenderer();
11
12   public SplitView(Object JavaDoc cell, JGraph graph, CellMapper mapper)
13   {
14     super(cell, graph, mapper);
15   }
16
17   // Returns the Renderer for this View
18
public CellViewRenderer getRenderer()
19   {
20     return renderer;
21   }
22
23   public String JavaDoc toString()
24   {
25     return cell.toString();
26   }
27 }
28
Popular Tags