Package qupath.lib.gui.tools
Class PathObjectLabels.PathObjectMiniPane
java.lang.Object
qupath.lib.gui.tools.PathObjectLabels.PathObjectMiniPane
- Enclosing class:
PathObjectLabels
Manage a small pane that can be used to display a
PathObject
.
Intended for use creating standardized list and tree cells.-
Constructor Summary
ConstructorDescriptionPathObjectMiniPane
(Function<PathObject, String> stringExtractor) Constructor using a custom string extraction function. -
Method Summary
Modifier and TypeMethodDescriptiongetNode()
Get the node to display.void
setPathObject
(PathObject value) Set thePathObject
to display (may be null).
-
Constructor Details
-
PathObjectMiniPane
Constructor using a custom string extraction function.- Parameters:
stringExtractor
- function to generate a String representation of the object.
-
-
Method Details
-
setPathObject
Set thePathObject
to display (may be null).- Parameters:
value
-
-
getNode
Get the node to display.- Returns:
-