Package qupath.lib.gui.panes
Class ProjectBrowser
java.lang.Object
qupath.lib.gui.panes.ProjectBrowser
- All Implemented Interfaces:
- ChangeListener<ImageData<BufferedImage>>
Component for previewing and selecting images within a project.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidchanged(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) getPane()Get thePanecomponent for addition to a scene.voidRefresh the current project, updating the displayed entries.booleansetProject(Project<BufferedImage> project) Set the project.static booleansyncProject(Project<?> project) Try to save a project, showing an error message if this fails.
- 
Constructor Details- 
ProjectBrowserConstructor.- Parameters:
- qupath- the current QuPath instance
 
 
- 
- 
Method Details- 
syncProjectTry to save a project, showing an error message if this fails.- Parameters:
- project-
- Returns:
 
- 
getPaneGet thePanecomponent for addition to a scene.- Returns:
 
- 
setProjectSet the project.- Parameters:
- project-
- Returns:
- true if the project is now set (even if unchanged), false if the project change was thwarted or cancelled.
 
- 
refreshProjectpublic void refreshProject()Refresh the current project, updating the displayed entries. Note that this must be called on the JavaFX Application thread. If it is not, the request will be passed to the application thread (and therefore not processed immediately).
- 
changedpublic void changed(ObservableValue<? extends ImageData<BufferedImage>> source, ImageData<BufferedImage> imageDataOld, ImageData<BufferedImage> imageDataNew) - Specified by:
- changedin interface- ChangeListener<ImageData<BufferedImage>>
 
 
-