Autopsy
4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.
Public Member Functions | |
TimelinePanel () | |
TimelinePanel (TimelineSummary timelineData) | |
void | close () |
Protected Member Functions | |
void | fetchInformation (DataSource dataSource) |
void | fetchInformation (List< DataFetchComponents< DataSource,?>> dataFetchComponents, DataSource dataSource) |
MenuItem | getArtifactNavigateItem (BlackboardArtifact artifact) |
synchronized DataSource | getDataSource () |
MenuItem | getFileNavigateItem (String path) |
MenuItem | getFileNavigateItem (AbstractFile file) |
void | notifyParentClose () |
void | onNewDataSource (DataSource dataSource) |
void | onNewDataSource (List< DataFetchComponents< DataSource,?>> dataFetchComponents, List<?extends LoadableComponent<?>> loadableComponents, DataSource dataSource) |
void | submit (List<?extends SwingWorker<?,?>> workers) |
Static Protected Member Functions | |
static< T > ExcelSheetExport | convertToExcel (ExcelExportFunction< T > excelConverter, T data, String sheetName) |
static< T > ExcelSheetExport | getExport (DataFetcher< DataSource, T > dataFetcher, ExcelExportFunction< T > excelConverter, String sheetName, DataSource ds) |
static< T > T | getFetchResult (DataFetcher< DataSource, T > dataFetcher, String sheetName, DataSource ds) |
static< T, CextendsExcelCellModel > ExcelSheetExport | getTableExport (List< ColumnModel< T, C >> columnsModel, String sheetName, List< T > data) |
static< T, CextendsExcelCellModel > ExcelSheetExport | getTableExport (DataFetcher< DataSource, List< T >> dataFetcher, List< ColumnModel< T, C >> columnsModel, String sheetName, DataSource ds) |
Private Member Functions | |
void | handleResult (DataFetchResult< TimelineSummaryData > result) |
void | initComponents () |
void | openFilteredChart () |
void | openFilteredChart (DataSource dataSource, Date minDate, Date maxDate) |
List< BarChartSeries > | parseChartData (List< DailyActivityAmount > recentDaysActivity, boolean showIntermediateDates) |
void | viewInTimelineBtnActionPerformed (java.awt.event.ActionEvent evt) |
Static Private Member Functions | |
static String | formatDate (Date date, DateFormat formatter) |
static DefaultCellModel<?> | getEarliestLatestCell (Date date) |
static DateFormat | getUtcFormat (String formatString) |
Private Attributes | |
TimelineSummaryData | curTimelineData = null |
final List< DataFetchComponents< DataSource,?> > | dataFetchComponents |
final DataFetcher< DataSource, TimelineSummaryData > | dataFetcher |
final LoadableLabel | earliestLabel = new LoadableLabel(Bundle.TimelinePanel_earliestLabel_title()) |
final IngestRunningLabel | ingestRunningLabel = new IngestRunningLabel() |
final BarChartPanel | last30DaysChart = new BarChartPanel(Bundle.TimlinePanel_last30DaysChart_title(), "", "") |
final LoadableLabel | latestLabel = new LoadableLabel(Bundle.TimelinePanel_latestLabel_title()) |
final List< LoadableComponent<?> > | loadableComponents = Arrays.asList(earliestLabel, latestLabel, last30DaysChart) |
final Object | timelineBtnLock = new Object() |
final TimelineDataSourceUtils | timelineUtils = TimelineDataSourceUtils.getInstance() |
javax.swing.JButton | viewInTimelineBtn |
Static Private Attributes | |
static final Color | ARTIFACT_EVT_COLOR = new Color(21, 227, 100) |
static final DateFormat | CHART_FORMAT = getUtcFormat("MMM d, yyyy") |
static final DateFormat | EARLIEST_LATEST_FORMAT = getUtcFormat(EARLIEST_LATEST_FORMAT_STR) |
static final String | EARLIEST_LATEST_FORMAT_STR = "MMM d, yyyy" |
static final Color | FILE_EVT_COLOR = new Color(228, 22, 28) |
static final Logger | logger = Logger.getLogger(TimelinePanel.class.getName()) |
static final int | MOST_RECENT_DAYS_COUNT = 30 |
static final long | serialVersionUID = 1L |
A tab shown in data source summary displaying information about a data source's timeline events.
Definition at line 75 of file TimelinePanel.java.
org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.TimelinePanel | ( | ) |
Definition at line 110 of file TimelinePanel.java.
org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.TimelinePanel | ( | TimelineSummary | timelineData | ) |
Creates new form PastCasesPanel
Definition at line 117 of file TimelinePanel.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.TimelineSummary.getData().
void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.close | ( | ) |
Definition at line 291 of file TimelinePanel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.IngestRunningLabel.unregister().
|
staticprotectedinherited |
Helper method that converts data into an excel sheet export handling possible excel exceptions.
excelConverter | Function to convert data to an excel sheet export. |
data | The data. If data is null, null will be returned. |
sheetName | The name(s) of the sheet (to be used in the error message). |
Definition at line 513 of file BaseDataSourceSummaryPanel.java.
|
protected |
Definition at line 281 of file TimelinePanel.java.
|
protectedinherited |
Utility method to be called when solely updating information (not showing a loading screen) that creates swing workers from the data source argument and data fetch components and then submits them to run.
dataFetchComponents | The components to be run. |
dataSource | The data source argument. |
Definition at line 431 of file BaseDataSourceSummaryPanel.java.
|
staticprivate |
Formats a date using a DateFormat. In the event that the date is null, returns a null string.
date | The date to format. |
formatter | The DateFormat to use to format the date. |
Definition at line 138 of file TimelinePanel.java.
|
protectedinherited |
Given the relevant artifact, navigates to the artifact in the tree and closes data source summary dialog if open.
artifact | The artifact. |
Definition at line 260 of file BaseDataSourceSummaryPanel.java.
|
protectedinherited |
Definition at line 391 of file BaseDataSourceSummaryPanel.java.
|
staticprivate |
Create a default cell model to be use with excel export in the earliest / latest date format.
date | The date. |
Definition at line 303 of file TimelinePanel.java.
|
staticprotectedinherited |
Returns an excel sheet export given the fetching of data or null if no export created.
dataFetcher | The means of fetching data. |
excelConverter | The means of converting data to excel. |
sheetName | The name of the sheet (for error handling reporting). |
ds | The data source to use for fetching data. |
Definition at line 538 of file BaseDataSourceSummaryPanel.java.
|
staticprotectedinherited |
Runs a data fetcher and returns the result handling any possible errors with a log message.
dataFetcher | The means of fetching the data. |
sheetName | The name of the sheet. |
ds | The data source. |
Definition at line 473 of file BaseDataSourceSummaryPanel.java.
|
protectedinherited |
Creates a menu item to navigate to a file.
path | The path to the file. |
Definition at line 308 of file BaseDataSourceSummaryPanel.java.
|
protectedinherited |
Given the relevant file, navigates to the file in the tree and closes data source summary dialog if open.
file | The file. |
Definition at line 336 of file BaseDataSourceSummaryPanel.java.
|
staticprotectedinherited |
Returns an excel table export of the data or null if no export created.
columnsModel | The model for the columns. |
sheetName | The name for the sheet. |
data | The data to be exported. |
Definition at line 554 of file BaseDataSourceSummaryPanel.java.
|
staticprotectedinherited |
Returns an excel table export of the data or null if no export created.
dataFetcher | The means of fetching data for the data source and the export. |
columnsModel | The model for the columns. |
sheetName | The name for the sheet. |
ds | The data source. |
Definition at line 572 of file BaseDataSourceSummaryPanel.java.
|
staticprivate |
Creates a DateFormat formatter that uses UTC for time zone.
formatString | The date format string. |
Definition at line 91 of file TimelinePanel.java.
|
private |
Handles displaying the result for each displayable item in the TimelinePanel by breaking the TimelineSummaryData result into its constituent parts and then sending each data item to the pertinent component.
result | The result to be displayed on this tab. |
Definition at line 193 of file TimelinePanel.java.
References org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getData(), org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getResultType(), org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.getSubResult(), org.sleuthkit.autopsy.datasourcesummary.uiutils.AbstractLoadableComponent< T >.showDataFetchResult(), and org.sleuthkit.autopsy.datasourcesummary.uiutils.DataFetchResult< R >.ResultType.SUCCESS.
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
Definition at line 340 of file TimelinePanel.java.
|
protectedinherited |
Sends event that parent should close.
Definition at line 373 of file BaseDataSourceSummaryPanel.java.
|
protected |
Definition at line 286 of file TimelinePanel.java.
|
protectedinherited |
Utility method that shows a loading screen with loadable components, create swing workers from the datafetch components and data source argument and submits them to be executed.
dataFetchComponents | The components to register. |
loadableComponents | The components to set to a loading screen. |
dataSource | The data source argument. |
Definition at line 591 of file BaseDataSourceSummaryPanel.java.
|
private |
Action that occurs when 'View in Timeline' button is pressed.
Definition at line 216 of file TimelinePanel.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.TimelineSummary.TimelineSummaryData.getDataSource(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.TimelineSummary.TimelineSummaryData.getMostRecentDaysActivity().
|
private |
Action that occurs when 'View in Timeline' button is pressed.
dataSource | The data source to filter to. |
minDate | The min date for the zoom of the window. |
maxDate | The max date for the zoom of the window. |
Definition at line 248 of file TimelinePanel.java.
References org.sleuthkit.autopsy.timeline.TimeLineModule.getController(), org.sleuthkit.autopsy.datasourcesummary.datamodel.TimelineDataSourceUtils.getDataSourceFilterState(), org.sleuthkit.autopsy.timeline.TimeLineController.pushFilters(), and org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline().
|
private |
Converts DailyActivityAmount data retrieved from TimelineSummary into data to be displayed as a bar chart.
recentDaysActivity | The data retrieved from TimelineSummary. |
showIntermediateDates | If true, shows all dates. If false, shows only first and last date. |
Definition at line 154 of file TimelinePanel.java.
References org.sleuthkit.autopsy.datasourcesummary.datamodel.TimelineSummary.DailyActivityAmount.getArtifactActivityCount(), org.sleuthkit.autopsy.datasourcesummary.datamodel.TimelineSummary.DailyActivityAmount.getDay(), and org.sleuthkit.autopsy.datasourcesummary.datamodel.TimelineSummary.DailyActivityAmount.getFileActivityCount().
|
protectedinherited |
Submits the following swing workers for execution in sequential order. If there are any previous workers, those workers are cancelled.
workers | The workers to submit for execution. |
Definition at line 401 of file BaseDataSourceSummaryPanel.java.
|
private |
Definition at line 419 of file TimelinePanel.java.
|
staticprivate |
Definition at line 143 of file TimelinePanel.java.
|
staticprivate |
Definition at line 82 of file TimelinePanel.java.
|
private |
Definition at line 183 of file TimelinePanel.java.
|
private |
Definition at line 108 of file TimelinePanel.java.
|
private |
Definition at line 105 of file TimelinePanel.java.
|
staticprivate |
Definition at line 81 of file TimelinePanel.java.
|
staticprivate |
Definition at line 80 of file TimelinePanel.java.
|
private |
Definition at line 97 of file TimelinePanel.java.
|
staticprivate |
Definition at line 142 of file TimelinePanel.java.
|
private |
Definition at line 96 of file TimelinePanel.java.
|
private |
Definition at line 99 of file TimelinePanel.java.
|
private |
Definition at line 98 of file TimelinePanel.java.
|
private |
Definition at line 103 of file TimelinePanel.java.
|
staticprivate |
Definition at line 77 of file TimelinePanel.java.
|
staticprivate |
Definition at line 83 of file TimelinePanel.java.
|
staticprivate |
Definition at line 78 of file TimelinePanel.java.
|
private |
Definition at line 182 of file TimelinePanel.java.
|
private |
Definition at line 100 of file TimelinePanel.java.
|
private |
Definition at line 424 of file TimelinePanel.java.
Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.