Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.OpenTimelineAction Class Reference

Inherits CallableSystemAction.

Public Member Functions

 OpenTimelineAction ()
 
boolean asynchronous ()
 
HelpCtx getHelpCtx ()
 
JMenuItem getMenuPresenter ()
 
String getName ()
 
Component getToolbarPresenter ()
 
boolean isEnabled ()
 
void performAction ()
 
void setEnabled (boolean enable)
 
void showArtifactInTimeline (BlackboardArtifact artifact) throws TskCoreException
 
void showFileInTimeline (AbstractFile file) throws TskCoreException
 
void showTimeline () throws TskCoreException
 
void showTimeline (Interval timeSpan) throws TskCoreException
 

Private Member Functions

synchronized void showTimeline (AbstractFile file, BlackboardArtifact artifact, Interval timeSpan) throws TskCoreException
 
boolean tooManyFiles ()
 

Private Attributes

final JMenuItem menuItem
 
final JButton toolbarButton
 

Static Private Attributes

static final int FILE_LIMIT = 6_000_000
 
static final Logger logger = Logger.getLogger(OpenTimelineAction.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

An Action that opens the Timeline window. Has methods to open the window in various specific states (e.g., showing a specific artifact in the List View)

Definition at line 55 of file OpenTimelineAction.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.OpenTimelineAction.OpenTimelineAction ( )

Definition at line 65 of file OpenTimelineAction.java.

Member Function Documentation

boolean org.sleuthkit.autopsy.timeline.OpenTimelineAction.asynchronous ( )

Definition at line 182 of file OpenTimelineAction.java.

HelpCtx org.sleuthkit.autopsy.timeline.OpenTimelineAction.getHelpCtx ( )

Definition at line 177 of file OpenTimelineAction.java.

JMenuItem org.sleuthkit.autopsy.timeline.OpenTimelineAction.getMenuPresenter ( )

Definition at line 209 of file OpenTimelineAction.java.

String org.sleuthkit.autopsy.timeline.OpenTimelineAction.getName ( )

Definition at line 172 of file OpenTimelineAction.java.

Component org.sleuthkit.autopsy.timeline.OpenTimelineAction.getToolbarPresenter ( )

Returns the toolbar component of this action

Returns
component the toolbar button

Definition at line 204 of file OpenTimelineAction.java.

boolean org.sleuthkit.autopsy.timeline.OpenTimelineAction.isEnabled ( )

We used to also check if Case.getCurrentOpenCase().hasData() was true. We disabled that check because if it is executed while a data source is being added, it blocks the edt. We still do that in ImageGallery.

Definition at line 72 of file OpenTimelineAction.java.

References org.sleuthkit.autopsy.casemodule.Case.isCaseOpen(), and org.sleuthkit.autopsy.core.Installer.isJavaFxInited().

void org.sleuthkit.autopsy.timeline.OpenTimelineAction.performAction ( )
void org.sleuthkit.autopsy.timeline.OpenTimelineAction.setEnabled ( boolean  enable)

Set this action to be enabled/disabled

Parameters
enablewhether to enable this action or not

Definition at line 192 of file OpenTimelineAction.java.

void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showArtifactInTimeline ( BlackboardArtifact  artifact) throws TskCoreException

Open the Timeline window with the given artifact selected in ListView. The how much time to show around it.

Parameters
artifactThe BlackboardArtifact to show in the Timeline.

Definition at line 166 of file OpenTimelineAction.java.

void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showFileInTimeline ( AbstractFile  file) throws TskCoreException

Open the Timeline window with the given file selected in ListView. The user will be prompted to choose which timestamp to use for the file, and how much time to show around it.

Parameters
fileThe AbstractFile to show in the Timeline.

Definition at line 155 of file OpenTimelineAction.java.

synchronized void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline ( AbstractFile  file,
BlackboardArtifact  artifact,
Interval  timeSpan 
) throws TskCoreException
private
void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline ( ) throws TskCoreException

Open the Timeline window with the default initial view.

Definition at line 132 of file OpenTimelineAction.java.

void org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline ( Interval  timeSpan) throws TskCoreException

Open timeline with the given timeSpan time range.

Parameters
timeSpanThe time range to display.
Exceptions
TskCoreException

Definition at line 143 of file OpenTimelineAction.java.

boolean org.sleuthkit.autopsy.timeline.OpenTimelineAction.tooManyFiles ( )
private

Member Data Documentation

final int org.sleuthkit.autopsy.timeline.OpenTimelineAction.FILE_LIMIT = 6_000_000
staticprivate

Definition at line 59 of file OpenTimelineAction.java.

final Logger org.sleuthkit.autopsy.timeline.OpenTimelineAction.logger = Logger.getLogger(OpenTimelineAction.class.getName())
staticprivate

Definition at line 58 of file OpenTimelineAction.java.

final JMenuItem org.sleuthkit.autopsy.timeline.OpenTimelineAction.menuItem
private

Definition at line 61 of file OpenTimelineAction.java.

final long org.sleuthkit.autopsy.timeline.OpenTimelineAction.serialVersionUID = 1L
staticprivate

Definition at line 57 of file OpenTimelineAction.java.

final JButton org.sleuthkit.autopsy.timeline.OpenTimelineAction.toolbarButton
private
Initial value:
= new JButton(getName(),
new ImageIcon(getClass().getResource("images/btn_icon_timeline_colorized_26.png")))

Definition at line 62 of file OpenTimelineAction.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Wed Oct 5 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.