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

Constructor & Destructor Documentation

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

Definition at line 65 of file

Member Function Documentation

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

Definition at line 182 of file

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

Definition at line 177 of file

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

Definition at line 209 of file

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

Definition at line 172 of file

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

Returns the toolbar component of this action

component the toolbar button

Definition at line 204 of file

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

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

enablewhether to enable this action or not

Definition at line 192 of file

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.

artifactThe BlackboardArtifact to show in the Timeline.

Definition at line 166 of file

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.

fileThe AbstractFile to show in the Timeline.

Definition at line 155 of file

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

Open the Timeline window with the default initial view.

Definition at line 132 of file

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

Open timeline with the given timeSpan time range.

timeSpanThe time range to display.

Definition at line 143 of file

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

Member Data Documentation

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

Definition at line 59 of file

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

Definition at line 58 of file

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

Definition at line 61 of file

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

Definition at line 57 of file

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

Definition at line 62 of file

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

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