1
2
3
4
5
6
7
8 package com.buckosoft.PicMan.domain;
9
10
11
12
13
14
15 public class PosterParams extends ContactParams implements Cloneable {
16 private Poster poster;
17
18 private XY sheetXY = new XY();
19 private XY masterPicXY = new XY();
20 private XY sheetsXY = new XY();
21 private XY generatedOffsetXY = new XY();
22
23 private boolean calibration = false;
24
25
26
27
28 @Override
29 public PosterParams clone() throws CloneNotSupportedException {
30 PosterParams pp = (PosterParams)super.clone();
31 pp.sheetXY = this.sheetXY.clone();
32 pp.sheetsXY = this.sheetsXY.clone();
33 pp.masterPicXY = this.masterPicXY.clone();
34 pp.generatedOffsetXY = this.generatedOffsetXY.clone();
35 return(pp);
36 }
37
38
39
40 public Poster getPoster() {
41 return poster;
42 }
43
44
45
46 public void setPoster(Poster poster) {
47 this.poster = poster;
48 }
49
50
51
52 public XY getSheetXY() {
53 return sheetXY;
54 }
55
56
57
58 public void setSheetXY(XY sheetXY) {
59 this.sheetXY = sheetXY;
60 }
61
62
63
64 public XY getMasterPicXY() {
65 return masterPicXY;
66 }
67
68
69
70 public void setMasterPicXY(XY masterPicXY) {
71 this.masterPicXY = masterPicXY;
72 }
73
74
75
76
77 public XY getSheetsXY() {
78 return sheetsXY;
79 }
80
81
82
83 public void setSheetsXY(XY sheetsXY) {
84 this.sheetsXY = sheetsXY;
85 }
86
87
88
89 public XY getGeneratedOffsetXY() {
90 return generatedOffsetXY;
91 }
92
93
94
95 public void setGeneratedOffsetXY(XY generatedOffsetXY) {
96 this.generatedOffsetXY = generatedOffsetXY;
97 }
98
99
100
101 public boolean isCalibration() {
102 return calibration;
103 }
104
105
106
107 public void setCalibration() {
108 this.calibration = true;
109 }
110
111 }