Class PathObjectLabels.PathObjectMiniPane

java.lang.Object
qupath.lib.gui.tools.PathObjectLabels.PathObjectMiniPane
Enclosing class:
PathObjectLabels

public static class PathObjectLabels.PathObjectMiniPane extends Object
Manage a small pane that can be used to display a PathObject. Intended for use creating standardized list and tree cells.
  • Constructor Details

    • PathObjectMiniPane

      public PathObjectMiniPane(Function<PathObject,String> stringExtractor)
      Constructor using a custom string extraction function.
      Parameters:
      stringExtractor - function to generate a String representation of the object.
  • Method Details

    • setPathObject

      public void setPathObject(PathObject value)
      Set the PathObject to display (may be null).
      Parameters:
      value -
    • getNode

      public Pane getNode()
      Get the node to display.
      Returns: