View Javadoc

1   /*
2    * @(#)$Id: ButtonDeviceHandler.java 689 2009-07-22 00:10:27Z bsigner $
3    *
4    * Author       :   Ueli Kurmann, igesture@uelikurmann.ch
5    *
6    * Purpose      : 	Event listener for button devices.
7    *
8    * -----------------------------------------------------------------------
9    * 
10   * Revision Information:
11   *
12   * Date             Who         Reason
13   *
14   * Dec 26, 2006     ukurmann    Initial Release
15   * Mar 22, 2007     bsigner     Cleanup
16   *
17   * -----------------------------------------------------------------------
18   *
19   * Copyright 1999-2009 ETH Zurich. All Rights Reserved.
20   *
21   * This software is the proprietary information of ETH Zurich.
22   * Use is subject to license terms.
23   * 
24   */
25  
26  
27  package org.ximtec.igesture.io.button;
28  
29  import org.sigtec.input.InputDeviceEvent;
30  
31  
32  /**
33   * Event listener for button devices.
34   * 
35   * @version 1.0, Dec 2006
36   * @author Ueli Kurmann, igesture@uelikurmann.ch
37   * @author Beat Signer, signer@inf.ethz.ch
38   */
39  public interface ButtonDeviceHandler {
40  
41     /**
42      * Handles the button pressed event.
43      * 
44      * @param event the event to be handled.
45      */
46     public void handleButtonPressedEvent(InputDeviceEvent event);
47  
48  }