Class ExtendedPathTool

java.lang.Object
qupath.lib.gui.viewer.tools.ExtendedPathTool
All Implemented Interfaces:
PathTool

public class ExtendedPathTool extends Object implements PathTool
  • Property Details

  • Method Details

    • getAvailableTools

      public ObservableList<PathTool> getAvailableTools()
    • selectedTool

      public ObjectProperty<PathTool> selectedTool()
    • registerTool

      public void registerTool(QuPathViewer viewer)
      Description copied from interface: PathTool
      Register the tool on the viewer. This typically means adding a mouse listener. A tool should only be registered on one viewer at a time, and only one tool should be registered per viewer.
      Specified by:
      registerTool in interface PathTool
      Parameters:
      viewer - the viewer for which this tool should be registered
    • deregisterTool

      public void deregisterTool(QuPathViewer viewer)
      Description copied from interface: PathTool
      Deregister the tool from the viewer. It is essential that tools clean up properly and do not impact other tools that may be registered for the viewer later.
      Specified by:
      deregisterTool in interface PathTool
      Parameters:
      viewer - the viewer from which this tool should be deregistered
    • nameProperty

      public ReadOnlyStringProperty nameProperty()
      Description copied from interface: PathTool
      Property giving the name of the tool
      Specified by:
      nameProperty in interface PathTool
      Returns:
    • iconProperty

      public ReadOnlyObjectProperty<Node> iconProperty()
      Description copied from interface: PathTool
      Property giving the icon that should be used for the tool
      Specified by:
      iconProperty in interface PathTool
      Returns: