Package qupath.lib.gui.viewer
Class ViewerPlusDisplayOptions
java.lang.Object
qupath.lib.gui.viewer.ViewerPlusDisplayOptions
A group of properties determining what should be displayed for each viewer.
-
Property Summary
PropertiesTypePropertyDescriptionShow the cursor location.Show the overview image.Show the scalebar.Show controls to view z-projection overlays, where available. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ViewerPlusDisplayOptions
Get a shared instance with persistence properties.boolean
Get the value ofshowLocationProperty()
.boolean
Get the value ofshowOverviewProperty()
.boolean
Get the value ofshowScalebarProperty()
.boolean
Get the value ofshowZProjectControlsProperty()
.void
setShowLocation
(boolean show) Set the value ofshowLocationProperty()
.void
setShowOverview
(boolean show) Set the value ofshowOverviewProperty()
.void
setShowScalebar
(boolean show) Set the value ofshowScalebarProperty()
.void
setShowZProjectControls
(boolean show) Set the value ofshowZProjectControlsProperty()
.Show the cursor location.Show the overview image.Show the scalebar.Show controls to view z-projection overlays, where available.
-
Property Details
-
showOverview
Show the overview image.- See Also:
-
showLocation
Show the cursor location.- See Also:
-
showScalebar
Show the scalebar.- See Also:
-
showZProjectControls
Show controls to view z-projection overlays, where available.- See Also:
-
-
Constructor Details
-
ViewerPlusDisplayOptions
public ViewerPlusDisplayOptions()
-
-
Method Details
-
showOverviewProperty
Show the overview image.- Returns:
- See Also:
-
showLocationProperty
Show the cursor location.- Returns:
- See Also:
-
showScalebarProperty
Show the scalebar.- Returns:
- See Also:
-
showZProjectControlsProperty
Show controls to view z-projection overlays, where available.- Returns:
- See Also:
-
getShowOverview
public boolean getShowOverview()Get the value ofshowOverviewProperty()
.- Returns:
-
getShowLocation
public boolean getShowLocation()Get the value ofshowLocationProperty()
.- Returns:
-
getShowScalebar
public boolean getShowScalebar()Get the value ofshowScalebarProperty()
.- Returns:
-
getShowZProjectControls
public boolean getShowZProjectControls()Get the value ofshowZProjectControlsProperty()
. -
setShowOverview
public void setShowOverview(boolean show) Set the value ofshowOverviewProperty()
.- Parameters:
show
-
-
setShowLocation
public void setShowLocation(boolean show) Set the value ofshowLocationProperty()
.- Parameters:
show
-
-
setShowScalebar
public void setShowScalebar(boolean show) Set the value ofshowScalebarProperty()
.- Parameters:
show
-
-
setShowZProjectControls
public void setShowZProjectControls(boolean show) Set the value ofshowZProjectControlsProperty()
.- Parameters:
show
-