Class OmeroRawImageServerBrowserCommand
java.lang.Object
qupath.ext.biop.servers.omero.raw.browser.OmeroRawImageServerBrowserCommand
- All Implemented Interfaces:
Runnable
Command to browse a specified OMERO server and import images from that server
-
Constructor Summary
ConstructorsConstructorDescriptionOmeroRawImageServerBrowserCommand
(qupath.lib.gui.QuPathGUI qupath, OmeroRawClient client) -
Method Summary
Modifier and TypeMethodDescriptionstatic javafx.scene.Node
createStateNode
(boolean loggedIn) Deprecated.javafx.stage.Stage
getStage()
protected static javafx.scene.image.WritableImage
paintBufferedImageOnCanvas
(BufferedImage img, javafx.scene.canvas.Canvas canvas, int prefSize) Paint the specified image onto the specified canvas (of the preferred size).void
Request closure of the dialogvoid
run()
-
Constructor Details
-
OmeroRawImageServerBrowserCommand
-
-
Method Details
-
getStage
public javafx.stage.Stage getStage() -
run
public void run() -
paintBufferedImageOnCanvas
protected static javafx.scene.image.WritableImage paintBufferedImageOnCanvas(BufferedImage img, javafx.scene.canvas.Canvas canvas, int prefSize) Paint the specified image onto the specified canvas (of the preferred size). Additionally, it returns theWritableImage
for further use.- Parameters:
img
-canvas
-prefSize
-- Returns:
- writable image
-
requestClose
public void requestClose()Request closure of the dialog -
createStateNode
Deprecated.useOmeroRawBrowserTools.createStateNode(boolean)
insteadBuild a colored-coded disk indicating the status of the server connection- Parameters:
loggedIn
-- Returns:
-
OmeroRawBrowserTools.createStateNode(boolean)
instead