Changeset 786 for trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/gui/KeyTyped.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/KeyTyped.java
r765 r786 4 4 import de.ugoe.cs.tasktree.keyboardmaps.VirtualKey; 5 5 6 /** 7 * <p> 8 * Event type for typing a key, i.e., pressing and releasing it right away. 9 * </p> 10 * 11 * @version 1.0 12 * @author Steffen Herbold 13 */ 6 14 public class KeyTyped extends KeyInteraction { 7 15 8 /** */ 16 /** 17 * <p> 18 * Id for object serialization. 19 * </p> 20 */ 9 21 private static final long serialVersionUID = 1L; 10 22 11 23 /** 12 * @param key 24 * <p> 25 * Constructor. Creates a new {@link KeyTyped} event type. 26 * </p> 27 * 28 * @see KeyInteraction#KeyInteraction(VirtualKey) 13 29 */ 14 30 public KeyTyped(VirtualKey key) { … … 51 67 */ 52 68 public boolean finishesLogicalSequence() { 53 return false; 69 // TODO handle lock keys correctly 70 return super.getKey().isCombinationKey(); 54 71 } 55 72
Note: See TracChangeset
for help on using the changeset viewer.