Package classycle.renderer
Class PlainClassRenderer
- java.lang.Object
-
- classycle.renderer.PlainClassRenderer
-
- All Implemented Interfaces:
AtomicVertexRenderer
public class PlainClassRenderer extends java.lang.Object implements AtomicVertexRenderer
Plain text renderer of anAtomicVertex
withClassAttributes
.- Author:
- Franz-Josef Elmer
-
-
Constructor Summary
Constructors Constructor Description PlainClassRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
render(AtomicVertex vertex, StrongComponent cycle, int layerIndex)
Renderes the specified vertex.
-
-
-
Method Detail
-
render
public java.lang.String render(AtomicVertex vertex, StrongComponent cycle, int layerIndex)
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.
-
-