Interface VertexClickListener<V extends VisualVertex,E extends VisualEdge<V>>

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

public interface VertexClickListener<V extends VisualVertex,E extends VisualEdge<V>>
A listener that allows clients to be notified of vertex clicks. Normal mouse processing is handled by the VisualGraphMousePlugin class. This is a convenience method so that clients do not have to deal with the mouse plugin.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called when a vertex is double-clicked
  • Method Details

    • vertexDoubleClicked

      boolean vertexDoubleClicked(V v, VertexMouseInfo<V,E> mouseInfo)
      Called when a vertex is double-clicked
      Parameters:
      v - the clicked vertex
      mouseInfo - the info object that contains mouse information for the graph and the low-level vertex's clicked component
      Returns:
      true if this call wants to stop all further mouse event processing