public class ProcessToImageMapAdapter extends Object implements ProcessToImageMap
ProcessToImageMap interface. All methods return
null unless overridden.| Constructor and Description |
|---|
ProcessToImageMapAdapter() |
ProcessToImageMapAdapter(String taskType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
drawArcLabels(Arc arc)
Returns true unless overridden
|
String |
getTaskType()
TaskType default is "task".
|
String |
hoverForArc(VisualProcessArc arc)
Every arc in a generated image of a graph process may have
associated text which will pop-up when the arc is
hovered over.
|
String |
hoverForNode(VisualProcessNode node)
Every node in a generated image of a graph process may have
associated text which will pop-up when the node is
hovered over.
|
String |
hrefForArc(VisualProcessArc arc)
Every arc in a generated image of a process graph may have
a link for when the arc is clicked.
|
String |
hrefForNode(VisualProcessNode node)
Every node in a generated image of a graph process may have
a link for when the node is clicked.
|
Icon |
iconForNode(VisualProcessNode node)
Returns a
RectangularNodeIcon for nodes with type of 'task' and a
OvalNodeIcon for all other nodes. |
boolean |
isBackArc(Arc arc,
boolean defaultValue)
Returns the defaultValue for all arcs
|
public ProcessToImageMapAdapter()
public ProcessToImageMapAdapter(String taskType)
public boolean drawArcLabels(Arc arc)
drawArcLabels in interface ProcessToImageMapProcessToImageMap.drawArcLabels(Arc)public boolean isBackArc(Arc arc, boolean defaultValue)
isBackArc in interface ProcessToImageMaparc - An arc in a process definitiondefaultValue - True if the arc is calculated to be backwards based on a GraphTreeProcessToImageMap.isBackArc(Arc, boolean)public Icon iconForNode(VisualProcessNode node)
RectangularNodeIcon for nodes with type of 'task' and a
OvalNodeIcon for all other nodes.iconForNode in interface ProcessToImageMapnode - The graph node needing an iconProcessToImageMap.iconForNode(VisualProcessNode)public String getTaskType()
iconForNode(VisualProcessNode)public String hoverForArc(VisualProcessArc arc)
ProcessToImageMaphoverForArc in interface ProcessToImageMaparc - The arc to generate the hover for.public String hoverForNode(VisualProcessNode node)
ProcessToImageMaphoverForNode in interface ProcessToImageMapnode - The node to generate the hover for.public String hrefForArc(VisualProcessArc arc)
ProcessToImageMaphrefForArc in interface ProcessToImageMaparc - The arc to generate the HREF forpublic String hrefForNode(VisualProcessNode node)
ProcessToImageMaphrefForNode in interface ProcessToImageMapnode - The node to generate the HREF forCopyright © 2012. All Rights Reserved.