Last change
on this file since 655 was
655,
checked in by pharms, 12 years ago
|
- removed old copyright file header
|
-
Property svn:executable set to
*
|
File size:
709 bytes
|
Line | |
---|
1 | package de.ugoe.cs.quest.eventcore.gui;
|
---|
2 |
|
---|
3 | /**
|
---|
4 | * TODO comment
|
---|
5 | *
|
---|
6 | * @version $Revision: $ $Date: $
|
---|
7 | * @author 2011, last modified by $Author: $
|
---|
8 | */
|
---|
9 | public abstract class MouseButtonInteraction extends MouseInteraction {
|
---|
10 |
|
---|
11 | /** */
|
---|
12 | private static final long serialVersionUID = 1L;
|
---|
13 |
|
---|
14 | /** */
|
---|
15 | public static enum Button {
|
---|
16 | LEFT, MIDDLE, RIGHT, X;
|
---|
17 | }
|
---|
18 |
|
---|
19 | /** the button used for mouse interaction */
|
---|
20 | private Button button;
|
---|
21 |
|
---|
22 | /**
|
---|
23 | *
|
---|
24 | */
|
---|
25 | public MouseButtonInteraction(Button button) {
|
---|
26 | this.button = button;
|
---|
27 | }
|
---|
28 |
|
---|
29 | /**
|
---|
30 | * @return Returns the button.
|
---|
31 | */
|
---|
32 | public Button getButton() {
|
---|
33 | return button;
|
---|
34 | }
|
---|
35 |
|
---|
36 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.