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:
848 bytes
|
Rev | Line | |
---|
[1097] | 1 | package org.expeditee.gio.gesture.data;
|
---|
| 2 |
|
---|
| 3 | import org.expeditee.gui.DisplayController;
|
---|
| 4 | import org.expeditee.gui.Frame;
|
---|
| 5 |
|
---|
| 6 | public class JustifyGestureData extends ItemSpecificGestureData {
|
---|
| 7 |
|
---|
| 8 | private Frame _frame;
|
---|
| 9 | private boolean _resetWidth;
|
---|
| 10 |
|
---|
| 11 | public JustifyGestureData(boolean resetWidth)
|
---|
| 12 | {
|
---|
[1532] | 13 | super(false);
|
---|
[1097] | 14 | _frame = DisplayController.getCurrentFrame();
|
---|
| 15 | _resetWidth = resetWidth;
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | public JustifyGestureData(Frame frame, boolean resetWidth)
|
---|
| 19 | {
|
---|
[1532] | 20 | super(false);
|
---|
[1097] | 21 | _frame = frame;
|
---|
| 22 | _resetWidth = resetWidth;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | public JustifyGestureData(JustifyGestureData other)
|
---|
| 26 | {
|
---|
| 27 | super(other);
|
---|
| 28 | _frame = other._frame;
|
---|
| 29 | _resetWidth = other._resetWidth;
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | public Frame getFrame()
|
---|
| 33 | {
|
---|
| 34 | return _frame;
|
---|
| 35 | }
|
---|
| 36 |
|
---|
| 37 | public boolean getResetWidth()
|
---|
| 38 | {
|
---|
| 39 | return _resetWidth;
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | public JustifyGestureData clone()
|
---|
| 43 | {
|
---|
| 44 | return new JustifyGestureData(this);
|
---|
| 45 | }
|
---|
| 46 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.