Last change
on this file since 942 was 942, checked in by bln4, 9 years ago |
The beginnings of indirect controls.
|
-
Property svn:mime-type
set to
text/plain
|
File size:
592 bytes
|
Line | |
---|
1 | package org.expeditee.gui.indirect.mouse;
|
---|
2 |
|
---|
3 | public class IndirectMouseActions {
|
---|
4 | private static final int ACTIONQUANTITY = 100;
|
---|
5 |
|
---|
6 | private static IndirectMouseActions instance = new IndirectMouseActions();
|
---|
7 |
|
---|
8 | private IndirectMouseActions() { }
|
---|
9 |
|
---|
10 | public static IndirectMouseActions getInstance() { return instance; }
|
---|
11 |
|
---|
12 | public MouseAction[] actions = new MouseAction[ACTIONQUANTITY];
|
---|
13 |
|
---|
14 | private int back = 0;
|
---|
15 | public MouseAction getBackAction() { return actions[back]; }
|
---|
16 | public MouseAction setBackAction(final MouseAction action) { actions[back] = action; return action; }
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.