1 /*
2 * @(#)$Id:$
3 *
4 * Author : Ueli Kurmann, igesture@uelikurmann.ch
5 *
6 *
7 * Purpose :
8 *
9 * -----------------------------------------------------------------------
10 *
11 * Revision Information:
12 *
13 * Date Who Reason
14 *
15 * 16.12.2008 ukurmann Initial Release
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.tool.gesturevisualisation;
28
29 import java.awt.Dimension;
30
31 import javax.swing.JPanel;
32
33 import org.ximtec.igesture.io.GestureDevice;
34
35
36 /**
37 * Comment
38 * @version 1.0 16.12.2008
39 * @author Ueli Kurmann
40 *
41 * This is a wrapper interface used to visualize gestures in real time.
42 * Implementations need a public default constructor.
43 *
44 */
45 public interface InputPanel {
46
47 /**
48 * Initializes the input panel with a gesture device.
49 * @param gesture
50 */
51 void init(GestureDevice< ?,? > gestureDevice);
52
53
54 /**
55 * Returns a new panel visualizing the gesture.
56 * @param dimension
57 * @return
58 */
59 JPanel getPanel(Dimension dimension);
60
61 }