Package org.apache.sis.gui.coverage
Class ImagePropertyExplorer
- 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
Defined in the sis-javafx module
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal ObjectProperty<RenderedImage>The root image to describe.final BooleanPropertyWhether to updateImagePropertyExplorercontent when theimagechanged. -
Constructor Summary
Constructors -
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
public final BooleanProperty updateOnChangeWhether to updateImagePropertyExplorercontent when theimagechanged. This is usuallytrueunless thisImagePropertyExploreris hidden, in which case it may be useful to temporary disable updates for saving CPU times.Example: if thisNote that setting this property toImagePropertyExploreris shown in aTitledPane, one can bind this property toTitledPane.expandedProperty()for updating the content only if the pane is visible.falsemay have the effect of discarding current content when theimagechange. This is done for allowing the garbage collector to reclaim memory. The content is reset toimageproperties whenupdateOnChangebecometrueagain.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
public Region 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:
getLocalein interfaceLocalized- Overrides:
getLocalein classWidget- Returns:
- the locale for controls in this widget.
- Since:
- 1.2
-