org.pietschy.command
Class HoverEvent
EventObject
org.pietschy.command.HoverEvent
public class HoverEvent
extends EventObject
Fired when the mouse enters and exits a command.
Command | getCommand() - Gets the command associated with the HoverEvent.
|
Face | getFace() - Gets the Face associated with the hover event.
|
boolean | isInWindow(Window window) - Checks if the specified window contains the the on which that raised the hover event.
|
HoverEvent
public HoverEvent(Command command,
Face face,
Component component)
getCommand
public Command getCommand()
Gets the command associated with the HoverEvent.
- the command associated with the HoverEvent.
getFace
public Face getFace()
Gets the Face associated with the hover event.
- the Face associated with the hover event.
isInWindow
public boolean isInWindow(Window window)
Checks if the specified window contains the the on which that raised the hover event.
This method can be used to filter out hover events that are raised on a shared
- true if the the hovered component is in the same window as the specified
component.