Package qupath.lib.gui.panes
Class SelectedMeasurementTableView
java.lang.Object
qupath.lib.gui.panes.SelectedMeasurementTableView
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
,ChangeListener<ImageData<BufferedImage>>
,PathObjectHierarchyListener
,PathObjectSelectionListener
public class SelectedMeasurementTableView
extends Object
implements PathObjectSelectionListener, ChangeListener<ImageData<BufferedImage>>, PathObjectHierarchyListener, PropertyChangeListener
Component to show measurements for a currently-selected object.
- Author:
- Pete Bankhead
-
Constructor Summary
ConstructorDescriptionSelectedMeasurementTableView
(ObservableValue<ImageData<BufferedImage>> imageDataProperty) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
changed
(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) getTable()
Get theTableView
.void
Notify listeners of a change in the hierarchy or its objects.void
void
selectedPathObjectChanged
(PathObject pathObjectSelected, PathObject previousObject, Collection<PathObject> allSelected) Fired when the selected objects have changed.
-
Constructor Details
-
SelectedMeasurementTableView
Constructor.- Parameters:
imageDataProperty
- theImageData
associated with this table
-
-
Method Details
-
getTable
Get theTableView
.- Returns:
-
hierarchyChanged
Description copied from interface:PathObjectHierarchyListener
Notify listeners of a change in the hierarchy or its objects.- Specified by:
hierarchyChanged
in interfacePathObjectHierarchyListener
- Parameters:
event
-
-
changed
public void changed(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) - Specified by:
changed
in interfaceChangeListener<ImageData<BufferedImage>>
-
selectedPathObjectChanged
public void selectedPathObjectChanged(PathObject pathObjectSelected, PathObject previousObject, Collection<PathObject> allSelected) Description copied from interface:PathObjectSelectionListener
Fired when the selected objects have changed.- Specified by:
selectedPathObjectChanged
in interfacePathObjectSelectionListener
- Parameters:
pathObjectSelected
- the primary selected objectpreviousObject
- the previous primary selected objectallSelected
- all currently selected objects (including the primary)
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-