Class JmtEdgeRenderer

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
org.jgraph.graph.EdgeRenderer
jsimgraph.JGraphMod.JmtEdgeRenderer
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, org.jgraph.graph.CellViewRenderer

public class JmtEdgeRenderer extends org.jgraph.graph.EdgeRenderer implements org.jgraph.graph.CellViewRenderer

Title: JmtEdgeRenderer

Author:
Giuseppe De Cicco & Fabio Granara Date: 15-ott-2006
See Also:
  • Constructor Details

    • JmtEdgeRenderer

      public JmtEdgeRenderer(org.jgraph.graph.EdgeView view, Mediator factory)
  • Method Details

    • installAttributes

      protected void installAttributes(org.jgraph.graph.CellView view)
      Overrides:
      installAttributes in class org.jgraph.graph.EdgeRenderer
    • createShape

      protected Shape createShape()
      Overrides:
      createShape in class org.jgraph.graph.EdgeRenderer
    • createShape2

      protected Shape createShape2()
    • createShapeBezier

      protected Shape createShapeBezier(JMTPath path)
    • paint

      public void paint(Graphics var1)
      This function extends the function "paint" in order to make the tangents and control points visible when the connection is selected
      Overrides:
      paint in class org.jgraph.graph.EdgeRenderer
    • createShapeBezierWhileDragged

      protected Shape createShapeBezierWhileDragged(JMTPath path, List pointsActual)
      This function is used to display ths hape of a bezier connection while its source or target station (or both) is being dragged