|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MorenaSource
Common base class for different source types.
Method Summary | |
---|---|
int |
getBitDepth()
Get image bit depth |
double |
getBrightness()
Get image brightness |
double |
getContrast()
Get image contrast |
double |
getResolution()
Get scan resolution |
boolean |
maskBadValueException(boolean mask)
Masks some MorenaException. maskBadValueException(true) masks all MorenaException raised set...()/get...() methods by because of bad value of capability/option result/condition code until maskBadValueException(false) is invoked. |
boolean |
maskUnsupportedCapabilityException(boolean mask)
Masks some MorenaException. maskUnsupportedCapabilityException(true) masks all MorenaException raised set...()/get...() methods by because of capability/option not supported result/condition code until maskUnsupportedCapabilityException(false) is invoked. |
void |
setBitDepth(int value)
Set image bit depth |
void |
setBrightness(double value)
Set image brightness |
void |
setColorMode()
Set color scan mode |
void |
setContrast(double value)
Set image contrast |
void |
setFrame(double left,
double top,
double right,
double bottom)
Set scan frame |
void |
setGrayScaleMode()
Set gray scale scan mode |
void |
setResolution(double dpi)
Set scan resolution |
void |
setVisible(boolean uiVisible)
Set UI visibilit flag for startProduction(). |
java.lang.String |
toString()
Return source name. |
Methods inherited from interface java.awt.image.ImageProducer |
---|
addConsumer, isConsumer, removeConsumer, requestTopDownLeftRightResend, startProduction |
Method Detail |
---|
void setResolution(double dpi) throws MorenaException
MorenaException
double getResolution() throws MorenaException
MorenaException
void setColorMode() throws MorenaException
MorenaException
void setGrayScaleMode() throws MorenaException
MorenaException
void setBitDepth(int value) throws MorenaException
MorenaException
int getBitDepth() throws MorenaException
MorenaException
void setContrast(double value) throws MorenaException
MorenaException
double getContrast() throws MorenaException
MorenaException
void setBrightness(double value) throws MorenaException
MorenaException
double getBrightness() throws MorenaException
MorenaException
void setFrame(double left, double top, double right, double bottom) throws MorenaException
MorenaException
boolean maskUnsupportedCapabilityException(boolean mask) throws MorenaException
MorenaException
boolean maskBadValueException(boolean mask) throws MorenaException
MorenaException
void setVisible(boolean uiVisible)
java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |