|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.stimulsoft.report.StiImageCache
public class StiImageCache
Image cache. Store BufferedImage
Copyright Stimulsoft
Field Summary | |
---|---|
java.util.ArrayList<java.lang.Integer> |
imageIndex
|
java.util.ArrayList<java.awt.image.BufferedImage> |
imageStore
|
Constructor Summary | |
---|---|
StiImageCache(boolean useImageComparer)
|
|
StiImageCache(boolean useImageComparer,
StiImageFormat imageFormat,
float imageQuality)
|
|
StiImageCache(boolean useImageComparer,
StiImageFormat imageFormat,
float imageQuality,
boolean useImageTransparency)
|
Method Summary | |
---|---|
int |
addImageInt(java.awt.image.BufferedImage image)
Put BufferedImage to cache & return it's number in store |
int |
addImageInt(java.awt.image.BufferedImage image,
StiColorImageFormat colorFormat,
byte[] imageBytes)
Put BufferedImage to cache & return it's number in store |
int |
addImageInt(java.awt.image.BufferedImage image,
StiImageFormat imageFormat)
Put BufferedImage to cache & return it's number in store |
int |
addImageInt(java.awt.image.BufferedImage image,
StiImageFormat imageFormat,
StiColorImageFormat colorFormat,
byte[] imageBytes)
Put BufferedImage to cache & return it's number in store |
void |
clear()
Clear cache |
byte[] |
getDeflateImage(int index)
Get byte array representation of deflate image in deflate image cache |
java.awt.image.BufferedImage |
getImageByIndex(int index)
Get BufferedImage from cache by it';s index |
java.util.ArrayList<java.lang.Integer> |
getImageIndex()
|
java.util.ArrayList<byte[]> |
getImageMaskStore()
|
float |
getImageQuality()
|
int |
getImageStoreSize()
Get image store size |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.ArrayList<java.awt.image.BufferedImage> imageStore
public java.util.ArrayList<java.lang.Integer> imageIndex
Constructor Detail |
---|
public StiImageCache(boolean useImageComparer)
public StiImageCache(boolean useImageComparer, StiImageFormat imageFormat, float imageQuality)
public StiImageCache(boolean useImageComparer, StiImageFormat imageFormat, float imageQuality, boolean useImageTransparency)
Method Detail |
---|
public void clear()
public int addImageInt(java.awt.image.BufferedImage image)
BufferedImage
to cache & return it's number in store
image
- BufferedImage
public int addImageInt(java.awt.image.BufferedImage image, StiImageFormat imageFormat)
BufferedImage
to cache & return it's number in store
image
- BufferedImage
imageFormat
- StiImageFormat
public int addImageInt(java.awt.image.BufferedImage image, StiColorImageFormat colorFormat, byte[] imageBytes)
BufferedImage
to cache & return it's number in store
image
- BufferedImage
colorFormat
- StiColorImageFormat
public int addImageInt(java.awt.image.BufferedImage image, StiImageFormat imageFormat, StiColorImageFormat colorFormat, byte[] imageBytes)
BufferedImage
to cache & return it's number in store
image
- BufferedImage
imageFormat
- StiImageFormat
colorFormat
- StiColorImageFormat
public int getImageStoreSize()
public java.awt.image.BufferedImage getImageByIndex(int index)
BufferedImage
from cache by it';s index
index
-
BufferedImage
public byte[] getDeflateImage(int index)
index
-
public float getImageQuality()
public java.util.ArrayList<java.lang.Integer> getImageIndex()
public java.util.ArrayList<byte[]> getImageMaskStore()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |