Package classycle.renderer
Class PlainClassRenderer
java.lang.Object
classycle.renderer.PlainClassRenderer
- All Implemented Interfaces:
AtomicVertexRenderer
Plain text renderer of an
AtomicVertex with
ClassAttributes.- Author:
- Franz-Josef Elmer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrender(AtomicVertex vertex, StrongComponent cycle, int layerIndex) Renderes the specified vertex.
-
Constructor Details
-
PlainClassRenderer
public PlainClassRenderer()
-
-
Method Details
-
render
Renderes the specified vertex. It is assumed that the vertex attributes are of the typeClassAttributes.- Specified by:
renderin interfaceAtomicVertexRenderer- Parameters:
vertex- Vertex to be rendered.cycle- Cycle to whichvertexbelongs. Will benullif it does not belong to a cycle (i.e. a strong component with more than one element).layerIndex- Index of the layer to whichvertexbelongs.- Returns:
- the rendered vertex.
-