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 Summary
Constructors Constructor Description MouseOverMouseManager()
MouseOverMouseManager(long delay)
MouseOverMouseManager(java.util.EnumSet<org.graphstream.ui.view.util.InteractiveElement> types)
MouseOverMouseManager(java.util.EnumSet<org.graphstream.ui.view.util.InteractiveElement> types, long delay)
-
Method Summary
Modifier and Type Method Description void
mouseMoved(java.awt.event.MouseEvent event)
Methods inherited from class org.graphstream.ui.swing_viewer.util.DefaultMouseManager
getManagedTypes, init, mouseClicked, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, release
-
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 interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseMoved
in classDefaultMouseManager
-