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
ConstructorsConstructorDescriptionPathObjectMiniPane(Function<PathObject, String> stringExtractor) Constructor using a custom string extraction function. -
Method Summary
Modifier and TypeMethodDescriptiongetNode()Get the node to display.voidsetPathObject(PathObject value) Set thePathObjectto 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 thePathObjectto display (may be null).- Parameters:
value-
-
getNode
Get the node to display.- Returns:
-