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.
- 
Constructor SummaryConstructorsConstructorDescriptionSelectedMeasurementTableView(ObservableValue<ImageData<BufferedImage>> imageDataProperty) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptionvoidchanged(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) getPane()Get thePanecontaining the table and a filter field.qupath.fx.controls.PredicateTextField<String> Get the predict text field that is used to filter measurements.getTable()Get theTableView.voidNotify listeners of a change in the hierarchy or its objects.voidvoidselectedPathObjectChanged(PathObject pathObjectSelected, PathObject previousObject, Collection<PathObject> allSelected) Fired when the selected objects have changed.
- 
Constructor Details- 
SelectedMeasurementTableViewConstructor.- Parameters:
- imageDataProperty- the- ImageDataassociated with this table
 
 
- 
- 
Method Details- 
getTableGet theTableView. Generally, it is better to usegetPane()instead, to get the component that should be added to the scene graph.- Returns:
 
- 
getPaneGet thePanecontaining the table and a filter field. Introduced in v0.6.0 instead ofgetTable()to allow for more flexible layout, and incorporate a filter field.- Returns:
- Since:
- v0.6.0
 
- 
getPredicateTextFieldGet the predict text field that is used to filter measurements.- Returns:
 
- 
hierarchyChangedDescription copied from interface:PathObjectHierarchyListenerNotify listeners of a change in the hierarchy or its objects.- Specified by:
- hierarchyChangedin interface- PathObjectHierarchyListener
- Parameters:
- event-
 
- 
changedpublic void changed(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) - Specified by:
- changedin interface- ChangeListener<ImageData<BufferedImage>>
 
- 
selectedPathObjectChangedpublic void selectedPathObjectChanged(PathObject pathObjectSelected, PathObject previousObject, Collection<PathObject> allSelected) Description copied from interface:PathObjectSelectionListenerFired when the selected objects have changed.- Specified by:
- selectedPathObjectChangedin interface- PathObjectSelectionListener
- Parameters:
- pathObjectSelected- the primary selected object
- previousObject- the previous primary selected object
- allSelected- all currently selected objects (including the primary)
 
- 
propertyChange- Specified by:
- propertyChangein interface- PropertyChangeListener
 
 
-