source: trunk/quest-core-events-patrick/src/main/java/de/ugoe/cs/quest/eventcore/userinteraction/KeyInteraction.java @ 449

Last change on this file since 449 was 449, checked in by pharms, 12 years ago

Initial import.

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1//-------------------------------------------------------------------------------------------------
2// Module    : $RCSfile: Click.java,v $
3// Version   : $Revision: 0.0 $  $Author: Patrick $  $Date: 06.11.2011 10:28:39 $
4// Project   : TaskTreePerformanceTest
5// Creation  : 2011 by Patrick
6// Copyright : Patrick Harms, 2011
7//-------------------------------------------------------------------------------------------------
8
9package de.ugoe.cs.quest.eventcore.userinteraction;
10
11import de.ugoe.cs.tasktree.keyboardmaps.VirtualKey;
12
13//-------------------------------------------------------------------------------------------------
14/**
15 * TODO comment
16 *
17 * @version $Revision: $ $Date: $
18 * @author  2011, last modified by $Author: $
19 */
20//-------------------------------------------------------------------------------------------------
21public abstract class KeyInteraction implements Interaction
22{
23  /** the key, that was actually pressed */
24  private VirtualKey mKey;
25
26  //-----------------------------------------------------------------------------------------------
27  /**
28   * @param key
29   */
30  //-----------------------------------------------------------------------------------------------
31  public KeyInteraction(VirtualKey key)
32  {
33    super();
34    mKey = key;
35  }
36
37  //-----------------------------------------------------------------------------------------------
38  /**
39   *
40   */
41  //-----------------------------------------------------------------------------------------------
42  public VirtualKey getKey()
43  {
44    return mKey;
45  }
46
47}
Note: See TracBrowser for help on using the repository browser.