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

Inherits BorderPane.

Classes

class  LocalDateDisabler
 
class  LocalDateTimeValidator
 
class  NoEventsDialog
 
class  PickerListener
 

Public Member Functions

 VisualizationPanel (@Nonnull TimeLineController controller,@Nonnull EventsTree eventsTree)
 
void handleTimeLineTagEvent (TagsUpdatedEvent event)
 

Private Member Functions

synchronized void refreshHistorgram ()
 
void refreshTimeUI ()
 
void refreshTimeUI (Interval interval)
 
void setViewMode (VisualizationMode visualizationMode)
 
synchronized void setVisualization (final AbstractVisualizationPane<?,?,?,?> newViz)
 

Static Private Member Functions

static LocalDateTime epochMillisToLocalDateTime (long millis)
 
static long localDateTimeToEpochMilli (LocalDateTime localDateTime)
 

Private Attributes

Pane contextPane
 
final TimeLineController controller
 
ToggleButton countsToggle
 
ToggleButton detailsToggle
 
Label endLabel
 
final InvalidationListener endListener = new PickerListener(() -> endPicker, Interval::withEndMillis)
 
LocalDateTimeTextField endPicker
 
final EventsTree eventsTree
 
final FilteredEventsModel filteredEvents
 
HBox histogramBox
 
LoggedTask< Void > histogramTask
 
final NotificationPane notificationPane = new NotificationPane()
 
Pane partPane
 
StackPane rangeHistogramStack
 
final RangeSlider rangeSlider = new RangeSlider(0, 1.0, .25, .75)
 
final InvalidationListener rangeSliderListener
 
Button snapShotButton
 
Region spacer
 
Label startLabel
 
final InvalidationListener startListener = new PickerListener(() -> startPicker, Interval::withStartMillis)
 
LocalDateTimeTextField startPicker
 
ToolBar toolBar
 
AbstractVisualizationPane<?,?,?,?> visualization
 
Label visualizationModeLabel
 
Button zoomInButton
 
final InvalidationListener zoomListener = any -> notificationPane.hide()
 
MenuButton zoomMenuButton
 
Button zoomOutButton
 

Static Private Attributes

static final Background background = new Background(new BackgroundFill(Color.GREY, CornerRadii.EMPTY, Insets.EMPTY))
 
static final Image INFORMATION = new Image("org/sleuthkit/autopsy/timeline/images/information.png", 16, 16, true, true)
 
static final Logger LOGGER = Logger.getLogger(VisualizationPanel.class.getName())
 
static final Image REFRESH = new Image("org/sleuthkit/autopsy/timeline/images/arrow-circle-double-135.png")
 

Detailed Description

A container for an AbstractVisualizationPane, has a toolbar on top to hold settings widgets supplied by contained AbstAbstractVisualization and, the histogram / time selection on bottom. Also supplies containers for replacement axis to contained AbstractAbstractVisualization

TODO: refactor common code out of histogram and CountsView? -jm

Definition at line 99 of file VisualizationPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.VisualizationPanel ( @Nonnull TimeLineController  controller,
@Nonnull EventsTree  eventsTree 
)

Member Function Documentation

static LocalDateTime org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.epochMillisToLocalDateTime ( long  millis)
staticprivate

convert the given epoch millis to a LocalDateTime USING THE CURERNT TIMEZONE FROM TIMELINECONTROLLER

Parameters
millis
Returns
the given epoch millis as a LocalDateTime

Definition at line 226 of file VisualizationPanel.java.

References org.sleuthkit.autopsy.timeline.TimeLineController.getTimeZoneID().

Referenced by org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.refreshTimeUI().

void org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.handleTimeLineTagEvent ( TagsUpdatedEvent  event)
static long org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.localDateTimeToEpochMilli ( LocalDateTime  localDateTime)
staticprivate

convert the given LocalDateTime to epoch millis USING THE CURERNT TIMEZONE FROM TIMELINECONTROLLER

Parameters
localDateTime
Returns
the given localdatetime as epoch millis

Definition at line 214 of file VisualizationPanel.java.

References org.sleuthkit.autopsy.timeline.TimeLineController.getTimeZoneID().

Referenced by org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.LocalDateTimeValidator.call(), and org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.PickerListener.invalidated().

synchronized void org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.refreshHistorgram ( )
private
void org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.refreshTimeUI ( )
private
void org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.refreshTimeUI ( Interval  interval)
private
void org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.setViewMode ( VisualizationMode  visualizationMode)
private
synchronized void org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.setVisualization ( final AbstractVisualizationPane<?,?,?,?>  newViz)
private

Member Data Documentation

final Background org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.background = new Background(new BackgroundFill(Color.GREY, CornerRadii.EMPTY, Insets.EMPTY))
staticprivate

Definition at line 105 of file VisualizationPanel.java.

Pane org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.contextPane
private
final TimeLineController org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.controller
private
ToggleButton org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.countsToggle
private
ToggleButton org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.detailsToggle
private
Label org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.endLabel
private

Definition at line 142 of file VisualizationPanel.java.

final InvalidationListener org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.endListener = new PickerListener(() -> endPicker, Interval::withEndMillis)
private

listen to change in end time picker and push to controller

Definition at line 199 of file VisualizationPanel.java.

LocalDateTimeTextField org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.endPicker
private
final EventsTree org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.eventsTree
private
final FilteredEventsModel org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.filteredEvents
private
HBox org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.histogramBox
private

hbox that contains the histogram bars. //TODO: abstract this into a seperate class, and/or use a real bar chart?

Definition at line 118 of file VisualizationPanel.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.refreshHistorgram().

LoggedTask<Void> org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.histogramTask
private
final Image org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.INFORMATION = new Image("org/sleuthkit/autopsy/timeline/images/information.png", 16, 16, true, true)
staticprivate

Definition at line 103 of file VisualizationPanel.java.

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

Definition at line 101 of file VisualizationPanel.java.

final NotificationPane org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.notificationPane = new NotificationPane()
private

wraps contained visualization so that we can show notifications over it.

Definition at line 167 of file VisualizationPanel.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.handleTimeLineTagEvent(), and org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.setVisualization().

Pane org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.partPane
private
StackPane org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.rangeHistogramStack
private

stack pane that superimposes rangeslider over histogram

Definition at line 123 of file VisualizationPanel.java.

final RangeSlider org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.rangeSlider = new RangeSlider(0, 1.0, .25, .75)
private
final InvalidationListener org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.rangeSliderListener
private
Initial value:
= new InvalidationListener() {
@Override
public void invalidated(Observable observable) {
if (rangeSlider.isHighValueChanging() == false
&& rangeSlider.isLowValueChanging() == false) {
Long minTime = RangeDivisionInfo.getRangeDivisionInfo(filteredEvents.getSpanningInterval()).getLowerBound();
if (false == controller.pushTimeRange(new Interval(
(long) (rangeSlider.getLowValue() + minTime),
(long) (rangeSlider.getHighValue() + minTime + 1000)))) {
}
}
}
}

listen to change in range slider selected time and push to controller. waits until the user releases thumb to send controller.

Definition at line 176 of file VisualizationPanel.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.refreshTimeUI().

final Image org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.REFRESH = new Image("org/sleuthkit/autopsy/timeline/images/arrow-circle-double-135.png")
staticprivate

Definition at line 104 of file VisualizationPanel.java.

Button org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.snapShotButton
private

Definition at line 160 of file VisualizationPanel.java.

Region org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.spacer
private
Label org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.startLabel
private

Definition at line 140 of file VisualizationPanel.java.

final InvalidationListener org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.startListener = new PickerListener(() -> startPicker, Interval::withStartMillis)
private

listen to change in start time picker and push to controller

Definition at line 204 of file VisualizationPanel.java.

LocalDateTimeTextField org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.startPicker
private
ToolBar org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.toolBar
private
AbstractVisualizationPane<?, ?, ?, ?> org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.visualization
private
Label org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.visualizationModeLabel
private

Definition at line 162 of file VisualizationPanel.java.

Button org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.zoomInButton
private

Definition at line 134 of file VisualizationPanel.java.

final InvalidationListener org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.zoomListener = any -> notificationPane.hide()
private

hides the notification pane on any event

Definition at line 194 of file VisualizationPanel.java.

MenuButton org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.zoomMenuButton
private

Definition at line 129 of file VisualizationPanel.java.

Button org.sleuthkit.autopsy.timeline.ui.VisualizationPanel.zoomOutButton
private

Definition at line 132 of file VisualizationPanel.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.