Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Protected Member Functions | Private Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.ViewRefreshTask< AxisValuesType > Class Template Referenceabstract

Inherits org.sleuthkit.autopsy.coreutils.LoggedTask< T >.

Protected Member Functions

 ViewRefreshTask (String taskName, boolean logStateChanges)
 
Boolean call () throws Exception
 
void cancelled ()
 
void failed ()
 
void resetView (AxisValuesType axisValues)
 
void scheduled ()
 
abstract void setDateValues (AxisValuesType values)
 
void succeeded ()
 

Private Member Functions

void cleanup ()
 

Private Attributes

final Node center
 

Detailed Description

Base class for Tasks that refreshes a view when the view settings change.

Parameters
<AxisValuesType>The type of a single object that can represent the range of data displayed along the X-Axis.

Definition at line 275 of file AbstractTimeLineView.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.ViewRefreshTask< AxisValuesType >.ViewRefreshTask ( String  taskName,
boolean  logStateChanges 
)
protected

Constructor

Parameters
taskNameThe name of this task.
logStateChangesWhether or not task state changes should be logged.

Definition at line 286 of file AbstractTimeLineView.java.

Member Function Documentation

Boolean org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.ViewRefreshTask< AxisValuesType >.call ( ) throws Exception
protected

Sets initial progress value and message and shows blocking progress indicator over the view. Derived Tasks should be sure to call this as part of their call() implementation.

Returns
True
Exceptions
ExceptionIf there is an unhandled exception during the background operation

Definition at line 303 of file AbstractTimeLineView.java.

void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.ViewRefreshTask< AxisValuesType >.cancelled ( )
protected

Removes the blocking progress indicator. Derived Tasks should be sure to call this as part of their cancelled() implementation.

Definition at line 333 of file AbstractTimeLineView.java.

Removes the blocking progress indicator and reset the cursor to the default.

Definition at line 352 of file AbstractTimeLineView.java.

Removes the blocking progress indicator. Derived Tasks should be sure to call this as part of their failed() implementation.

Definition at line 343 of file AbstractTimeLineView.java.

void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.ViewRefreshTask< AxisValuesType >.resetView ( AxisValuesType  axisValues)
protected

Clears the chart data and sets the horizontal axis range. For use within the derived implementation of the call() method.

Parameters
axisValues

Definition at line 372 of file AbstractTimeLineView.java.

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

void org.sleuthkit.autopsy.coreutils.LoggedTask< T >.scheduled ( )
protectedinherited

Definition at line 56 of file LoggedTask.java.

abstract void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.ViewRefreshTask< AxisValuesType >.setDateValues ( AxisValuesType  values)
abstractprotected

Set the horizontal range that this chart will show.

Parameters
valuesA single object representing the range that this chart will show.
void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.ViewRefreshTask< AxisValuesType >.succeeded ( )
protected

Updates the horizontal axis and removes the blocking progress indicator. Derived Tasks should be sure to call this as part of their succeeded() implementation.

Definition at line 322 of file AbstractTimeLineView.java.

Member Data Documentation

Definition at line 277 of file AbstractTimeLineView.java.


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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.