source: trunk/quest-core-events/src/main/java/de/ugoe/cs/quest/eventcore/gui/MouseButtonInteraction.java @ 550

Last change on this file since 550 was 550, checked in by pharms, 12 years ago
  • removed leading m in member variables
  • Property svn:executable set to *
File size: 957 bytes
Line 
1// Module    : $RCSfile: MouseButtonInteraction.java,v $
2// Version   : $Revision: 0.0 $  $Author: Patrick $  $Date: 18.12.2011 10:06:29 $
3// Project   : TaskTreePerformanceTest
4// Creation  : 2011 by Patrick
5// Copyright : Patrick Harms, 2011
6
7package de.ugoe.cs.quest.eventcore.gui;
8
9/**
10 * TODO comment
11 *
12 * @version $Revision: $ $Date: $
13 * @author 2011, last modified by $Author: $
14 */
15public abstract class MouseButtonInteraction extends MouseInteraction {
16
17    /**  */
18    private static final long serialVersionUID = 1L;
19
20    /** */
21    public static enum Button {
22        LEFT, MIDDLE, RIGHT;
23    }
24
25    /** the button used for mouse interaction */
26    private Button button;
27
28    /**
29     *
30     */
31    public MouseButtonInteraction(Button button) {
32        this.button = button;
33    }
34
35    /**
36     * @return Returns the button.
37     */
38    public Button getButton() {
39        return button;
40    }
41
42}
Note: See TracBrowser for help on using the repository browser.