- All Implemented Interfaces:
Localized
Information about
RenderedImage
(sources, layout, properties).
The image
property value is shown as the root of a tree of images,
with image sources as children.
When an image is selected, its layout (image size, tile size, etc.) is described in a table.
Image properties are also available in a separated table.
This widget is useful mostly for debugging purposes or for advanced users.
For displaying a geospatial raster as a GIS application, see CoverageCanvas
instead.
- Since:
- 1.1
-
Field Summary
Modifier and TypeFieldDescriptionfinal ObjectProperty
<RenderedImage> The root image to describe.final BooleanProperty
Whether to updateImagePropertyExplorer
content when theimage
changed. -
Constructor Summary
-
Method Summary
-
Field Details
-
image
The root image to describe. This image will be the root of a tree; children will be image sources.API note
We do not provide getter/setter for this property; useWritableObjectValue.set(Object)
directly instead. We omit the "Property" suffix for making this operation more natural. -
updateOnChange
Whether to updateImagePropertyExplorer
content when theimage
changed. This is usuallytrue
unless thisImagePropertyExplorer
is hidden, in which case it may be useful to temporary disable updates for saving CPU times.Example: if thisNote that setting this property toImagePropertyExplorer
is shown in aTitledPane
, one can bind this property toTitledPane.expandedProperty()
for updating the content only if the pane is visible.false
may have the effect of discarding current content when theimage
change. This is done for allowing the garbage collector to reclaim memory. The content is reset toimage
properties whenupdateOnChange
becometrue
again.API note
We do not provide getter/setter for this property; useWritableBooleanValue.set(boolean)
directly instead. We omit the "Property" suffix for making this operation more natural.
-
-
Constructor Details
-
ImagePropertyExplorer
public ImagePropertyExplorer()Creates an initially empty explorer.
-
-
Method Details
-
getView
Returns the view of this explorer. The subclass is implementation dependent and may change in any future version. -
getLocale
Returns the locale for controls and messages.- Specified by:
getLocale
in interfaceLocalized
- Overrides:
getLocale
in classWidget
- Returns:
- the locale for controls in this widget.
- Since:
- 1.2
-