|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object DefaultCellViewFactory edu.jhu.ece.iacl.jist.pipeline.graph.PipeCellViewFactory
public class PipeCellViewFactory
Factory to create graph cells for different module types.
Field Summary | |
---|---|
protected PipeJGraph |
graph
The graph. |
static java.lang.String |
PORT_CLASS_KEY
The Constant PORT_CLASS_KEY. |
static java.lang.String |
VIEW_CLASS_KEY
The Constant VIEW_CLASS_KEY. |
Constructor Summary | |
---|---|
PipeCellViewFactory(PipeJGraph graph)
Instantiates a new pipe cell view factory. |
Method Summary | |
---|---|
protected PipeEdgeView |
createEdgeView(java.lang.Object cell)
|
protected PortView |
createPortView(java.lang.Object p)
Create port view. |
protected VertexView |
createVertexView(java.lang.Object v)
Create cell view. |
static void |
setPortClass(java.util.Map map,
java.lang.String viewClass)
Sets the port class. |
static void |
setViewClass(java.util.Map map,
java.lang.String viewClass)
Sets the view class. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VIEW_CLASS_KEY
public static final java.lang.String PORT_CLASS_KEY
protected PipeJGraph graph
Constructor Detail |
---|
public PipeCellViewFactory(PipeJGraph graph)
graph
- the graphMethod Detail |
---|
public static final void setPortClass(java.util.Map map, java.lang.String viewClass)
map
- the mapviewClass
- the view classpublic static final void setViewClass(java.util.Map map, java.lang.String viewClass)
map
- the mapviewClass
- the view classprotected PipeEdgeView createEdgeView(java.lang.Object cell)
protected PortView createPortView(java.lang.Object p)
p
- the p
protected VertexView createVertexView(java.lang.Object v)
v
- the v
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |