Interface LayoutListener<V,​E>

  • Type Parameters:
    V - the vertex type
    E - the edge type

    public interface LayoutListener<V,​E>
    A listener for layout changes.
    • Method Detail

      • vertexLocationChanged

        void vertexLocationChanged​(V v,
                                   java.awt.geom.Point2D point,
                                   LayoutListener.ChangeType changeType)
        Called when a vertex location has changed.
        Parameters:
        v - the vertex
        point - the new vertex location
        changeType - the type of the change