Package org.apache.sis.gui.metadata
Class MetadataSummary
- All Implemented Interfaces:
- Localized
A panel showing a summary of metadata.
- Since:
- 1.1
Defined in the sis-javafx module
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal ObjectProperty<Metadata>The metadata shown in this pane.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal MetadataReturns the metadata currently shown, ornullif none.final RegiongetView()Returns the region containing the visual components managed by thisMetadataSummary.final voidClears the metadata panel and write instead an exception report.voidsetMetadata(Resource resource) Fetches the metadata in a background thread and delegates tosetMetadata(Metadata)when ready.final voidsetMetadata(Metadata metadata) Sets the content of this pane to the given metadata.Methods inherited from class WidgetgetLocale
- 
Field Details- 
metadataPropertyThe metadata shown in this pane.
 
- 
- 
Constructor Details- 
MetadataSummarypublic MetadataSummary()Creates an initially empty metadata overview.
 
- 
- 
Method Details- 
getViewpublic final Region getView()Returns the region containing the visual components managed by thisMetadataSummary. The subclass is implementation dependent and may change in any future version.
- 
setMetadataFetches the metadata in a background thread and delegates tosetMetadata(Metadata)when ready.- Parameters:
- resource- the resource for which to show metadata, or- null.
 
- 
setMetadataSets the content of this pane to the given metadata. This is a convenience method for settingmetadataPropertyvalue.- Parameters:
- metadata- the metadata to show, or- null.
- See Also:
 
- 
getMetadataReturns the metadata currently shown, ornullif none. This is a convenience method for fetchingmetadataPropertyvalue.- Returns:
- the metadata currently shown, or nullif none.
- See Also:
 
- 
setErrorClears the metadata panel and write instead an exception report.- Parameters:
- exception- the exception that occurred.
 
 
-