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 anAtomicVertexwithClassAttributes.- 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.Stringrender(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:
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.
-
-