HoverEvent Class

com.bea.ide.sourceeditor.ui
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

Field Summary

   
Fields from  java.util.EventObject
source
 

Constructor Summary

HoverEvent(ISourceView sourceView, int offset, Point pt, int modifiers)

Creates a new HoverEvent.
 

Method Summary

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  java.util.EventObject
getSource, toString
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Constructor Detail

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.
 

Method Detail

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.