HoverEvent Class
- public class HoverEvent
extends ChangeEvent
HoverEvent objects are passed to IHoverListener
objects when a hover event occurs in
source view.
-
Hierarchy
-
Object
EventObject
ChangeEvent
HoverEvent
-
All Implemented Interfaces
-
Serializable
public int |
-
getModifiers ()
- The modifiers that were on the original mouseMove event.
|
public int |
-
getOffset ()
- The offset of the hover.
|
public Point |
-
getPoint ()
- The actual position of the mouse while it hovers.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HoverEvent
public HoverEvent(ISourceView
sourceView,
int offset,
Point
pt,
int modifiers)
- Creates a new HoverEvent. Objects of this type are created by the source view,
and should not be created explicitly elsewhere.
getModifiers() Method
public int getModifiers()
The modifiers that were on the original mouseMove event.
getOffset() Method
public int getOffset()
The offset of the hover.
(rounded to the nearest insert position)
getPoint() Method
public Point
getPoint()
The actual position of the mouse while it hovers.