Class OpenJpegImage
- java.lang.Object
-
- com.vividsolutions.jump.workbench.imagery.openjpeg.OpenJpegImage
-
- All Implemented Interfaces:
ReferencedImage,Disposable,AlphaSetting
public class OpenJpegImage extends Object implements ReferencedImage, AlphaSetting, Disposable
AReferencedImagefor ECW files
-
-
Field Summary
Fields Modifier and Type Field Description protected BufferedImagecachedImage
-
Constructor Summary
Constructors Constructor Description OpenJpegImage(String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voiddispose()intgetAlpha()org.locationtech.jts.geom.EnvelopegetEnvelope()StringgetLoader()StringgetType()voidpaint(Feature f, Graphics2D g, Viewport viewport)voidsetAlpha(int alpha)
-
-
-
Field Detail
-
cachedImage
protected BufferedImage cachedImage
-
-
Method Detail
-
getEnvelope
public org.locationtech.jts.geom.Envelope getEnvelope() throws ReferencedImageException- Specified by:
getEnvelopein interfaceReferencedImage- Throws:
ReferencedImageException
-
paint
public void paint(Feature f, Graphics2D g, Viewport viewport) throws ReferencedImageException
- Specified by:
paintin interfaceReferencedImage- Throws:
ReferencedImageException
-
close
public void close()
-
getType
public String getType()
- Specified by:
getTypein interfaceReferencedImage
-
getLoader
public String getLoader()
- Specified by:
getLoaderin interfaceReferencedImage
-
getAlpha
public int getAlpha()
- Specified by:
getAlphain interfaceAlphaSetting
-
setAlpha
public void setAlpha(int alpha)
- Specified by:
setAlphain interfaceAlphaSetting
-
dispose
public void dispose()
- Specified by:
disposein interfaceDisposable
-
-