public class SvgMetricDecorator<T,E,M extends IDecorated<T>> extends AbstractSvgDecorator<T,E,M>
Constructor and Description |
---|
SvgMetricDecorator(IUiDecorator<T,E> uiDecorator) |
Modifier and Type | Method and Description |
---|---|
void |
decorateEdge(E edge,
SvgLabelledElement svgEdge) |
void |
decorateNode(T node,
SvgLabelledElement svgNode) |
void |
decorateRecursionBackArrow(T child,
T entryNode,
SvgLabelledElement e) |
void |
finishVisit() |
IColorMap |
getEdgeColorMap() |
IMetricValueConvertor |
getEdgeValueConvertor() |
IColorMap |
getNodeColorMap() |
IMetricValueConvertor |
getNodeValueConvertor() |
void |
visitEdge(E edge) |
void |
visitModel(M model,
com.kitfox.svg.SVGDiagram svg) |
void |
visitNode(T node) |
decorate, decorate, isApplied, resetApplied, setApplied, setExtendLabel
public SvgMetricDecorator(IUiDecorator<T,E> uiDecorator)
public void visitModel(M model, com.kitfox.svg.SVGDiagram svg) throws com.kitfox.svg.SVGElementException
com.kitfox.svg.SVGElementException
public void visitNode(T node)
public void visitEdge(E edge)
public void finishVisit()
public void decorateNode(T node, SvgLabelledElement svgNode) throws com.kitfox.svg.SVGElementException
com.kitfox.svg.SVGElementException
public void decorateEdge(E edge, SvgLabelledElement svgEdge) throws com.kitfox.svg.SVGElementException
com.kitfox.svg.SVGElementException
public void decorateRecursionBackArrow(T child, T entryNode, SvgLabelledElement e) throws com.kitfox.svg.SVGElementException
com.kitfox.svg.SVGElementException
public IColorMap getNodeColorMap()
public IMetricValueConvertor getNodeValueConvertor()
public IColorMap getEdgeColorMap()
public IMetricValueConvertor getEdgeValueConvertor()