Package org.csstudio.utility.batik
Class AnimatedSVGCache
java.lang.Object
org.csstudio.utility.batik.AnimatedSVGCache
Cache that stores images until the simple time of all
TimedElement
of the current TimedDocumentRoot
has been reset.-
Constructor Summary
ConstructorDescriptionAnimatedSVGCache
(Display swtDisplay, org.apache.batik.anim.timing.TimedDocumentRoot timedDocumentRoot, org.csstudio.utility.batik.AnimatedSVGCache.AnimatedSVGCacheListener listener, int maxSize) -
Method Summary
Modifier and TypeMethodDescriptionaddImage
(BufferedImage awtImage) void
dispose()
void
flush()
Stop Processing & asynchronously flushes all images in the cache.int
getSize()
boolean
boolean
isFilled()
boolean
isFull()
boolean
void
void
setAlignedToNearestSecond
(boolean alignedToNearestSecond) void
Notify images in the same order & time interval as received.void
-
Constructor Details
-
AnimatedSVGCache
public AnimatedSVGCache(Display swtDisplay, org.apache.batik.anim.timing.TimedDocumentRoot timedDocumentRoot, org.csstudio.utility.batik.AnimatedSVGCache.AnimatedSVGCacheListener listener, int maxSize)
-
-
Method Details
-
dispose
public void dispose() -
isDisposed
public boolean isDisposed() -
flush
public void flush()Stop Processing & asynchronously flushes all images in the cache. -
addImage
-
isFull
public boolean isFull() -
isRunning
public boolean isRunning() -
isFilled
public boolean isFilled() -
getSize
public int getSize() -
setAlignedToNearestSecond
public void setAlignedToNearestSecond(boolean alignedToNearestSecond) -
startProcessing
public void startProcessing()Notify images in the same order & time interval as received. -
stopProcessing
public void stopProcessing() -
restartProcessing
public void restartProcessing()
-