Interface MouseManager


public interface MouseManager
A global behavior for all mouse events on graphic elements.
  • Method Summary

    Modifier and Type Method Description
    EnumSet<InteractiveElement> getManagedTypes()
    Returns the set of InteractiveElements managed by the MouseManager
    void init​(GraphicGraph graph, View view)
    Make the manager active on the given graph and view.
    void release()
    Release the links between this manager and the view and the graph.
  • Method Details

    • init

      void init​(GraphicGraph graph, View view)
      Make the manager active on the given graph and view.
      Parameters:
      graph - The graph to control.
      view - The view to control.
    • release

      void release()
      Release the links between this manager and the view and the graph.
    • getManagedTypes

      EnumSet<InteractiveElement> getManagedTypes()
      Returns the set of InteractiveElements managed by the MouseManager
      Returns:
      the set of InteractiveElements managed by the MouseManager