com.guiseframework.event
Interface KeyboardEvent

All Superinterfaces:
com.globalmentor.event.Event, FocusedInputEvent, GestureInputEvent, GuiseEvent, InputEvent
All Known Implementing Classes:
AbstractKeyboardEvent, KeyPressEvent, KeyReleaseEvent

public interface KeyboardEvent
extends GestureInputEvent, FocusedInputEvent

An event providing information on input from a keyboard.

Author:
Garret Wilson

Method Summary
 KeystrokeInput getInput()
           
 Key getKey()
          The key that was pressed.
 
Methods inherited from interface com.guiseframework.event.GestureInputEvent
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
 

Method Detail

getKey

Key getKey()
The key that was pressed.


getInput

KeystrokeInput getInput()
Specified by:
getInput in interface GestureInputEvent
Specified by:
getInput in interface InputEvent
Returns:
The input associated with this event, or null if there is no input associated with this event.


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