Last change
on this file since 1532 was 1532, checked in by bnemhaus, 4 years ago |
New feature: when creating a frameset, if the item being used is linked and you hold shift, it will use the items on the linked frame to populate the zero frame of the new frameset
|
File size:
721 bytes
|
Rev | Line | |
---|
[1097] | 1 | package org.expeditee.gio.gesture.data;
|
---|
| 2 |
|
---|
| 3 | public class InsertStringGestureData extends ItemSpecificGestureData {
|
---|
| 4 |
|
---|
| 5 | private String _string;
|
---|
| 6 | public InsertStringGestureData(String string, boolean shiftDown)
|
---|
| 7 | {
|
---|
[1532] | 8 | super(false);
|
---|
[1097] | 9 | _string = string;
|
---|
| 10 | _shiftDown = shiftDown;
|
---|
| 11 | }
|
---|
| 12 |
|
---|
| 13 | public InsertStringGestureData(char c, boolean shiftDown)
|
---|
| 14 | {
|
---|
[1532] | 15 | super(false);
|
---|
[1097] | 16 | _string = new String("" + c);
|
---|
| 17 | _shiftDown = shiftDown;
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | public InsertStringGestureData(InsertStringGestureData other)
|
---|
| 21 | {
|
---|
| 22 | super(other);
|
---|
| 23 | _string = new String(other._string);
|
---|
| 24 | _shiftDown = other._shiftDown;
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | public String getString()
|
---|
| 28 | {
|
---|
| 29 | return _string;
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | @Override
|
---|
| 33 | public GestureData clone()
|
---|
| 34 | {
|
---|
| 35 | return new InsertStringGestureData(this);
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.