Class ActivityRenderer
java.lang.Object
org.cristalise.kernel.graph.renderer.DefaultVertexRenderer
org.cristalise.kernel.lifecycle.renderer.ActivityRenderer
- All Implemented Interfaces:
VertexRenderer
Renders an elementary Activity instance
-
Field Summary
Fields inherited from class org.cristalise.kernel.graph.renderer.DefaultVertexRenderer
ERROR_PAINT, FILL_PAINT, LINE_PAINT, TEXT_PAINT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(Graphics2D g2d, Vertex vertex) Draws the Activity as a 3D rectangle without borders, with text lines for Name, DefinitionName, State, WaitTime and errorsMethods inherited from class org.cristalise.kernel.graph.renderer.DefaultVertexRenderer
drawLinesOfTexts, drawName, drawOutline, drawOutline3DRect, drawOutline3DRect, drawOutlineRect, drawOutlineRect, drawText
-
Constructor Details
-
ActivityRenderer
public ActivityRenderer()
-
-
Method Details
-
draw
Draws the Activity as a 3D rectangle without borders, with text lines for Name, DefinitionName, State, WaitTime and errors- Specified by:
drawin interfaceVertexRenderer- Overrides:
drawin classDefaultVertexRenderer- Parameters:
g2d- the canvas to draw onvertex- the vertex to be draw
-