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

Inherits BorderPane.

Inherited by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >, and org.sleuthkit.autopsy.timeline.ui.listvew.ListViewPane.


class  ViewRefreshTask

Public Member Functions

 AbstractTimeLineView (TimeLineController controller)
void handleRefreshRequested (RefreshRequestedEvent event)
boolean needsRefresh ()
ReadOnlyBooleanProperty needsRefreshProperty ()

Protected Member Functions

abstract void clearData ()
TimeLineController getController ()
EventsModel getEventsModel ()
abstract Task< Boolean > getNewUpdateTask ()
abstract ImmutableList< Node > getSettingsControls ()
abstract ImmutableList< Node > getTimeNavigationControls ()
abstract ViewMode getViewMode ()
abstract boolean hasCustomTimeNavigationControls ()
final synchronized void refresh ()

Private Attributes

final TimeLineController controller
final EventsModel filteredEvents
final ReadOnlyBooleanWrapper hasVisibleEvents = new ReadOnlyBooleanWrapper(true)
final ReadOnlyBooleanWrapper needsRefresh = new ReadOnlyBooleanWrapper(false)
InvalidationListener updateListener = (Observable any) -> refresh()
Task< Boolean > updateTask

Static Private Attributes

static final Logger logger = Logger.getLogger(AbstractTimeLineView.class.getName())

Detailed Description

Base class for views that can be hosted in the ViewFrame

Definition at line 49 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.AbstractTimeLineView ( TimeLineController  controller)

Member Function Documentation

abstract void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.clearData ( )
TimeLineController org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getController ( )
EventsModel org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getEventsModel ( )
abstract Task<Boolean> org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getNewUpdateTask ( )

Get a new background Task that fetches the appropriate data and loads it into this view.

A new task to execute on a background thread to reload this view with different data.

Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh().

abstract ImmutableList<Node> org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getSettingsControls ( )

Get a List of Nodes containing settings widgets to insert into top ToolBar of the ViewFrame.

The List of settings Nodes.

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().

abstract ImmutableList<Node> org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getTimeNavigationControls ( )

Get a List of Nodes containing controls to insert into the lower time range ToolBar of the ViewFrame.

The List of Nodes.

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().

abstract ViewMode org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getViewMode ( )

Get the ViewMode for this view.

The ViewMode for this view.
void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.handleRefreshRequested ( RefreshRequestedEvent  event)

Handle a RefreshRequestedEvent from the events model by updating the view.

eventThe RefreshRequestedEvent to handle.

Definition at line 100 of file

References org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh().

abstract boolean org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.hasCustomTimeNavigationControls ( )

Does this view have custom time navigation controls that should replace the default ones from the ViewFrame?

True if this view have custom time navigation controls.

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().

boolean org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.needsRefresh ( )

Does the view represent an out-of-date state of the DB. It might if, for example, tags have been updated but the view was not refreshed.

True if the view does not represent the current state of the DB.

Definition at line 111 of file

Referenced by

ReadOnlyBooleanProperty org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.needsRefreshProperty ( )

Get a ReadOnlyBooleanProperty that holds true if this view does not represent the current state of the DB>

A ReadOnlyBooleanProperty that holds the out-of-date state for this view.

Definition at line 122 of file

final synchronized void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh ( )

Member Data Documentation

final TimeLineController org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.controller
final EventsModel org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.filteredEvents
final ReadOnlyBooleanWrapper org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.hasVisibleEvents = new ReadOnlyBooleanWrapper(true)

Boolean property that holds true if the view does not show any events with the current zoom and filter settings.

Definition at line 57 of file

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().

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

Definition at line 51 of file

final ReadOnlyBooleanWrapper org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.needsRefresh = new ReadOnlyBooleanWrapper(false)

Boolean property that holds true if the view may not represent the current state of the DB, because, for example, tags have been updated but the view. was not refreshed.

Definition at line 64 of file

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleCacheInvalidated().

InvalidationListener org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.updateListener = (Observable any) -> refresh()

Listener that is attached to various properties that should trigger a view update when they change.

Definition at line 70 of file

Task<Boolean> org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.updateTask

Task used to reload the content of this view

Definition at line 75 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.