Ignore:
Timestamp:
09/06/12 16:47:00 (12 years ago)
Author:
sherbold
Message:
  • code documentation
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/gui/KeyTyped.java

    r765 r786  
    44import de.ugoe.cs.tasktree.keyboardmaps.VirtualKey; 
    55 
     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 */ 
    614public class KeyTyped extends KeyInteraction { 
    715 
    8     /**  */ 
     16    /** 
     17     * <p> 
     18     * Id for object serialization. 
     19     * </p> 
     20     */ 
    921    private static final long serialVersionUID = 1L; 
    1022 
    1123    /** 
    12      * @param key 
     24     * <p> 
     25     * Constructor. Creates a new {@link KeyTyped} event type. 
     26     * </p> 
     27     *  
     28     * @see KeyInteraction#KeyInteraction(VirtualKey) 
    1329     */ 
    1430    public KeyTyped(VirtualKey key) { 
     
    5167     */ 
    5268    public boolean finishesLogicalSequence() { 
    53         return false; 
     69        // TODO handle lock keys correctly 
     70        return super.getKey().isCombinationKey(); 
    5471    } 
    5572 
Note: See TracChangeset for help on using the changeset viewer.