Autopsy
4.12.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 | handleCacheInvalidated (FilteredEventsModel.CacheInvalidatedEvent 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 | |
Button | addEventButton |
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 |
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 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 107 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 315 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 305 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.handleCacheInvalidated | ( | FilteredEventsModel.CacheInvalidatedEvent | event | ) |
NOTE: This ViewFrame must be registered with the filteredEventsModel's EventBus in order for this handler to be invoked.
event | The CacheInvalidatedEvent to handle. |
Definition at line 477 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.hostedView, org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.needsRefresh, and org.sleuthkit.autopsy.timeline.ui.ViewFrame.notificationPane.
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 461 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.notificationPane, and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().
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 444 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 293 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 494 of file ViewFrame.java.
References org.sleuthkit.autopsy.timeline.ui.ViewFrame.controller, org.sleuthkit.autopsy.timeline.ui.ViewFrame.filteredEvents, org.sleuthkit.autopsy.timeline.FilteredEventsModel.getEventCounts(), org.sleuthkit.autopsy.timeline.TimeLineController.getJodaTimeZone(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.getLowerBound(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.getPeriodSize(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.getRangeDivision(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.getSpanningInterval(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.getUpperBound(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.histogramBox, org.sleuthkit.autopsy.timeline.ui.ViewFrame.histogramTask, org.sleuthkit.autopsy.timeline.TimeLineController.monitorTask(), and org.sleuthkit.autopsy.timeline.zooming.TimeUnits.toUnitPeriod().
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleRefreshRequested().
|
private |
Refresh the time selection UI to match the current zoom parameters.
Definition at line 582 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.TimeLineController.getJodaTimeZone(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.getLowerBound(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.getRangeDivision(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.getSpanningInterval(), org.sleuthkit.autopsy.timeline.FilteredEventsModel.getTimeRange(), org.sleuthkit.autopsy.timeline.utils.RangeDivision.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 700 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 687 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 624 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.TimeLineController.getAutopsyCase(), org.sleuthkit.autopsy.timeline.ui.detailview.tree.EventsTree.getSelectedEvents(), org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getSettingsControls(), org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase(), 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 207 of file ViewFrame.java.
|
private |
Definition at line 238 of file ViewFrame.java.
Referenced by 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 200 of file ViewFrame.java.
|
private |
Definition at line 218 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
private |
Definition at line 202 of file ViewFrame.java.
|
private |
Definition at line 188 of file ViewFrame.java.
|
private |
listen to change in end time picker and push to controller
Definition at line 277 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().
|
private |
Definition at line 142 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 239 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 113 of file ViewFrame.java.
|
private |
Definition at line 152 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().
|
private |
Definition at line 140 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.handleCacheInvalidated(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleTimeLineTagUpdate(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
private |
Definition at line 204 of file ViewFrame.java.
|
staticprivate |
Definition at line 109 of file ViewFrame.java.
|
private |
Definition at line 198 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 120 of file ViewFrame.java.
|
private |
Wraps the contained AbstractTimelineView so that we can show notifications over it.
Definition at line 236 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleCacheInvalidated(), 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 157 of file ViewFrame.java.
|
private |
Definition at line 159 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 112 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 131 of file ViewFrame.java.
|
private |
Definition at line 224 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 186 of file ViewFrame.java.
|
private |
listen to change in start time picker and push to controller
Definition at line 282 of file ViewFrame.java.
|
private |
Definition at line 182 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 137 of file ViewFrame.java.
|
private |
Definition at line 230 of file ViewFrame.java.
|
private |
The lower tool bar that has controls to adjust the viewed timerange.
Definition at line 165 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.setTimeNavigationControls().
|
private |
Definition at line 192 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.setViewSettingsControls().
|
private |
Definition at line 196 of file ViewFrame.java.
|
private |
Definition at line 194 of file ViewFrame.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
staticprivate |
Definition at line 111 of file ViewFrame.java.
|
private |
Definition at line 180 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 172 of file ViewFrame.java.
|
private |
hides the notification pane on any event
Definition at line 272 of file ViewFrame.java.
|
private |
Definition at line 176 of file ViewFrame.java.
|
private |
Definition at line 178 of file ViewFrame.java.
Copyright © 2012-2018 Basis Technology. Generated on: Wed Sep 18 2019
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.