Class MouseOverMouseManager

java.lang.Object
org.graphstream.ui.swing_viewer.util.DefaultMouseManager
org.graphstream.ui.swing_viewer.util.MouseOverMouseManager
All Implemented Interfaces:
java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener, javax.swing.event.MouseInputListener, org.graphstream.ui.view.util.MouseManager

public class MouseOverMouseManager
extends DefaultMouseManager
  • Constructor Details

    • MouseOverMouseManager

      public MouseOverMouseManager​(long delay)
      Parameters:
      delay - The mouse needs to stay on an element for at least this amount of milliseconds, until the element gets the attribute "ui.mouseOver" assigned. A value smaller or equal to zero indicates, that the attribute is assigned without delay.
    • MouseOverMouseManager

      public MouseOverMouseManager​(java.util.EnumSet<org.graphstream.ui.view.util.InteractiveElement> types, long delay)
    • MouseOverMouseManager

      public MouseOverMouseManager​(java.util.EnumSet<org.graphstream.ui.view.util.InteractiveElement> types)
    • MouseOverMouseManager

      public MouseOverMouseManager()
  • Method Details

    • mouseMoved

      public void mouseMoved​(java.awt.event.MouseEvent event)
      Specified by:
      mouseMoved in interface java.awt.event.MouseMotionListener
      Overrides:
      mouseMoved in class DefaultMouseManager