public static interface Component.HoverEventListener
This callback will be invoked before the component receives the event.
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
boolean |
onHoverEvent(Component component,
MultimodalEvent event) |
Processes a hover event dispatched to a component.
|
boolean onHoverEvent(Component component, MultimodalEvent event)
The listener responds to a hover event before the component receives the event.
component - Indicates the component to which the hover event is dispatched.event - Indicates all information about the hover event.true if the listener has processed the event; returns false otherwise.