Package loci.formats.gui
Class BufferedImageSource
java.lang.Object
loci.formats.gui.BufferedImageSource
- All Implemented Interfaces:
ICacheSource
Retrieves BufferedImages from a data source using Bio-Formats.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BufferedImageReaderImage reader from which to draw BufferedImages. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetObject(int index) Get the object corresponding to the given index.intGet the total number of objects that this source can retrieve.
-
Field Details
-
reader
Image reader from which to draw BufferedImages.
-
-
Constructor Details
-
BufferedImageSource
- Throws:
CacheException
-
-
Method Details
-
getObjectCount
public int getObjectCount()Description copied from interface:ICacheSourceGet the total number of objects that this source can retrieve.- Specified by:
getObjectCountin interfaceICacheSource
-
getObject
Description copied from interface:ICacheSourceGet the object corresponding to the given index.- Specified by:
getObjectin interfaceICacheSource- Throws:
CacheException
-