public class HoverEvent
extends java.util.EventObject
Constructor and Description |
---|
HoverEvent(java.lang.Object eventSource,
java.lang.Object triggerItem,
boolean hoverOver)
Construct a new HoverEvent, with the specified source, item and hover
state.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getItem()
Get the item which triggered this HoverEvent
|
boolean |
isHovering()
Return whether the mouse is currently hovering over the item
|
public HoverEvent(java.lang.Object eventSource, java.lang.Object triggerItem, boolean hoverOver)
eventSource
- The source object which triggered this event.
Typically a ComponenttriggerItem
- Item which triggered the HoverEvent. This can be an
object displayed on the component, for instance.hoverOver
- The hover state. Set to TRUE to indicate that the mouse
is currently hovering over the item, or FALSE if the mouse
has moved off of the item.