Package qupath.lib.gui.commands
Class PathObjectGridView
java.lang.Object
qupath.lib.gui.commands.PathObjectGridView
- All Implemented Interfaces:
- EventListener,- ChangeListener<ImageData<BufferedImage>>,- PathObjectHierarchyListener
public class PathObjectGridView
extends Object
implements ChangeListener<ImageData<BufferedImage>>, PathObjectHierarchyListener
Grid display of objects.
 
 Previously this was TMAGridView, but it was generalized for v0.4.0 to support other kinds of object.
 
This requires cores in memory, so does not scale wonderfully... but it can be quite useful for individual slides.
- 
Property SummaryProperties
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidchanged(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) static PathObjectGridViewcreateAnnotationView(QuPathGUI qupath) Create a grid view for annotations.static PathObjectGridViewcreateGridView(QuPathGUI qupath, Function<PathObjectHierarchy, Collection<? extends PathObject>> objectExtractor) Create a grid view for a custom object extractor.static PathObjectGridViewcreateTmaCoreView(QuPathGUI qupath) Create a grid view for TMA core objects.getStage()Get the stage used to show the grid view.voidNotify listeners of a change in the hierarchy or its objects.voidrefresh()Refresh the data in the grid viewvoidshow()Create the stage and show the grid view.
- 
Property Details- 
imageData- See Also:
 
 
- 
- 
Method Details- 
createGridViewpublic static PathObjectGridView createGridView(QuPathGUI qupath, Function<PathObjectHierarchy, Collection<? extends PathObject>> objectExtractor) Create a grid view for a custom object extractor.- Parameters:
- qupath- QuPath instance
- objectExtractor- function to select the objects to display
 
- 
createTmaCoreViewCreate a grid view for TMA core objects.
- 
createAnnotationViewCreate a grid view for annotations.
- 
getStageGet the stage used to show the grid view.- Returns:
- The stage
 
- 
showpublic void show()Create the stage and show the grid view.
- 
refreshpublic void refresh()Refresh the data in the grid view
- 
imageDataProperty- Returns:
- the imageDataproperty
 
- 
changedpublic void changed(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) - Specified by:
- changedin interface- ChangeListener<ImageData<BufferedImage>>
 
- 
hierarchyChangedDescription copied from interface:PathObjectHierarchyListenerNotify listeners of a change in the hierarchy or its objects.- Specified by:
- hierarchyChangedin interface- PathObjectHierarchyListener
- Parameters:
- event-
 
 
-