Package qupath.lib.gui.tools
Interface PathObjectImageViewers.ItemViewer<S,T extends Node>
- Type Parameters:
S
- generic type for the item to displayT
- generic type for the node that displays the item; typically aCanvas
or anImageView
.
- Enclosing class:
PathObjectImageViewers
public static interface PathObjectImageViewers.ItemViewer<S,T extends Node>
Interface for managing a node that can display an item.
This is intended to display a PathObject
, but is made generic so in the future it might
handle something else.
-
Method Summary
-
Method Details
-
setItem
Set the item to display- Parameters:
item
- the item
-
getNode
T getNode()Get the node to display- Returns:
- the node
-