Package qupath.lib.gui.panes
Class SlideLabelView
java.lang.Object
qupath.lib.gui.panes.SlideLabelView
- All Implemented Interfaces:
ChangeListener<ImageData<BufferedImage>>
A simple viewer for a slide label, tied to the current viewer.
- Author:
- Pete Bankhead
-
Property Summary
TypePropertyDescriptionProperty indicating whether the label is showing on screen or not. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changed
(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) Property indicating whether the label is showing on screen or not.
-
Property Details
-
showing
Property indicating whether the label is showing on screen or not.- See Also:
-
-
Constructor Details
-
SlideLabelView
Constructor.- Parameters:
qupath
- the current QuPath instance
-
-
Method Details
-
showingProperty
Property indicating whether the label is showing on screen or not.- Returns:
-
changed
public void changed(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) - Specified by:
changed
in interfaceChangeListener<ImageData<BufferedImage>>
-