com.guiseframework.event
Interface InputEvent

All Superinterfaces:
com.globalmentor.event.Event, GuiseEvent
All Known Subinterfaces:
FocusedInputEvent, GestureInputEvent, KeyboardEvent, MouseEvent, MouseInputEvent
All Known Implementing Classes:
AbstractFocusedGestureInputEvent, AbstractFocusedInputEvent, AbstractGestureInputEvent, AbstractInputEvent, AbstractKeyboardEvent, AbstractMouseEvent, CommandEvent, KeyPressEvent, KeyReleaseEvent, MouseClickEvent, MouseEnterEvent, MouseExitEvent

public interface InputEvent
extends GuiseEvent

An event providing information from input such as a keystroke or a command.

Author:
Garret Wilson

Method Summary
 void consume()
          Consumes the input associated with this event.
 Input getInput()
           
 boolean isConsumed()
           
 
Methods inherited from interface com.guiseframework.event.GuiseEvent
getSession
 
Methods inherited from interface com.globalmentor.event.Event
getSource
 

Method Detail

isConsumed

boolean isConsumed()
Returns:
Whether the input associated with this event has been consumed.

consume

void consume()
Consumes the input associated with this event. The event is marked as consumed so that other listeners will be on notice not to consume the input.


getInput

Input getInput()
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.