Class CubicCurveEdgeEffects<V,E>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.control.CubicCurveEdgeEffects<V,E>
-
- All Implemented Interfaces:
EdgeEffects<V,E>
public class CubicCurveEdgeEffects<V,E> extends java.lang.Object implements EdgeEffects<V,E>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classCubicCurveEdgeEffects.ArrowPaintableUsed for the directed edge creation visual effect during mouse drag(package private) classCubicCurveEdgeEffects.EdgePaintableUsed for the edge creation visual effect during mouse drag
-
Field Summary
Fields Modifier and Type Field Description protected VisualizationServer.PaintablearrowPaintableprotected java.awt.ShapearrowShapeprotected VisualizationServer.PaintableedgePaintableprotected java.awt.ShapeedgeShapeprotected java.awt.ShaperawArrowShapeprotected java.awt.geom.CubicCurve2DrawEdge
-
Constructor Summary
Constructors Constructor Description CubicCurveEdgeEffects()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendArrowEffects(BasicVisualizationServer<V,E> vv)voidendEdgeEffects(BasicVisualizationServer<V,E> vv)voidmidArrowEffects(BasicVisualizationServer<V,E> vv, java.awt.geom.Point2D down, java.awt.geom.Point2D out)voidmidEdgeEffects(BasicVisualizationServer<V,E> vv, java.awt.geom.Point2D down, java.awt.geom.Point2D out)voidstartArrowEffects(BasicVisualizationServer<V,E> vv, java.awt.geom.Point2D down, java.awt.geom.Point2D out)voidstartEdgeEffects(BasicVisualizationServer<V,E> vv, java.awt.geom.Point2D down, java.awt.geom.Point2D out)private voidtransformArrowShape(java.awt.geom.Point2D down, java.awt.geom.Point2D out)private voidtransformEdgeShape(java.awt.geom.Point2D down, java.awt.geom.Point2D out)code lifted from PluggableRenderer to move an edge shape into an arbitrary position
-
-
-
Field Detail
-
rawEdge
protected java.awt.geom.CubicCurve2D rawEdge
-
edgeShape
protected java.awt.Shape edgeShape
-
rawArrowShape
protected java.awt.Shape rawArrowShape
-
arrowShape
protected java.awt.Shape arrowShape
-
edgePaintable
protected VisualizationServer.Paintable edgePaintable
-
arrowPaintable
protected VisualizationServer.Paintable arrowPaintable
-
-
Method Detail
-
startEdgeEffects
public void startEdgeEffects(BasicVisualizationServer<V,E> vv, java.awt.geom.Point2D down, java.awt.geom.Point2D out)
- Specified by:
startEdgeEffectsin interfaceEdgeEffects<V,E>
-
midEdgeEffects
public void midEdgeEffects(BasicVisualizationServer<V,E> vv, java.awt.geom.Point2D down, java.awt.geom.Point2D out)
- Specified by:
midEdgeEffectsin interfaceEdgeEffects<V,E>
-
endEdgeEffects
public void endEdgeEffects(BasicVisualizationServer<V,E> vv)
- Specified by:
endEdgeEffectsin interfaceEdgeEffects<V,E>
-
startArrowEffects
public void startArrowEffects(BasicVisualizationServer<V,E> vv, java.awt.geom.Point2D down, java.awt.geom.Point2D out)
- Specified by:
startArrowEffectsin interfaceEdgeEffects<V,E>
-
midArrowEffects
public void midArrowEffects(BasicVisualizationServer<V,E> vv, java.awt.geom.Point2D down, java.awt.geom.Point2D out)
- Specified by:
midArrowEffectsin interfaceEdgeEffects<V,E>
-
endArrowEffects
public void endArrowEffects(BasicVisualizationServer<V,E> vv)
- Specified by:
endArrowEffectsin interfaceEdgeEffects<V,E>
-
transformEdgeShape
private void transformEdgeShape(java.awt.geom.Point2D down, java.awt.geom.Point2D out)code lifted from PluggableRenderer to move an edge shape into an arbitrary position
-
transformArrowShape
private void transformArrowShape(java.awt.geom.Point2D down, java.awt.geom.Point2D out)
-
-