source: trunk/src/org/expeditee/gio/gesture/data/InsertStringGestureData.java@ 1532

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
Line 
1package org.expeditee.gio.gesture.data;
2
3public class InsertStringGestureData extends ItemSpecificGestureData {
4
5 private String _string;
6 public InsertStringGestureData(String string, boolean shiftDown)
7 {
8 super(false);
9 _string = string;
10 _shiftDown = shiftDown;
11 }
12
13 public InsertStringGestureData(char c, boolean shiftDown)
14 {
15 super(false);
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.