Autopsy  4.1
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 Member Functions | Static Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane Class Reference

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

Classes

class  CountsUpdateTask
 
class  CountsViewSettingsPane
 
enum  Scale
 

Public Member Functions

 CountsViewPane (TimeLineController controller)
 
Pane getContextLabelPane ()
 
Region getSpacer ()
 
Pane getSpecificLabelPane ()
 
void handleRefreshRequested (RefreshRequestedEvent event)
 
boolean isOutOfDate ()
 
ReadOnlyBooleanProperty outOfDateProperty ()
 

Static Public Member Functions

static Tooltip getDefaultTooltip ()
 

Protected Member Functions

void applySelectionEffect (Node c1, Boolean applied)
 
void applySelectionEffect (NodeType node)
 
abstract void applySelectionEffect (NodeType node, Boolean applied)
 
void clearData ()
 
final void createSeries ()
 
double getAxisMargin ()
 
ChartType getChart ()
 
TimeLineController getController ()
 
FilteredEventsModel getEventsModel ()
 
Task< Boolean > getNewUpdateTask ()
 
ObservableList< NodeType > getSelectedNodes ()
 
final XYChart.Series< X, Y > getSeries (final EventType et)
 
ImmutableList< Node > getSettingsControls ()
 
String getTickMarkLabel (String labelValueString)
 
abstract String getTickMarkLabel (X tickValue)
 
double getTickSpacing ()
 
ImmutableList< Node > getTimeNavigationControls ()
 
final ViewMode getViewMode ()
 
final CategoryAxis getXAxis ()
 
final NumberAxis getYAxis ()
 
boolean hasCustomTimeNavigationControls ()
 
Boolean isTickBold (String value)
 
abstract Boolean isTickBold (X 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< EventType, XYChart.Series< X, Y > > eventTypeToSeriesMap = new HashMap<>()
 

Private Member Functions

void syncAxisScaleLabel ()
 

Static Private Member Functions

static void showPopoverHelp (final Node owner, final String headerText, final Image headerImage, final Node content)
 

Private Attributes

final NumberAxis countAxis = new NumberAxis()
 
final CategoryAxis dateAxis = new CategoryAxis(FXCollections.<String>observableArrayList())
 
final SimpleObjectProperty< ScalescaleProp = new SimpleObjectProperty<>(Scale.LOGARITHMIC)
 

Static Private Attributes

static final Logger LOGGER = Logger.getLogger(CountsViewPane.class.getName())
 

Detailed Description

FXML Controller class for a StackedBarChart<String,Number> based implementation of a TimeLineChart.

This class listens to changes in the assigned FilteredEventsModel and updates the internal EventCountsChart to reflect the currently requested events.

This class captures input from the user in the form of mouse clicks on graph bars, and forwards them to the assigned TimeLineController

Concurrency Policy: Access to the private members stackedBarChart, countAxis, dateAxis, EventTypeMap, and dataSets affects the stackedBarChart so they all must only be manipulated on the JavaFx thread (through Platform.runLater(java.lang.Runnable). The FilteredEventsModel should encapsulate all need synchronization internally.

Definition at line 82 of file CountsViewPane.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane ( TimeLineController  controller)

Member Function Documentation

void org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.applySelectionEffect ( Node  c1,
Boolean  applied 
)
protected
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.countsview.CountsViewPane.clearData ( )
protected
final void org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.createSeries ( )
protectedinherited
double org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.getAxisMargin ( )
protected

Definition at line 240 of file CountsViewPane.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().

FilteredEventsModel org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getEventsModel ( )
protectedinherited
Task<Boolean> org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.getNewUpdateTask ( )
protected

Definition at line 103 of file CountsViewPane.java.

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 EventType  et)
protectedinherited

Get the series for the given EventType.

Parameters
etThe 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.countsview.CountsViewPane.getSettingsControls ( )
protected

Definition at line 175 of file CountsViewPane.java.

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
String org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.getTickMarkLabel ( String  labelValueString)
protected

Definition at line 92 of file CountsViewPane.java.

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.
double org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.getTickSpacing ( )
protected

Definition at line 149 of file CountsViewPane.java.

ImmutableList<Node> org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.getTimeNavigationControls ( )
protected

Definition at line 185 of file CountsViewPane.java.

final ViewMode org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.getViewMode ( )
protected
final CategoryAxis org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.getXAxis ( )
protected
final NumberAxis org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.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.countsview.CountsViewPane.hasCustomTimeNavigationControls ( )
protected

Definition at line 180 of file CountsViewPane.java.

boolean org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.isOutOfDate ( )
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 110 of file AbstractTimeLineView.java.

Boolean org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.isTickBold ( String  value)
protected
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
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 304 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().

ReadOnlyBooleanProperty org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.outOfDateProperty ( )
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 121 of file AbstractTimeLineView.java.

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

static void org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.showPopoverHelp ( final Node  owner,
final String  headerText,
final Image  headerImage,
final Node  content 
)
staticprivate

Static utility to to show a Popover with the given Node as owner.

Parameters
ownerThe owner of the Popover
headerTextA short String that will be shown in the top-left corner of the Popover.
headerImageAn Image that will be shown at the top-right corner of the Popover.
contentThe main content of the Popover, shown in the bottom-center

Definition at line 337 of file CountsViewPane.java.

void org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.syncAxisScaleLabel ( )
private

Set the appropriate label on the vertical axis, depending on the selected scale.

Definition at line 193 of file CountsViewPane.java.

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

Member Data Documentation

final NumberAxis org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.countAxis = new NumberAxis()
private
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 CategoryAxis org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.dateAxis = new CategoryAxis(FXCollections.<String>observableArrayList())
private
final Map<EventType, 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.countsview.CountsViewPane.LOGGER = Logger.getLogger(CountsViewPane.class.getName())
staticprivate

Definition at line 84 of file CountsViewPane.java.

final SimpleObjectProperty<Scale> org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.scaleProp = new SimpleObjectProperty<>(Scale.LOGARITHMIC)
private

Definition at line 89 of file CountsViewPane.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.