public final class VisualEdgePainterFactoryImpl extends VisualEdgePainterFactory
Although different types of VisualEdgePainters are returned depending on the VisualEdge specified, a single instance of that type is returned.
| Modifier and Type | Method and Description |
|---|---|
static VisualEdgePainterFactoryImpl |
getInstance()
Returns the singleton instance of this class
|
Painter |
getPainter(VisualGraphComponent component)
Return a VisualEdgePainter suitable for the specified
VisualEdge:
VisualEdgePainterImpl for VisualEdges encapsulating
a non-directed Edge.
VisualDirectedEdgePainterImpl for a VisualEdge
encapsulating a DirectedEdge.
VisualWeightedEdgePainterImpl for a VisualEdge
encapsulating a WeightedEdge.
VisualDirectedWeightedEdgePainterImpl for a VisualEdge
encapsulating a DirectedWeightedEdge.
|
public static VisualEdgePainterFactoryImpl getInstance()
public Painter getPainter(VisualGraphComponent component)
ve - The VisualEdge that we want to paint.Copyright © 2019 JULIE Lab, Germany. All rights reserved.