Class CubicCurveEdgeEffects<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.control.CubicCurveEdgeEffects<V,E>
- All Implemented Interfaces:
EdgeEffects<V,
E>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
Used for the directed edge creation visual effect during mouse drag(package private) class
Used for the edge creation visual effect during mouse drag -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected VisualizationServer.Paintable
protected Shape
protected VisualizationServer.Paintable
protected Shape
protected Shape
protected CubicCurve2D
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
midArrowEffects
(BasicVisualizationServer<V, E> vv, Point2D down, Point2D out) void
midEdgeEffects
(BasicVisualizationServer<V, E> vv, Point2D down, Point2D out) void
startArrowEffects
(BasicVisualizationServer<V, E> vv, Point2D down, Point2D out) void
startEdgeEffects
(BasicVisualizationServer<V, E> vv, Point2D down, Point2D out) private void
transformArrowShape
(Point2D down, Point2D out) private void
transformEdgeShape
(Point2D down, Point2D out) code lifted from PluggableRenderer to move an edge shape into an arbitrary position
-
Field Details
-
rawEdge
-
edgeShape
-
rawArrowShape
-
arrowShape
-
edgePaintable
-
arrowPaintable
-
-
Constructor Details
-
CubicCurveEdgeEffects
public CubicCurveEdgeEffects()
-
-
Method Details
-
startEdgeEffects
- Specified by:
startEdgeEffects
in interfaceEdgeEffects<V,
E>
-
midEdgeEffects
- Specified by:
midEdgeEffects
in interfaceEdgeEffects<V,
E>
-
endEdgeEffects
- Specified by:
endEdgeEffects
in interfaceEdgeEffects<V,
E>
-
startArrowEffects
- Specified by:
startArrowEffects
in interfaceEdgeEffects<V,
E>
-
midArrowEffects
- Specified by:
midArrowEffects
in interfaceEdgeEffects<V,
E>
-
endArrowEffects
- Specified by:
endArrowEffects
in interfaceEdgeEffects<V,
E>
-
transformEdgeShape
code lifted from PluggableRenderer to move an edge shape into an arbitrary position -
transformArrowShape
-