Last change
on this file since 610 was
590,
checked in by pharms, 12 years ago
|
- added the X mouse button for windows
|
-
Property svn:executable set to
*
|
File size:
960 bytes
|
Rev | Line | |
---|
[544] | 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 |
|
---|
| 7 | package de.ugoe.cs.quest.eventcore.gui;
|
---|
| 8 |
|
---|
| 9 | /**
|
---|
| 10 | * TODO comment
|
---|
| 11 | *
|
---|
| 12 | * @version $Revision: $ $Date: $
|
---|
| 13 | * @author 2011, last modified by $Author: $
|
---|
| 14 | */
|
---|
| 15 | public abstract class MouseButtonInteraction extends MouseInteraction {
|
---|
| 16 |
|
---|
| 17 | /** */
|
---|
| 18 | private static final long serialVersionUID = 1L;
|
---|
| 19 |
|
---|
| 20 | /** */
|
---|
| 21 | public static enum Button {
|
---|
[590] | 22 | LEFT, MIDDLE, RIGHT, X;
|
---|
[544] | 23 | }
|
---|
| 24 |
|
---|
| 25 | /** the button used for mouse interaction */
|
---|
[550] | 26 | private Button button;
|
---|
[544] | 27 |
|
---|
| 28 | /**
|
---|
| 29 | *
|
---|
| 30 | */
|
---|
| 31 | public MouseButtonInteraction(Button button) {
|
---|
[550] | 32 | this.button = button;
|
---|
[544] | 33 | }
|
---|
| 34 |
|
---|
| 35 | /**
|
---|
| 36 | * @return Returns the button.
|
---|
| 37 | */
|
---|
| 38 | public Button getButton() {
|
---|
[550] | 39 | return button;
|
---|
[544] | 40 | }
|
---|
| 41 |
|
---|
| 42 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.