View Javadoc

1   /*
2    * @(#)$Id: ButtonDeviceEventListener.java 689 2009-07-22 00:10:27Z bsigner $
3    *
4    * Author       :   Ueli Kurmann, igesture@uelikurmann.ch
5    *
6    * Purpose      :  	Interface for devices with a button.
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  /**
30   * Interface for devices with a button.
31   * 
32   * @version 1.0, Dec 2006
33   * @author Ueli Kurmann, igesture@uelikurmann.ch
34   * @author Beat Signer, signer@inf.ethz.ch
35   */
36  public interface ButtonDeviceEventListener {
37  
38     /**
39      * Adds a listener to the button device.
40      * 
41      * @param listener the listener to be added.
42      */
43     void addButtonDeviceEventListener(ButtonDeviceHandler listener);
44  
45  
46     /**
47      * Removes a listener from the button device.
48      * 
49      * @param listener the listener to be removed.
50      */
51     void removeButtonDeviceEventListener(ButtonDeviceHandler listener);
52  
53  }