Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits BorderPane.
Classes | |
class | LocalDateDisabler |
class | LocalDateTimeValidator |
class | NoEventsDialog |
class | PickerListener |
class | Refresh |
Public Member Functions | |
ViewFrame (@Nonnull TimeLineController controller,@Nonnull EventsTree eventsTree) | |
void | handlDataSourceAdded (DataSourceAddedEvent event) |
void | handleAnalysisCompleted (DataSourceAnalysisCompletedEvent event) |
void | handleDBUpdated (DBUpdatedEvent event) |
void | handleRefreshRequested (RefreshRequestedEvent event) |
void | handleTimeLineTagUpdate (TagsUpdatedEvent event) |
Private Member Functions | |
synchronized void | refreshHistorgram () |
void | refreshTimeUI () |
void | setTimeNavigationControls (List< Node > timeNavigationNodes) |
void | setViewSettingsControls (List< Node > newSettingsNodes) |
void | syncViewMode () |
Static Private Member Functions | |
static LocalDateTime | epochMillisToLocalDateTime (long millis) |
static long | localDateTimeToEpochMilli (LocalDateTime localDateTime) |
Private Attributes | |
final TimeLineController | controller |
ToggleButton | countsToggle |
ImmutableList< Node > | defaultTimeNavigationNodes |
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 |
AbstractTimeLineView | hostedView |
ToggleButton | listToggle |
SegmentedButton | modeSegButton |
final NotificationPane | notificationPane = new NotificationPane() |
StackPane | rangeHistogramStack |
final RangeSlider | rangeSlider = new RangeSlider(0, 1.0, .25, .75) |
final InvalidationListener | rangeSliderListener |
Button | refreshButton |
final ObservableList< Node > | settingsNodes = FXCollections.observableArrayList() |
Button | snapShotButton |
Label | startLabel |
final InvalidationListener | startListener = new PickerListener(() -> startPicker, Interval::withStartMillis) |
LocalDateTimeTextField | startPicker |
final ObservableList< Node > | timeNavigationNodes = FXCollections.observableArrayList() |
ToolBar | timeRangeToolBar |
ToolBar | toolBar |
Button | updateDBButton |
Label | viewModeLabel |
ToggleGroupValue< ViewMode > | viewModeToggleGroup |
Button | zoomInButton |
HBox | zoomInOutHBox |
final InvalidationListener | zoomListener = any -> handleRefreshRequested(null) |
MenuButton | zoomMenuButton |
Button | zoomOutButton |
Static Private Attributes | |
static final Background | GRAY_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(ViewFrame.class.getName()) |
static final Region | NO_EVENTS_BACKGROUND |
static final Image | REFRESH = new Image("org/sleuthkit/autopsy/timeline/images/arrow-circle-double-135.png") |
static final int | SETTINGS_TOOLBAR_INSERTION_INDEX = 2 |
static final int | TIME_TOOLBAR_INSERTION_INDEX = 2 |
static final Image | WARNING = new Image("org/sleuthkit/autopsy/timeline/images/warning_triangle.png", 16, 16, true, true) |
A container for an AbstractTimelineView. Has a Toolbar on top to hold settings widgets supplied by contained AbstractTimelineView, and the histogram / time selection on bottom. The time selection Toolbar has default controls that can be replaced by ones supplied by the current view.
TODO: Refactor common code out of histogram and CountsView? -jm
Definition at line 108 of file ViewFrame.java.
org.sleuthkit.autopsy.timeline.ui.ViewFrame.ViewFrame | ( | @Nonnull TimeLineController | controller, |
@Nonnull EventsTree | eventsTree | ||
) |
Constructor
controller | The TimeLineController for this ViewFrame |
eventsTree | The EventsTree this ViewFrame hosts. |
Definition at line 308 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.FXMLConstructor.construct(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.controller, org.sleuthkit.autopsy.timeline.ui.ViewFrame.eventsTree, and org.sleuthkit.autopsy.timeline.ui.ViewFrame.filteredEvents.
|
staticprivate |
Convert the given "millis from the Unix Epoch" to a LocalDateTime USING THE CURRENT TIMEZONE FROM THE TIMELINECONTROLLER
millis | The milliseconds to convert. |
Definition at line 298 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.TimeLineController.getTimeZoneID().
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
void org.sleuthkit.autopsy.timeline.ui.ViewFrame.handlDataSourceAdded | ( | DataSourceAddedEvent | event | ) |
Handle a DataSourceAddedEvent from the events model by showing a notification.
NOTE: This ViewFrame must be registered with the filteredEventsModel's EventBus in order for this handler to be invoked.
event | The DataSourceAddedEvent to handle. |
Definition at line 482 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.controller, org.sleuthkit.autopsy.casemodule.events.DataSourceAddedEvent.getDataSource(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.notificationPane.
void org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleAnalysisCompleted | ( | DataSourceAnalysisCompletedEvent | event | ) |
Handle a DataSourceAnalysisCompletedEvent from the events modelby showing a notification.
NOTE: This ViewFrame must be registered with the filteredEventsModel's EventBus in order for this handler to be invoked.
event | The DataSourceAnalysisCompletedEvent to handle. |
Definition at line 502 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.controller, org.sleuthkit.autopsy.ingest.events.DataSourceAnalysisEvent.getDataSource(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.notificationPane.
void org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleDBUpdated | ( | DBUpdatedEvent | event | ) |
Handle a DBUpdatedEvent from the events model by refreshing the view.
NOTE: This ViewFrame must be registered with the filteredEventsModel's EventBus in order for this handler to be invoked.
event | The DBUpdatedEvent to handle. |
Definition at line 463 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.hostedView, org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().
void org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleRefreshRequested | ( | RefreshRequestedEvent | event | ) |
Handle a RefreshRequestedEvent from the events model by clearing the refresh notification.
NOTE: This ViewFrame must be registered with the filteredEventsModel's EventBus in order for this handler to be invoked.
event | The RefreshRequestedEvent to handle. |
Definition at line 446 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.notificationPane.
void org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleTimeLineTagUpdate | ( | TagsUpdatedEvent | event | ) |
Handle TagsUpdatedEvents by marking that the view needs to be refreshed.
NOTE: This ViewFrame must be registered with the filteredEventsModel's EventBus in order for this handler to be invoked.
event | The TagsUpdatedEvent to handle. |
Definition at line 426 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.hostedView, and org.sleuthkit.autopsy.timeline.ui.ViewFrame.notificationPane.
|
staticprivate |
Convert the given LocalDateTime to epoch millis USING THE CURRENT TIMEZONE FROM THE TIMELINECONTROLLER
localDateTime | The LocalDateTime to convert to millis since the Unix epoch. |
Definition at line 286 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.TimeLineController.getTimeZoneID().
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.LocalDateTimeValidator.call(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.PickerListener.invalidated().
|
private |
Refresh the Histogram to represent the current state of the DB.
Definition at line 517 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.controller, org.sleuthkit.autopsy.timeline.ui.ViewFrame.filteredEvents, org.sleuthkit.autopsy.timeline.datamodel.FilteredEventsModel.getEventCounts(), org.sleuthkit.autopsy.timeline.TimeLineController.getJodaTimeZone(), org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getLowerBound(), org.sleuthkit.autopsy.timeline.zooming.TimeUnits.getPeriod(), org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getPeriodSize(), org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getRangeDivisionInfo(), org.sleuthkit.autopsy.timeline.datamodel.FilteredEventsModel.getSpanningInterval(), org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getUpperBound(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.histogramBox, org.sleuthkit.autopsy.timeline.ui.ViewFrame.histogramTask, and org.sleuthkit.autopsy.timeline.TimeLineController.monitorTask().
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleDBUpdated().
|
private |
Refresh the time selection UI to match the current zoom parameters.
Definition at line 603 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.endPicker, org.sleuthkit.autopsy.timeline.ui.ViewFrame.epochMillisToLocalDateTime(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.filteredEvents, org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getLowerBound(), org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getRangeDivisionInfo(), org.sleuthkit.autopsy.timeline.datamodel.FilteredEventsModel.getSpanningInterval(), org.sleuthkit.autopsy.timeline.datamodel.FilteredEventsModel.getTimeRange(), org.sleuthkit.autopsy.timeline.utils.RangeDivisionInfo.getUpperBound(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.rangeSlider, org.sleuthkit.autopsy.timeline.ui.ViewFrame.rangeSliderListener, and org.sleuthkit.autopsy.timeline.ui.ViewFrame.startPicker.
|
private |
Show the given List of Nodes in the time range ToolBar. Replaces any Nodes that may have previously been set with the given List of Nodes.
timeNavigationNodes | The Nodes to show in the time range ToolBar. |
Definition at line 712 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.timeRangeToolBar.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
private |
Show the given List of Nodes in the top ToolBar. Replaces any settings Nodes that may have previously been set with the given List of Nodes.
newSettingsNodes | The Nodes to show in the ToolBar. |
Definition at line 699 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.settingsNodes, and org.sleuthkit.autopsy.timeline.ui.ViewFrame.toolBar.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
private |
Sync up the view shown in the UI to the one currently active according to the controller. Swaps out the hosted AbstractTimelineView for a new one of the correct type.
Definition at line 638 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.controller, org.sleuthkit.autopsy.timeline.ui.ViewFrame.defaultTimeNavigationNodes, org.sleuthkit.autopsy.timeline.ui.ViewFrame.eventsTree, org.sleuthkit.autopsy.timeline.ui.detailview.tree.EventsTree.getSelectedEvents(), org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getSettingsControls(), org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getTimeNavigationControls(), org.sleuthkit.autopsy.timeline.TimeLineController.getViewMode(), org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.hasCustomTimeNavigationControls(), org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.hasVisibleEvents, org.sleuthkit.autopsy.timeline.ui.ViewFrame.hostedView, org.sleuthkit.autopsy.timeline.ui.ViewFrame.notificationPane, org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshButton, org.sleuthkit.autopsy.timeline.TimeLineController.registerForEvents(), org.sleuthkit.autopsy.timeline.ui.detailview.tree.EventsTree.setDetailViewPane(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.setHighLightedEvents(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.setTimeNavigationControls(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.setViewSettingsControls(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.viewModeToggleGroup.
|
private |
Definition at line 240 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.handlDataSourceAdded(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleAnalysisCompleted(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.PickerListener.invalidated(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.ViewFrame().
|
private |
Definition at line 202 of file ViewFrame.java.
|
private |
Definition at line 220 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
private |
Definition at line 204 of file ViewFrame.java.
|
private |
Definition at line 190 of file ViewFrame.java.
|
private |
listen to change in end time picker and push to controller
Definition at line 270 of file ViewFrame.java.
|
private |
Definition at line 186 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.LocalDateDisabler.call(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
|
private |
Definition at line 144 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.ViewFrame().
|
private |
Definition at line 241 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.LocalDateDisabler.call(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.LocalDateTimeValidator.call(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.PickerListener.invalidated(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.ViewFrame().
|
staticprivate |
Definition at line 115 of file ViewFrame.java.
|
private |
Definition at line 154 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().
|
private |
Definition at line 142 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().
|
private |
Definition at line 145 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleDBUpdated(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleTimeLineTagUpdate(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
staticprivate |
Definition at line 112 of file ViewFrame.java.
|
private |
Definition at line 206 of file ViewFrame.java.
|
staticprivate |
Definition at line 110 of file ViewFrame.java.
|
private |
Definition at line 200 of file ViewFrame.java.
|
staticprivate |
Region that will be stacked in between the no-events "dialog" and the hosted AbstractTimelineView in order to gray out the AbstractTimelineView.
Definition at line 122 of file ViewFrame.java.
|
private |
Wraps the contained AbstractTimelineView so that we can show notifications over it.
Definition at line 238 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.handlDataSourceAdded(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleAnalysisCompleted(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleRefreshRequested(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleTimeLineTagUpdate(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
private |
Definition at line 159 of file ViewFrame.java.
|
private |
Definition at line 161 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
|
private |
Listen to changes in the range slider selection and forward to the controller. Waits until the user releases thumb to send to controller.
Definition at line 247 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
|
staticprivate |
Definition at line 114 of file ViewFrame.java.
|
private |
Definition at line 211 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
staticprivate |
The scene graph Nodes for the current view's settings will be inserted into the toolbar at this index.
Definition at line 133 of file ViewFrame.java.
|
private |
Definition at line 226 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.setViewSettingsControls().
|
private |
Definition at line 209 of file ViewFrame.java.
|
private |
Definition at line 188 of file ViewFrame.java.
|
private |
listen to change in start time picker and push to controller
Definition at line 275 of file ViewFrame.java.
|
private |
Definition at line 184 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.LocalDateDisabler.call(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
|
staticprivate |
The scene graph Nodes for the current view's time navigation controls will be inserted into the toolbar at this index.
Definition at line 139 of file ViewFrame.java.
|
private |
Definition at line 232 of file ViewFrame.java.
|
private |
The lower tool bar that has controls to adjust the viewed timerange.
Definition at line 167 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.setTimeNavigationControls().
|
private |
Definition at line 194 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.setViewSettingsControls().
|
private |
Definition at line 213 of file ViewFrame.java.
|
private |
Definition at line 198 of file ViewFrame.java.
|
private |
Definition at line 196 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
staticprivate |
Definition at line 113 of file ViewFrame.java.
|
private |
Definition at line 182 of file ViewFrame.java.
|
private |
Parent for the default zoom in/out buttons that can be replaced in some views(eg List View)
Definition at line 174 of file ViewFrame.java.
|
private |
hides the notification pane on any event
Definition at line 265 of file ViewFrame.java.
|
private |
Definition at line 178 of file ViewFrame.java.
|
private |
Definition at line 180 of file ViewFrame.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.