|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.imageio.IIOParam
javax.imageio.ImageReadParam
net.sf.jcgm.imageio.plugins.cgm.CGMImageReadParam
public class CGMImageReadParam
CGM specific image read parameters. Adds the ability to define the resolution to use for the CGM image, in DPI (dots per inch).
Field Summary |
---|
Fields inherited from class javax.imageio.ImageReadParam |
---|
canSetSourceRenderSize, destination, destinationBands, minProgressivePass, numProgressivePasses, sourceRenderSize |
Fields inherited from class javax.imageio.IIOParam |
---|
controller, defaultController, destinationOffset, destinationType, sourceBands, sourceRegion, sourceXSubsampling, sourceYSubsampling, subsamplingXOffset, subsamplingYOffset |
Constructor Summary | |
---|---|
CGMImageReadParam()
Builds image read parameters for a CGM file, using the default DPI settings |
|
CGMImageReadParam(double dpi)
Builds image read parameters for a CGM file |
Method Summary | |
---|---|
boolean |
canSetSourceRenderSize()
|
double |
getDPI()
Returns the dots per inch setting defined when reading the CGM file |
java.util.List<Message> |
getMessages()
Returns the error messages that were encountered while reading the CGM files |
void |
setDPI(double dpi)
Defines the dot per inch setting to use when reading the CGM file |
void |
setMessages(java.util.List<Message> messages)
Sets the error messages that were encountered during the reading of the CGM file. |
Methods inherited from class javax.imageio.ImageReadParam |
---|
getDestination, getDestinationBands, getSourceMaxProgressivePass, getSourceMinProgressivePass, getSourceNumProgressivePasses, getSourceRenderSize, setDestination, setDestinationBands, setDestinationType, setSourceProgressivePasses, setSourceRenderSize |
Methods inherited from class javax.imageio.IIOParam |
---|
activateController, getController, getDefaultController, getDestinationOffset, getDestinationType, getSourceBands, getSourceRegion, getSourceXSubsampling, getSourceYSubsampling, getSubsamplingXOffset, getSubsamplingYOffset, hasController, setController, setDestinationOffset, setSourceBands, setSourceRegion, setSourceSubsampling |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CGMImageReadParam()
public CGMImageReadParam(double dpi)
dpi
- The DPI setting to useMethod Detail |
---|
public boolean canSetSourceRenderSize()
canSetSourceRenderSize
in class javax.imageio.ImageReadParam
public void setDPI(double dpi)
dpi
- the DPI to setpublic double getDPI()
public java.util.List<Message> getMessages()
public void setMessages(java.util.List<Message> messages)
CGMImageReader
class.
messages
- The error messages to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |