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:
render
in interfaceAtomicVertexRenderer
- Parameters:
vertex
- Vertex to be rendered.cycle
- Cycle to whichvertex
belongs. Will benull
if it does not belong to a cycle (i.e. a strong component with more than one element).layerIndex
- Index of the layer to whichvertex
belongs.- Returns:
- the rendered vertex.
-