Last change
on this file since 1097 was 1097, checked in by davidb, 6 years ago |
Newly structured files from Corey's work on logic/graphics separation
|
File size:
796 bytes
|
Line | |
---|
1 | package org.expeditee.gio.gesture.data;
|
---|
2 |
|
---|
3 | public class ChangeColourGestureData extends ItemSpecificGestureData {
|
---|
4 |
|
---|
5 | private boolean _setTransparent;
|
---|
6 | private boolean _setSecondaryColour;
|
---|
7 |
|
---|
8 | public ChangeColourGestureData(boolean setTransparent, boolean setSecondaryColour)
|
---|
9 | {
|
---|
10 | super();
|
---|
11 | _setTransparent = setTransparent;
|
---|
12 | _setSecondaryColour = setSecondaryColour;
|
---|
13 | }
|
---|
14 |
|
---|
15 | public ChangeColourGestureData(ChangeColourGestureData other)
|
---|
16 | {
|
---|
17 | super(other);
|
---|
18 | _setTransparent = other._setTransparent;
|
---|
19 | _setSecondaryColour = other._setSecondaryColour;
|
---|
20 | }
|
---|
21 |
|
---|
22 | public boolean shouldSetTransparent()
|
---|
23 | {
|
---|
24 | return _setTransparent;
|
---|
25 | }
|
---|
26 |
|
---|
27 | public boolean shouldSetSecondaryColour()
|
---|
28 | {
|
---|
29 | return _setSecondaryColour;
|
---|
30 | }
|
---|
31 |
|
---|
32 | @Override
|
---|
33 | public GestureData clone()
|
---|
34 | {
|
---|
35 | return new ChangeColourGestureData(this);
|
---|
36 | }
|
---|
37 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.