Autopsy
4.9.1
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 109 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 309 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 299 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 483 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 503 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.controller, 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 464 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 447 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 427 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 287 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 521 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 607 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 716 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 703 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 642 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 241 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 203 of file ViewFrame.java.
|
private |
Definition at line 221 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
private |
Definition at line 205 of file ViewFrame.java.
|
private |
Definition at line 191 of file ViewFrame.java.
|
private |
listen to change in end time picker and push to controller
Definition at line 271 of file ViewFrame.java.
|
private |
Definition at line 187 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 145 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 242 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 116 of file ViewFrame.java.
|
private |
Definition at line 155 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().
|
private |
Definition at line 143 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().
|
private |
Definition at line 146 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 113 of file ViewFrame.java.
|
private |
Definition at line 207 of file ViewFrame.java.
|
staticprivate |
Definition at line 111 of file ViewFrame.java.
|
private |
Definition at line 201 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 123 of file ViewFrame.java.
|
private |
Wraps the contained AbstractTimelineView so that we can show notifications over it.
Definition at line 239 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 160 of file ViewFrame.java.
|
private |
Definition at line 162 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 248 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshTimeUI().
|
staticprivate |
Definition at line 115 of file ViewFrame.java.
|
private |
Definition at line 212 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 134 of file ViewFrame.java.
|
private |
Definition at line 227 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.setViewSettingsControls().
|
private |
Definition at line 210 of file ViewFrame.java.
|
private |
Definition at line 189 of file ViewFrame.java.
|
private |
listen to change in start time picker and push to controller
Definition at line 276 of file ViewFrame.java.
|
private |
Definition at line 185 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 140 of file ViewFrame.java.
|
private |
Definition at line 233 of file ViewFrame.java.
|
private |
The lower tool bar that has controls to adjust the viewed timerange.
Definition at line 168 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.setTimeNavigationControls().
|
private |
Definition at line 195 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.setViewSettingsControls().
|
private |
Definition at line 214 of file ViewFrame.java.
|
private |
Definition at line 199 of file ViewFrame.java.
|
private |
Definition at line 197 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
staticprivate |
Definition at line 114 of file ViewFrame.java.
|
private |
Definition at line 183 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 175 of file ViewFrame.java.
|
private |
hides the notification pane on any event
Definition at line 266 of file ViewFrame.java.
|
private |
Definition at line 179 of file ViewFrame.java.
|
private |
Definition at line 181 of file ViewFrame.java.
Copyright © 2012-2018 Basis Technology. Generated on: Tue Dec 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.