com.guiseframework.event
Interface MouseEvent

All Superinterfaces:
com.globalmentor.event.Event, GestureInputEvent, GuiseEvent, InputEvent, com.globalmentor.event.TargetedEvent
All Known Implementing Classes:
AbstractMouseEvent, MouseClickEvent, MouseEnterEvent, MouseExitEvent

public interface MouseEvent
extends GestureInputEvent, com.globalmentor.event.TargetedEvent

An event providing mouse information.

Author:
Garret Wilson

Method Summary
 Point getMousePosition()
           
 Rectangle getTargetBounds()
           
 Rectangle getViewportBounds()
           
 
Methods inherited from interface com.guiseframework.event.GestureInputEvent
getInput, getKeys, hasAltKey, hasControlKey, hasShiftKey
 
Methods inherited from interface com.guiseframework.event.InputEvent
consume, isConsumed
 
Methods inherited from interface com.guiseframework.event.GuiseEvent
getSession
 
Methods inherited from interface com.globalmentor.event.Event
getSource
 
Methods inherited from interface com.globalmentor.event.TargetedEvent
getTarget
 

Method Detail

getTargetBounds

Rectangle getTargetBounds()
Returns:
The absolute bounds of the event target.

getViewportBounds

Rectangle getViewportBounds()
Returns:
The absolute bounds of the viewport.

getMousePosition

Point getMousePosition()
Returns:
The position of the mouse relative to the viewport.


Copyright © 2005-2010 GlobalMentor, Inc. All Rights Reserved.