1
|
1 package de.mpg.mpiwg.itgroup.digilib.digiImage;
|
|
2
|
9
|
3 /**
|
|
4 * Parameter which describe the state of an Digilib-Image,
|
|
5 * settings and parameter names are described in @see {@link http://developer.berlios.de/docman/?group_id=251}
|
|
6 * @author dwinter
|
|
7 *
|
|
8 */
|
1
|
9 public class DigiImageParameter {
|
|
10
|
|
11 private String fn;
|
|
12
|
|
13 private int pn=1;
|
|
14
|
|
15 private int dw=-1;
|
|
16 private int dh=-1;
|
|
17
|
|
18 private float wx=0;
|
|
19 private float wy=0;
|
|
20
|
|
21 private float ww=1;
|
|
22 private float wh=1;
|
|
23 private float ws=1;
|
|
24
|
|
25 private String mo="fit";
|
|
26
|
|
27 private float cont=0;
|
|
28 private float brgt=0;
|
|
29
|
|
30 private float rot=0;
|
|
31
|
|
32 private String rgbm="0/0/0";
|
|
33 private String rgba="0/0/0";
|
|
34
|
|
35 private int ddpi=-1;
|
|
36 private int ddpix=-1;
|
|
37 private int ddpiy=-1;
|
|
38
|
|
39 public DigiImageParameter(String fn){
|
|
40 this.fn = fn;
|
|
41 }
|
|
42 public String getFn() {
|
|
43 return fn;
|
|
44 }
|
|
45 public void setFn(String fn) {
|
|
46 this.fn = fn;
|
|
47 }
|
|
48 public int getPn() {
|
|
49 return pn;
|
|
50 }
|
|
51 public void setPn(int pn) {
|
|
52 this.pn = pn;
|
|
53 }
|
|
54 public int getDw() {
|
|
55 return dw;
|
|
56 }
|
|
57 public void setDw(int dw) {
|
|
58 this.dw = dw;
|
|
59 }
|
|
60 public int getDh() {
|
|
61 return dh;
|
|
62 }
|
|
63 public void setDh(int dh) {
|
|
64 this.dh = dh;
|
|
65 }
|
|
66 public float getWx() {
|
|
67 return wx;
|
|
68 }
|
|
69 public void setWx(float wx) {
|
|
70 this.wx = wx;
|
|
71 }
|
|
72 public float getWy() {
|
|
73 return wy;
|
|
74 }
|
|
75 public void setWy(float wy) {
|
|
76 this.wy = wy;
|
|
77 }
|
|
78 public float getWw() {
|
|
79 return ww;
|
|
80 }
|
|
81 public void setWw(float ww) {
|
|
82 this.ww = ww;
|
|
83 }
|
|
84 public float getWh() {
|
|
85 return wh;
|
|
86 }
|
|
87 public void setWh(float wh) {
|
|
88 this.wh = wh;
|
|
89 }
|
|
90 public float getWs() {
|
|
91 return ws;
|
|
92 }
|
|
93 public void setWs(float ws) {
|
|
94 this.ws = ws;
|
|
95 }
|
|
96 public String getMo() {
|
|
97 return mo;
|
|
98 }
|
|
99 public void setMo(String mo) {
|
|
100 this.mo = mo;
|
|
101 }
|
|
102 public float getCont() {
|
|
103 return cont;
|
|
104 }
|
|
105 public void setCont(float cont) {
|
|
106 this.cont = cont;
|
|
107 }
|
|
108 public float getBrgt() {
|
|
109 return brgt;
|
|
110 }
|
|
111 public void setBrgt(float brgt) {
|
|
112 this.brgt = brgt;
|
|
113 }
|
|
114 public float getRot() {
|
|
115 return rot;
|
|
116 }
|
|
117 public void setRot(float rot) {
|
|
118 this.rot = rot;
|
|
119 }
|
|
120 public String getRgbm() {
|
|
121 return rgbm;
|
|
122 }
|
|
123 public void setRgbm(String rgbm) {
|
|
124 this.rgbm = rgbm;
|
|
125 }
|
|
126 public String getRgba() {
|
|
127 return rgba;
|
|
128 }
|
|
129 public void setRgba(String rgba) {
|
|
130 this.rgba = rgba;
|
|
131 }
|
|
132 public int getDdpi() {
|
|
133 return ddpi;
|
|
134 }
|
|
135 public void setDdpi(int ddpi) {
|
|
136 this.ddpi = ddpi;
|
|
137 }
|
|
138 public int getDdpix() {
|
|
139 return ddpix;
|
|
140 }
|
|
141 public void setDdpix(int ddpix) {
|
|
142 this.ddpix = ddpix;
|
|
143 }
|
|
144 public int getDdpiy() {
|
|
145 return ddpiy;
|
|
146 }
|
|
147 public void setDdpiy(int ddpiy) {
|
|
148 this.ddpiy = ddpiy;
|
|
149 }
|
|
150
|
|
151
|
|
152
|
|
153
|
|
154
|
|
155
|
|
156 }
|