Autopsy  4.1
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.

Classes

class  ViewRefreshTask
 

Public Member Functions

 AbstractTimeLineView (TimeLineController controller)
 
void handleRefreshRequested (RefreshRequestedEvent event)
 
boolean isOutOfDate ()
 
ReadOnlyBooleanProperty outOfDateProperty ()
 

Protected Member Functions

abstract void clearData ()
 
TimeLineController getController ()
 
FilteredEventsModel 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 FilteredEventsModel filteredEvents
 
final ReadOnlyBooleanWrapper hasVisibleEvents = new ReadOnlyBooleanWrapper(true)
 
final ReadOnlyBooleanWrapper outOfDate = 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 AbstractTimeLineView.java.

Constructor & Destructor Documentation

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

Member Function Documentation

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

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

Returns
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 ( )
abstractprotected

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

Returns
The List of settings Nodes.

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

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

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

Returns
The List of Nodes.

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

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

Get the ViewMode for this view.

Returns
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.

Parameters
eventThe RefreshRequestedEvent to handle.

Definition at line 100 of file AbstractTimeLineView.java.

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

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

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

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

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.

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

Definition at line 110 of file AbstractTimeLineView.java.

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

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

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

Definition at line 121 of file AbstractTimeLineView.java.

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

Member Data Documentation

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

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 AbstractTimeLineView.java.

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

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

Definition at line 51 of file AbstractTimeLineView.java.

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

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 AbstractTimeLineView.java.

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

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

Definition at line 70 of file AbstractTimeLineView.java.

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

Task used to reload the content of this view

Definition at line 75 of file AbstractTimeLineView.java.


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

Copyright © 2012-2016 Basis Technology. Generated on: Mon Jan 2 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.