Changeset 786 for trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/gui/KeyInteraction.java
- Timestamp:
- 09/06/12 16:47:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/gui/KeyInteraction.java
r655 r786 1 1 2 package de.ugoe.cs.quest.eventcore.gui; 2 3 … … 4 5 5 6 /** 6 * TODO comment 7 * <p> 8 * Base class for all keyboard interaction event types. 9 * </p> 7 10 * 8 * @version $Revision: $ $Date: $9 * @author 2011, last modified by $Author: $11 * @version 1.0 12 * @author Patrick Harms 10 13 */ 11 14 public abstract class KeyInteraction implements IInteraction { 12 15 13 /** */ 16 /** 17 * <p> 18 * Id for object serialization. 19 * </p> 20 */ 14 21 private static final long serialVersionUID = 1L; 15 22 16 /** the key, that was actually pressed */ 23 /** 24 * <p> 25 * the key associated with the interaction 26 * </p> 27 */ 17 28 private VirtualKey key; 18 29 19 30 /** 31 * <p> 32 * Constructor. Creates a new KeyInteraction. 33 * </p> 34 * 20 35 * @param key 36 * key associated with the interaction 21 37 */ 22 38 public KeyInteraction(VirtualKey key) { … … 26 42 27 43 /** 44 * <p> 45 * Returns the key associated with the interaction. 46 * </p> 28 47 * 48 * @return the key 29 49 */ 30 50 public VirtualKey getKey() {
Note: See TracChangeset
for help on using the changeset viewer.