public interface ImageDisplayService extends ImageJService
ImageDisplays.| Modifier and Type | Method and Description |
|---|---|
default DatasetView |
createDatasetView(Dataset dataset)
Creates a new
DatasetView wrapping the given dataset. |
DataView |
createDataView(Data data)
Creates a new
DataView wrapping the given data object. |
default ImageDisplay |
createImageDisplay(Data data)
Creates an
ImageDisplay for the given data object. |
default ImageDisplay |
createImageDisplay(DataView dataView)
Creates an
ImageDisplay for the given DataView. |
default ImageDisplay |
createImageDisplay(String name,
Data data)
Creates an
ImageDisplay for the given data object. |
default ImageDisplay |
createImageDisplay(String name,
DataView dataView)
Creates an
ImageDisplay for the given DataView. |
default Dataset |
getActiveDataset()
Gets the active
Dataset, if any, of the currently active
ImageDisplay. |
default Dataset |
getActiveDataset(ImageDisplay display)
Gets the active
Dataset, if any, of the given ImageDisplay. |
default DatasetView |
getActiveDatasetView()
Gets the active
DatasetView, if any, of the currently active
ImageDisplay. |
default DatasetView |
getActiveDatasetView(ImageDisplay display)
Gets the active
DatasetView, if any, of the given
ImageDisplay. |
ImageDisplay |
getActiveImageDisplay()
Gets the currently active
ImageDisplay. |
default Position |
getActivePosition()
Gets the active
Position, if any, of the currently active
ImageDisplay. |
default Position |
getActivePosition(ImageDisplay display)
|
List<? extends DataView> |
getDataViews()
Gets the list of available
DataViews. |
DisplayService |
getDisplayService() |
EventService |
getEventService() |
List<ImageDisplay> |
getImageDisplays()
Gets a list of all available
ImageDisplays. |
PluginService |
getPluginService() |
initialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposeEventService getEventService()
PluginService getPluginService()
DisplayService getDisplayService()
DataView createDataView(Data data)
DataView wrapping the given data object.default DatasetView createDatasetView(Dataset dataset)
DatasetView wrapping the given dataset.default ImageDisplay createImageDisplay(Data data)
ImageDisplay for the given data object. This is a more
specific type-safe version of DisplayService.createDisplay(Object).data - The data object for which a display should be created. The
object is wrapped to a DataView and added to a new
ImageDisplay.ImageDisplay containing the given data
object.DisplayService.createDisplay(Object)default ImageDisplay createImageDisplay(String name, Data data)
ImageDisplay for the given data object. This is a more
specific type-safe version of DisplayService.createDisplay(Object).name - The name to be assigned to the display.data - The data object for which a display should be created. The
object is wrapped to a DataView and added to the new
ImageDisplay.ImageDisplay containing the given data
object.DisplayService.createDisplay(String, Object)default ImageDisplay createImageDisplay(DataView dataView)
ImageDisplay for the given DataView. This is a
more specific type-safe version of
DisplayService.createDisplay(Object).dataView - The DataView for which a display should be created.
The view is added to the new ImageDisplay.ImageDisplay containing the given
DataView.DisplayService.createDisplay(Object)default ImageDisplay createImageDisplay(String name, DataView dataView)
ImageDisplay for the given DataView. This is a
more specific type-safe version of
DisplayService.createDisplay(Object).name - The name to be assigned to the display.dataView - The DataView for which a display should be created.
The view is added to the new ImageDisplay.ImageDisplay containing the given
DataView.DisplayService.createDisplay(Object)List<? extends DataView> getDataViews()
DataViews. The list will contain one
uninitialized instance of each DataView implementation known to the
PluginService.ImageDisplay getActiveImageDisplay()
ImageDisplay.default Dataset getActiveDataset()
Dataset, if any, of the currently active
ImageDisplay.default DatasetView getActiveDatasetView()
DatasetView, if any, of the currently active
ImageDisplay.default Position getActivePosition()
Position, if any, of the currently active
ImageDisplay.default Dataset getActiveDataset(ImageDisplay display)
Dataset, if any, of the given ImageDisplay.default DatasetView getActiveDatasetView(ImageDisplay display)
DatasetView, if any, of the given
ImageDisplay.List<ImageDisplay> getImageDisplays()
ImageDisplays.default Position getActivePosition(ImageDisplay display)
Copyright © 2009–2023 ImageJ. All rights reserved.