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

Inherits org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.

Classes

class  DetailsUpdateTask
 
class  DetailViewSettingsPane
 

Public Member Functions

 DetailViewPane (TimeLineController controller)
 
ObservableList< DetailViewEventgetAllNestedEvents ()
 
Pane getContextLabelPane ()
 
ObservableList< DetailViewEventgetSelectedEvents ()
 
Region getSpacer ()
 
Pane getSpecificLabelPane ()
 
void handleRefreshRequested (RefreshRequestedEvent event)
 
boolean needsRefresh ()
 
ReadOnlyBooleanProperty needsRefreshProperty ()
 
Action newHideDescriptionAction (String description, TimelineLevelOfDetail descriptionLoD)
 
Action newUnhideDescriptionAction (String description, TimelineLevelOfDetail descriptionLoD)
 
void setHighLightedEvents (ObservableList< DetailViewEvent > highlightedEvents)
 

Static Public Member Functions

static Tooltip getDefaultTooltip ()
 

Protected Member Functions

void applySelectionEffect (NodeType node)
 
abstract void applySelectionEffect (NodeType node, Boolean applied)
 
void applySelectionEffect (EventNodeBase<?> c1, Boolean selected)
 
void clearData ()
 
final void createSeries ()
 
double getAxisMargin ()
 
ChartType getChart ()
 
TimeLineController getController ()
 
EventsModel getEventsModel ()
 
Task< Boolean > getNewUpdateTask ()
 
ObservableList< NodeType > getSelectedNodes ()
 
final XYChart.Series< X, Y > getSeries (final TimelineEventType eventType)
 
ImmutableList< Node > getSettingsControls ()
 
abstract String getTickMarkLabel (X tickValue)
 
String getTickMarkLabel (DateTime value)
 
double getTickSpacing ()
 
ImmutableList< Node > getTimeNavigationControls ()
 
final ViewMode getViewMode ()
 
final DateAxis getXAxis ()
 
final Axis< EventStripegetYAxis ()
 
boolean hasCustomTimeNavigationControls ()
 
abstract Boolean isTickBold (X value)
 
Boolean isTickBold (DateTime value)
 
synchronized void layoutDateLabels ()
 
final synchronized void refresh ()
 
void removeSelectionEffect (NodeType node)
 
void setChart (ChartType chart)
 

Protected Attributes

final ObservableList< XYChart.Series< X, Y > > dataSeries = FXCollections.<XYChart.Series<X, Y>>observableArrayList()
 
final Map< TimelineEventType, XYChart.Series< X, Y > > eventTypeToSeriesMap = new HashMap<>()
 

Private Attributes

EventsModelParams currentZoom
 
final DateAxis detailsChartDateAxis = new DateAxis()
 
final DetailsViewModel detailsViewModel
 
final DateAxis pinnedDateAxis = new DateAxis()
 
final MappedList< DetailViewEvent, EventNodeBase<?> > selectedEvents
 
final Axis< EventStripeverticalAxis = new EventAxis<>(Bundle.DetailViewPane_primaryLaneLabel_text())
 

Static Private Attributes

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

Detailed Description

Controller class for a DetailsChart based implementation of a timeline view.

This class listens to changes in the assigned FilteredEventsModel and updates the internal DetailsChart to reflect the currently requested view settings.

Conceptually this view visualizes trees of events grouped by type and description as a set of nested rectangles with their positions along the x-axis tied to their times, and their vertical positions arbitrary but constrained by the heirarchical relationships of the tree.The root of the trees are EventStripes, which contain EventCluster, which contain more finely grouped EventStripes, etc, etc. The leaves of the trees are EventClusters or SingleEvents.

Definition at line 82 of file DetailViewPane.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane ( TimeLineController  controller)

Member Function Documentation

void org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.applySelectionEffect ( NodeType  node)
protectedinherited
abstract void org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.applySelectionEffect ( NodeType  node,
Boolean  applied 
)
abstractprotectedinherited

Apply this view's 'selection effect' to the given node, if applied is true. If applied is false, remove the affect

Parameters
nodeThe node to apply the 'effect' to
appliedTrue if the effect should be applied, false if the effect should not
void org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.applySelectionEffect ( EventNodeBase<?>  c1,
Boolean  selected 
)
protected
void org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.clearData ( )
protected
final void org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.createSeries ( )
protectedinherited
ObservableList<DetailViewEvent> org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getAllNestedEvents ( )
double org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getAxisMargin ( )
protected

Definition at line 248 of file DetailViewPane.java.

ChartType org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getChart ( )
protectedinherited
Pane org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getContextLabelPane ( )
inherited
TimeLineController org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getController ( )
protectedinherited
static Tooltip org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getDefaultTooltip ( )
staticinherited

Get the tool tip to use for this view when no more specific Tooltip is needed.

Returns
The default Tooltip.

Definition at line 87 of file AbstractTimelineChart.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane().

EventsModel org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getEventsModel ( )
protectedinherited
Task<Boolean> org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getNewUpdateTask ( )
protected

Definition at line 238 of file DetailViewPane.java.

ObservableList<DetailViewEvent> org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getSelectedEvents ( )
ObservableList<NodeType> org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getSelectedNodes ( )
protectedinherited
final XYChart.Series<X, Y> org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getSeries ( final TimelineEventType  eventType)
protectedinherited

Get the series for the given EventType.

Parameters
eventTypeThe EventType to get the series for
Returns
A Series object to contain all the events with the given EventType

Definition at line 248 of file AbstractTimelineChart.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.call().

ImmutableList<Node> org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getSettingsControls ( )
protected
Region org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getSpacer ( )
inherited
Pane org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getSpecificLabelPane ( )
inherited
abstract String org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getTickMarkLabel ( tickValue)
abstractprotectedinherited

Get the label that should be used for a tick mark at the given value.

Parameters
tickValueThe value to get a label for.
Returns
a String to use for a tick mark label given a tick value.
String org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getTickMarkLabel ( DateTime  value)
protected

Definition at line 233 of file DetailViewPane.java.

double org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getTickSpacing ( )
protected

Definition at line 228 of file DetailViewPane.java.

ImmutableList<Node> org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getTimeNavigationControls ( )
protected

Definition at line 268 of file DetailViewPane.java.

final ViewMode org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getViewMode ( )
protected
final DateAxis org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getXAxis ( )
protected
final Axis<EventStripe> org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getYAxis ( )
protected
void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.handleRefreshRequested ( RefreshRequestedEvent  event)
inherited

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

boolean org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.hasCustomTimeNavigationControls ( )
protected

Definition at line 263 of file DetailViewPane.java.

abstract Boolean org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.isTickBold ( value)
abstractprotectedinherited

Should the tick mark at the given value be bold, because it has interesting data associated with it?

Parameters
valueA value along this view's x axis
Returns
True if the tick label for the given value should be bold ( has relevant data), false otherwise
Boolean org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.isTickBold ( DateTime  value)
protected

Definition at line 218 of file DetailViewPane.java.

synchronized void org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.layoutDateLabels ( )
protectedinherited

Iterate through the list of tick-marks building a two level structure of replacement tick mark labels. (Visually) upper level has most detailed/highest frequency part of date/time (specific label). Second level has rest of date/time grouped by unchanging part (contextual label).

eg:

October-October-31_September-01_September-02_September-03

becomes:

_________30_________31___________01___________02___________03

_________October___________|_____________September___________

Definition at line 307 of file AbstractTimelineChart.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane(), org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.succeeded(), and org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailsUpdateTask.succeeded().

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

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 111 of file AbstractTimeLineView.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailsUpdateTask.call().

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

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 122 of file AbstractTimeLineView.java.

Action org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.newHideDescriptionAction ( String  description,
TimelineLevelOfDetail  descriptionLoD 
)

Get a new Action that will hide events with the given description.

Parameters
descriptionthe description to hide
descriptionLoDthe description level of detail to match
Returns
a new Action that will hide events with the given description.

Definition at line 207 of file DetailViewPane.java.

References org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getChart().

Referenced by org.sleuthkit.autopsy.timeline.ui.detailview.tree.EventsTree.EventTreeCell.updateItem().

Action org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.newUnhideDescriptionAction ( String  description,
TimelineLevelOfDetail  descriptionLoD 
)

Get a new Action that will unhide events with the given description.

Parameters
descriptionthe description to unhide
descriptionLoDthe description level of detail to match
Returns
a new Action that will unhide events with the given description.

Definition at line 195 of file DetailViewPane.java.

References org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getChart().

Referenced by org.sleuthkit.autopsy.timeline.ui.detailview.tree.EventsTree.EventTreeCell.updateItem().

final synchronized void org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh ( )
protectedinherited
void org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.removeSelectionEffect ( NodeType  node)
protectedinherited

Remove this view's 'selection effect' from the given node.

Parameters
nodeThe node to remvoe the 'effect' from.

Definition at line 163 of file AbstractTimelineChart.java.

void org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.setChart ( ChartType  chart)
protectedinherited

Set the ChartType that implements this view.

Parameters
chartThe ChartType that implements this view.

Definition at line 144 of file AbstractTimelineChart.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane(), and org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane().

void org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.setHighLightedEvents ( ObservableList< DetailViewEvent highlightedEvents)

Member Data Documentation

EventsModelParams org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.currentZoom
private

Local copy of the zoomState. Used to backout of a zoomState change without needing to requery/redraw the view.

Definition at line 102 of file DetailViewPane.java.

final ObservableList<XYChart.Series<X, Y> > org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.dataSeries = FXCollections.<XYChart.Series<X, Y>>observableArrayList()
protectedinherited
final DateAxis org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.detailsChartDateAxis = new DateAxis()
private
final DetailsViewModel org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.detailsViewModel
private

Definition at line 103 of file DetailViewPane.java.

final Map<TimelineEventType, XYChart.Series<X, Y> > org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.eventTypeToSeriesMap = new HashMap<>()
protectedinherited
final Logger org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.logger = Logger.getLogger(DetailViewPane.class.getName())
staticprivate

Definition at line 84 of file DetailViewPane.java.

final DateAxis org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.pinnedDateAxis = new DateAxis()
private

Definition at line 87 of file DetailViewPane.java.

final MappedList<DetailViewEvent, EventNodeBase<?> > org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.selectedEvents
private

ObservableList of events selected in this detail view. It is automatically mapped from the list of nodes selected in this view.

Definition at line 96 of file DetailViewPane.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getSelectedEvents().

final Axis<EventStripe> org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.verticalAxis = new EventAxis<>(Bundle.DetailViewPane_primaryLaneLabel_text())
private

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

Copyright © 2012-2020 Basis Technology. Generated on: Tue Sep 22 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.