Package org.apache.sis.gui.dataset
Class LogViewer
- All Implemented Interfaces:
- Localized
Shows a table of recent log records, optionally filtered to logs related to a specific resource.
 By default, 
LogViewer does not show any log entry.
 For viewing logs, one of the two following actions must be done:
 - Set sourceto a non-nullResourcevalue.
- Set systemLogstotrue.
Resource value is specified, LogViewer shows only some logs that occurred while
 using that resource, in particular warnings emitted by the resource.- Since:
- 1.1
Defined in the sis-javafx module
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal ObjectProperty<Resource>The data store or resource for which to show log records.final BooleanPropertyWhether to show system logs instead of the logs related to a specific resource.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionRegiongetView()Returns the control to show in the scene graph.final ReadOnlyBooleanPropertyWhether this viewer has no log record to show.Methods inherited from class WidgetgetLocale
- 
Field Details- 
sourceThe data store or resource for which to show log records. If this property value isnull, then the system logs will be shown ifsystemLogsistrue, or no logs will be shown otherwise.
- 
systemLogspublic final BooleanProperty systemLogs
 
- 
- 
Constructor Details- 
LogViewerpublic LogViewer()Creates an initially empty viewer of log records. For viewing logs,sourcemust be set to a non-null value orsystemLogsmust be set totrue.
 
- 
- 
Method Details- 
isEmptyPropertypublic final ReadOnlyBooleanProperty isEmptyProperty()Whether this viewer has no log record to show. This property is useful for disabling or enabling a tab.- Returns:
- the property telling whether this viewer no log record to show.
 
- 
getViewpublic Region getView()Returns the control to show in the scene graph. The implementation class may change in any future version.
 
-