Mercurial > hg > de.mpg.mpiwg.itgroup.digilib.core
diff src/de/mpg/mpiwg/itgroup/digilib/digiImage/DigiImageParameter.java @ 1:83c58ea33792
first release (continued)
author | dwinter |
---|---|
date | Mon, 03 Jan 2011 09:11:25 +0100 |
parents | |
children | e63a64652f4d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/de/mpg/mpiwg/itgroup/digilib/digiImage/DigiImageParameter.java Mon Jan 03 09:11:25 2011 +0100 @@ -0,0 +1,150 @@ +package de.mpg.mpiwg.itgroup.digilib.digiImage; + +public class DigiImageParameter { + + private String fn; + + private int pn=1; + + private int dw=-1; + private int dh=-1; + + private float wx=0; + private float wy=0; + + private float ww=1; + private float wh=1; + private float ws=1; + + private String mo="fit"; + + private float cont=0; + private float brgt=0; + + private float rot=0; + + private String rgbm="0/0/0"; + private String rgba="0/0/0"; + + private int ddpi=-1; + private int ddpix=-1; + private int ddpiy=-1; + + public DigiImageParameter(String fn){ + this.fn = fn; + } + public String getFn() { + return fn; + } + public void setFn(String fn) { + this.fn = fn; + } + public int getPn() { + return pn; + } + public void setPn(int pn) { + this.pn = pn; + } + public int getDw() { + return dw; + } + public void setDw(int dw) { + this.dw = dw; + } + public int getDh() { + return dh; + } + public void setDh(int dh) { + this.dh = dh; + } + public float getWx() { + return wx; + } + public void setWx(float wx) { + this.wx = wx; + } + public float getWy() { + return wy; + } + public void setWy(float wy) { + this.wy = wy; + } + public float getWw() { + return ww; + } + public void setWw(float ww) { + this.ww = ww; + } + public float getWh() { + return wh; + } + public void setWh(float wh) { + this.wh = wh; + } + public float getWs() { + return ws; + } + public void setWs(float ws) { + this.ws = ws; + } + public String getMo() { + return mo; + } + public void setMo(String mo) { + this.mo = mo; + } + public float getCont() { + return cont; + } + public void setCont(float cont) { + this.cont = cont; + } + public float getBrgt() { + return brgt; + } + public void setBrgt(float brgt) { + this.brgt = brgt; + } + public float getRot() { + return rot; + } + public void setRot(float rot) { + this.rot = rot; + } + public String getRgbm() { + return rgbm; + } + public void setRgbm(String rgbm) { + this.rgbm = rgbm; + } + public String getRgba() { + return rgba; + } + public void setRgba(String rgba) { + this.rgba = rgba; + } + public int getDdpi() { + return ddpi; + } + public void setDdpi(int ddpi) { + this.ddpi = ddpi; + } + public int getDdpix() { + return ddpix; + } + public void setDdpix(int ddpix) { + this.ddpix = ddpix; + } + public int getDdpiy() { + return ddpiy; + } + public void setDdpiy(int ddpiy) { + this.ddpiy = ddpiy; + } + + + + + + +}