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:
414 bytes
|
Rev | Line | |
---|
[1097] | 1 | package org.expeditee.gio.gesture.data;
|
---|
| 2 |
|
---|
| 3 | public class UndoGestureData extends GestureData {
|
---|
| 4 |
|
---|
| 5 | private boolean _redo;
|
---|
| 6 |
|
---|
| 7 | public UndoGestureData(boolean redo)
|
---|
| 8 | {
|
---|
| 9 | super();
|
---|
| 10 | _redo = redo;
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | public UndoGestureData(UndoGestureData other)
|
---|
| 14 | {
|
---|
| 15 | super(other);
|
---|
| 16 | _redo = other._redo;
|
---|
| 17 | }
|
---|
| 18 |
|
---|
| 19 | public boolean getRedo()
|
---|
| 20 | {
|
---|
| 21 | return _redo;
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | public UndoGestureData clone()
|
---|
| 25 | {
|
---|
| 26 | return new UndoGestureData(this);
|
---|
| 27 | }
|
---|
| 28 |
|
---|
| 29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.