Autopsy  4.21.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel Class Reference

Inherits org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.

Public Member Functions

 TimelinePanel ()
 TimelinePanel (TimelineSummaryGetter 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 > T getFetchResult (DataFetcher< DataSource, T > dataFetcher, 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< BarChartSeriesparseChartData (List< DailyActivityAmount > recentDaysActivity, boolean showIntermediateDates)
void viewInTimelineBtnActionPerformed (java.awt.event.ActionEvent evt)

Private Attributes

TimelineSummaryData curTimelineData = null
final List< DataFetchComponents< DataSource,?> > dataFetchComponents
final DataFetcher< DataSource, TimelineSummaryDatadataFetcher
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 = TimelineSummary.getUtcFormat("MMM d, yyyy")
static final DateFormat EARLIEST_LATEST_FORMAT = TimelineSummary.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

Detailed Description

A tab shown in data source summary displaying information about a data source's timeline events.

Definition at line 65 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.TimelinePanel ( )

Definition at line 90 of file

org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.TimelinePanel ( TimelineSummaryGetter  timelineData)

Member Function Documentation

void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.close ( )
void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.fetchInformation ( DataSource  dataSource)

Definition at line 250 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.fetchInformation ( List< DataFetchComponents< DataSource,?>>  dataFetchComponents,
DataSource  dataSource 

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.

dataFetchComponentsThe components to be run.
dataSourceThe data source argument.

Definition at line 426 of file

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getArtifactNavigateItem ( BlackboardArtifact  artifact)

Given the relevant artifact, navigates to the artifact in the tree and closes data source summary dialog if open.

artifactThe artifact.
The menu item for a go to artifact menu item.

Definition at line 255 of file

synchronized DataSource org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getDataSource ( )
The current data source.

Definition at line 386 of file

static <T> T org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFetchResult ( DataFetcher< DataSource, T >  dataFetcher,
String  sheetName,
DataSource  ds 

Runs a data fetcher and returns the result handling any possible errors with a log message.

dataFetcherThe means of fetching the data.
sheetNameThe name of the sheet.
dsThe data source.
The fetched data.

Definition at line 460 of file

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFileNavigateItem ( String  path)

Creates a menu item to navigate to a file.

pathThe path to the file.
The menu item or null if file cannot be found in data source.

Definition at line 303 of file

MenuItem org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.getFileNavigateItem ( AbstractFile  file)

Given the relevant file, navigates to the file in the tree and closes data source summary dialog if open.

fileThe file.
The menu item list for a go to artifact menu item.

Definition at line 331 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.handleResult ( DataFetchResult< TimelineSummaryData result)
void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.initComponents ( )

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 272 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.notifyParentClose ( )

Sends event that parent should close.

Definition at line 368 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.onNewDataSource ( DataSource  dataSource)

Definition at line 255 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.onNewDataSource ( List< DataFetchComponents< DataSource,?>>  dataFetchComponents,
List<?extends LoadableComponent<?>>  loadableComponents,
DataSource  dataSource 

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.

dataFetchComponentsThe components to register.
loadableComponentsThe components to set to a loading screen.
dataSourceThe data source argument.

Definition at line 484 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.openFilteredChart ( )
void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.openFilteredChart ( DataSource  dataSource,
Date  minDate,
Date  maxDate 

Action that occurs when 'View in Timeline' button is pressed.

dataSourceThe data source to filter to.
minDateThe min date for the zoom of the window.
maxDateThe max date for the zoom of the window.

Definition at line 217 of file

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().

List<BarChartSeries> org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.parseChartData ( List< DailyActivityAmount recentDaysActivity,
boolean  showIntermediateDates 

Converts DailyActivityAmount data retrieved from TimelineSummaryGetter into data to be displayed as a bar chart.

recentDaysActivityThe data retrieved from TimelineSummaryGetter.
showIntermediateDatesIf true, shows all dates. If false, shows only first and last date.
The data to be displayed in the BarChart.

Definition at line 123 of file

References org.sleuthkit.autopsy.datasourcesummary.datamodel.TimelineSummary.formatDate(), 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().

void org.sleuthkit.autopsy.datasourcesummary.ui.BaseDataSourceSummaryPanel.submit ( List<?extends SwingWorker<?,?>>  workers)

Submits the following swing workers for execution in sequential order. If there are any previous workers, those workers are cancelled.

workersThe workers to submit for execution.

Definition at line 396 of file

void org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.viewInTimelineBtnActionPerformed ( java.awt.event.ActionEvent  evt)

Definition at line 351 of file

Member Data Documentation

final Color org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.ARTIFACT_EVT_COLOR = new Color(21, 227, 100)

Definition at line 110 of file

final DateFormat org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.CHART_FORMAT = TimelineSummary.getUtcFormat("MMM d, yyyy")

Definition at line 72 of file

TimelineSummaryData org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.curTimelineData = null

Definition at line 152 of file

final List<DataFetchComponents<DataSource, ?> > org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.dataFetchComponents

Definition at line 88 of file

final DataFetcher<DataSource, TimelineSummaryData> org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.dataFetcher

Definition at line 85 of file

final DateFormat org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.EARLIEST_LATEST_FORMAT = TimelineSummary.getUtcFormat(EARLIEST_LATEST_FORMAT_STR)

Definition at line 71 of file

final String org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.EARLIEST_LATEST_FORMAT_STR = "MMM d, yyyy"

Definition at line 70 of file

final LoadableLabel org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.earliestLabel = new LoadableLabel(Bundle.TimelinePanel_earliestLabel_title())

Definition at line 77 of file

final Color org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.FILE_EVT_COLOR = new Color(228, 22, 28)

Definition at line 109 of file

final IngestRunningLabel org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.ingestRunningLabel = new IngestRunningLabel()

Definition at line 76 of file

final BarChartPanel org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.last30DaysChart = new BarChartPanel(Bundle.TimlinePanel_last30DaysChart_title(), "", "")

Definition at line 79 of file

final LoadableLabel org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.latestLabel = new LoadableLabel(Bundle.TimelinePanel_latestLabel_title())

Definition at line 78 of file

final List<LoadableComponent<?> > org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.loadableComponents = Arrays.asList(earliestLabel, latestLabel, last30DaysChart)

Definition at line 83 of file

final Logger org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.logger = Logger.getLogger(TimelinePanel.class.getName())

Definition at line 67 of file

final int org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.MOST_RECENT_DAYS_COUNT = 30

Definition at line 73 of file

final long org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.serialVersionUID = 1L

Definition at line 68 of file

final Object org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.timelineBtnLock = new Object()

Definition at line 151 of file

final TimelineDataSourceUtils org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.timelineUtils = TimelineDataSourceUtils.getInstance()

Definition at line 80 of file

javax.swing.JButton org.sleuthkit.autopsy.datasourcesummary.ui.TimelinePanel.viewInTimelineBtn

Definition at line 356 of file

The documentation for this class was generated from the following file:

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.