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 Details

    • vertexLocationChanged

      void vertexLocationChanged(V v, 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