public class SpotsManagerPlugin extends ImageViewerPanelPlugin
| Modifier and Type | Class and Description |
|---|---|
static class |
SpotsManagerPlugin.SelectionContextPanel |
static class |
SpotsManagerPlugin.SelectionInfoContextPanel |
| Constructor and Description |
|---|
SpotsManagerPlugin(ImageViewerPanel viewerPanel) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSelectionContextPanel(SpotsManagerPlugin.SelectionContextPanel panel) |
void |
createPalettePanel(FormPanel formPanel)
Called when the form panel should be recreated
|
String |
getCategory()
The tool panel category where this tool is shown
|
Icon |
getCategoryIcon()
The icon for the category if a new one must be created
|
SpotsCollectionData |
getSelectedSpotsOrAll(String title,
String message) |
List<SpotsManagerPlugin.SelectionContextPanel> |
getSelectionContextPanels() |
SpotDrawer |
getSpotDrawer() |
SpotsCollectionData |
getSpotsCollection() |
JList<Spot> |
getSpotsListControl() |
void |
onSliceChanged(boolean deferUploadSlice)
Called when the current slice is changed
|
void |
postprocessDraw(Graphics2D graphics2D,
Rectangle renderArea,
ImageSliceIndex sliceIndex)
Called after the image has been drawn after the image has been drawn
|
void |
postprocessDrawForExport(BufferedImage image,
ImageSliceIndex sliceIndex,
double magnification)
Called while exporting the image slice.
|
void |
removeSelectedSpots(boolean deferUploadSlice) |
void |
removeSelectionContextPanel(SpotsManagerPlugin.SelectionContextPanel panel) |
void |
setSpotCollection(SpotsCollectionData spots,
boolean deferUploadSlice) |
beforeDraw, draw, getCurrentImage, getCurrentSlice, getCurrentSlicePosition, getViewerPanel, getWorkbench, onImageChanged, uploadSliceToCanvaspublic SpotsManagerPlugin(ImageViewerPanel viewerPanel)
public SpotsCollectionData getSelectedSpotsOrAll(String title, String message)
public List<SpotsManagerPlugin.SelectionContextPanel> getSelectionContextPanels()
public void addSelectionContextPanel(SpotsManagerPlugin.SelectionContextPanel panel)
public void removeSelectionContextPanel(SpotsManagerPlugin.SelectionContextPanel panel)
public SpotDrawer getSpotDrawer()
public void postprocessDraw(Graphics2D graphics2D, Rectangle renderArea, ImageSliceIndex sliceIndex)
ImageViewerPanelPluginpostprocessDraw in class ImageViewerPanelPlugingraphics2D - the graphicsrenderArea - the render areasliceIndex - the index of the slicepublic void postprocessDrawForExport(BufferedImage image, ImageSliceIndex sliceIndex, double magnification)
ImageViewerPanelPluginpostprocessDrawForExport in class ImageViewerPanelPluginimage - the imagesliceIndex - the slicemagnification - the magnificationpublic void onSliceChanged(boolean deferUploadSlice)
ImageViewerPanelPluginonSliceChanged in class ImageViewerPanelPlugindeferUploadSlice - if true, uploading the slice to the canvas should be deferredpublic String getCategory()
ImageViewerPanelPlugingetCategory in class ImageViewerPanelPluginpublic Icon getCategoryIcon()
ImageViewerPanelPlugingetCategoryIcon in class ImageViewerPanelPluginpublic void createPalettePanel(FormPanel formPanel)
ImageViewerPanelPlugincreatePalettePanel in class ImageViewerPanelPluginformPanel - the form panelpublic void setSpotCollection(SpotsCollectionData spots, boolean deferUploadSlice)
public void removeSelectedSpots(boolean deferUploadSlice)
public SpotsCollectionData getSpotsCollection()
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.