|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.sarasvati.visual.ProcessToImageMapAdapter
public class ProcessToImageMapAdapter
Provides default implementations for methods in the
ProcessToImageMap interface. All methods return
null unless overridden.
| Constructor Summary | |
|---|---|
ProcessToImageMapAdapter()
|
|
ProcessToImageMapAdapter(String taskType)
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessToImageMapAdapter()
public ProcessToImageMapAdapter(String taskType)
| Method Detail |
|---|
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 GraphTree
ProcessToImageMap.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 icon
ProcessToImageMap.iconForNode(VisualProcessNode)public String getTaskType()
iconForNode(VisualProcessNode)
public String hoverForArc(VisualProcessArc arc)
ProcessToImageMap
hoverForArc in interface ProcessToImageMaparc - The arc to generate the hover for.
public String hoverForNode(VisualProcessNode node)
ProcessToImageMap
hoverForNode in interface ProcessToImageMapnode - The node to generate the hover for.
public String hrefForArc(VisualProcessArc arc)
ProcessToImageMap
hrefForArc in interface ProcessToImageMaparc - The arc to generate the HREF for
public String hrefForNode(VisualProcessNode node)
ProcessToImageMap
hrefForNode in interface ProcessToImageMapnode - The node to generate the HREF for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||