public class LegacyImageDisplayService extends AbstractService implements ImageDisplayService
Dataset
without requiring ImageJ2 synchronization to
be enabled via Edit>Options>ImageJ2
.
NB: DisplayService
and ObjectService
will NOT be synchronized
with the state represented by this service. Use cases querying these services
require ImageJ2 synchronization to be enabled.
This service will be made obsolete by creating lightweight wrappers.
Constructor and Description |
---|
LegacyImageDisplayService() |
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public EventService getEventService()
getEventService
in interface ImageDisplayService
public PluginService getPluginService()
getPluginService
in interface ImageDisplayService
public DisplayService getDisplayService()
getDisplayService
in interface ImageDisplayService
public DataView createDataView(Data data)
ImageDisplayService
DataView
wrapping the given data object.createDataView
in interface ImageDisplayService
public List<? extends DataView> getDataViews()
ImageDisplayService
DataView
s. The list will contain one
uninitialized instance of each DataView
implementation known to the
PluginService
.getDataViews
in interface ImageDisplayService
public ImageDisplay getActiveImageDisplay()
ImageDisplayService
ImageDisplay
.getActiveImageDisplay
in interface ImageDisplayService
public Dataset getActiveDataset()
ImageDisplayService
Dataset
, if any, of the currently active
ImageDisplay
.getActiveDataset
in interface ImageDisplayService
public DatasetView getActiveDatasetView()
ImageDisplayService
DatasetView
, if any, of the currently active
ImageDisplay
.getActiveDatasetView
in interface ImageDisplayService
public Position getActivePosition()
ImageDisplayService
Position
, if any, of the currently active
ImageDisplay
.getActivePosition
in interface ImageDisplayService
public Dataset getActiveDataset(ImageDisplay display)
ImageDisplayService
Dataset
, if any, of the given ImageDisplay
.getActiveDataset
in interface ImageDisplayService
public DatasetView getActiveDatasetView(ImageDisplay display)
ImageDisplayService
DatasetView
, if any, of the given
ImageDisplay
.getActiveDatasetView
in interface ImageDisplayService
public List<ImageDisplay> getImageDisplays()
ImageDisplayService
ImageDisplay
s.getImageDisplays
in interface ImageDisplayService
public Position getActivePosition(ImageDisplay display)
ImageDisplayService
getActivePosition
in interface ImageDisplayService
Copyright © 2014–2022 ImageJ. All rights reserved.