source: trunk/src/org/expeditee/gio/gesture/data/CreateItemGestureData.java@ 1097

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: 557 bytes
Line 
1package org.expeditee.gio.gesture.data;
2
3public class CreateItemGestureData extends ItemSpecificGestureData {
4
5 public enum ItemType {
6 LINE,
7 BOX
8 }
9
10 private ItemType _itemType;
11
12 public CreateItemGestureData(ItemType itemType)
13 {
14 super();
15 _itemType = itemType;
16 }
17
18 public CreateItemGestureData(CreateItemGestureData other)
19 {
20 super(other);
21 if (other != null) _itemType = other._itemType;
22 }
23
24 public ItemType getItemType()
25 {
26 return _itemType;
27 }
28
29 public CreateItemGestureData clone()
30 {
31 return new CreateItemGestureData(this);
32 }
33}
Note: See TracBrowser for help on using the repository browser.