Interface VisualGraphMousePlugin<V extends VisualVertex,​E extends VisualEdge<V>>

    • Method Detail

      • getViewer

        default edu.uci.ics.jung.visualization.VisualizationViewer<V,​E> getViewer​(java.awt.event.MouseEvent e)
      • getGraphViewer

        default GraphViewer<V,​E> getGraphViewer​(java.awt.event.MouseEvent e)
        Returns the primary/master graph viewer.
        Parameters:
        e - the mouse event from which to get the viewer
        Returns:
        the viewer
      • getSatelliteGraphViewer

        default SatelliteGraphViewer<V,​E> getSatelliteGraphViewer​(java.awt.event.MouseEvent e)
        Returns the satellite graph viewer. This assumes that the mouse event originated from the satellite viewer.
        Parameters:
        e - the mouse event from which to get the viewer
        Returns:
        the viewer
      • getViewUpdater

        default VisualGraphViewUpdater<V,​E> getViewUpdater​(java.awt.event.MouseEvent e)
        Returns the updater that is used to modify the primary graph viewer.
        Parameters:
        e - the mouse event from which to get the viewer
        Returns:
        the updater
      • getViewUpdater

        default VisualGraphViewUpdater<V,​E> getViewUpdater​(GraphViewer<V,​E> viewer)
        Returns the updater that is used to modify the primary graph viewer.
        Parameters:
        viewer - the viewer
        Returns:
        the updater
      • dispose

        default void dispose()
        Signals to perform any cleanup when this plugin is going away