Package qupath.lib.gui.images.stores
Class AbstractImageRenderer
java.lang.Object
qupath.lib.gui.images.stores.AbstractImageRenderer
- All Implemented Interfaces:
ImageRenderer
- Direct Known Subclasses:
ImageDisplay
Abstract
ImageRenderer
, which adds a timestamp variable.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet a unique key, which will be used for caching.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface qupath.lib.gui.images.stores.ImageRenderer
applyTransforms, getLastChangeTimestamp
-
Constructor Details
-
AbstractImageRenderer
public AbstractImageRenderer()
-
-
Method Details
-
getUniqueID
Description copied from interface:ImageRenderer
Get a unique key, which will be used for caching.The only requirement is that the key is unique for the
ImageRenderer
in its current state. It is suggested to base it on the full class name, a counter for instances of this class, and a timestamp derived from the last change.- Specified by:
getUniqueID
in interfaceImageRenderer
- Returns:
-