Package org.graphstream.ui.view.util
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 MouseManagervoidinit(GraphicGraph graph, View view)Make the manager active on the given graph and view.voidrelease()Release the links between this manager and the view and the graph.
-
Method Details
-
init
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
-