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

Public Member Functions

synchronized void advance ()
 
void applyDefaultFilters ()
 
synchronized ReadOnlyBooleanProperty canAdvanceProperty ()
 
synchronized ReadOnlyBooleanProperty canRetreatProperty ()
 
Case getAutopsyCase ()
 
EventsModel getEventsModel ()
 
ObservableSet< DetailViewEventgetPinnedEvents ()
 
ObservableList< DescriptionFilterStategetQuickHideFilters ()
 
synchronized ObservableList< Long > getSelectedEventIDs ()
 
synchronized Interval getSelectedTimeRange ()
 
synchronized ReadOnlyListProperty< Task<?> > getTasks ()
 
synchronized TimeLineTopComponent getTopComponent ()
 
synchronized ViewMode getViewMode ()
 
synchronized void monitorTask (final Task<?> task)
 
void pinEvent (DetailViewEvent event)
 
synchronized void pushDescrLOD (TimelineLevelOfDetail newLOD)
 
synchronized void pushEventTypeZoom (TimelineEventType.HierarchyLevel typeZoomeLevel)
 
synchronized void pushFilters (RootFilterState filter)
 
synchronized void pushPeriod (ReadablePeriod period) throws TskCoreException
 
synchronized void pushTimeAndType (Interval timeRange, TimelineEventType.HierarchyLevel typeZoom) throws TskCoreException
 
synchronized boolean pushTimeRange (Interval timeRange) throws TskCoreException
 
synchronized boolean pushTimeUnit (TimeUnits timeUnit) throws TskCoreException
 
synchronized void pushZoomInTime () throws TskCoreException
 
synchronized void pushZoomOutTime () throws TskCoreException
 
synchronized void registerForEvents (Object listener)
 
synchronized void retreat ()
 
synchronized ReadOnlyObjectProperty< Interval > selectedTimeRangeProperty ()
 
final synchronized void selectEventIDs (Collection< Long > eventIDs) throws TskCoreException
 
void selectTimeAndType (Interval interval, TimelineEventType type) throws TskCoreException
 
void setStatusMessage (String string)
 
synchronized void setViewMode (ViewMode viewMode)
 
void shutDownTimeLineGui ()
 
ReadOnlyStringProperty statusMessageProperty ()
 
synchronized ReadOnlyStringProperty taskMessageProperty ()
 
synchronized ReadOnlyDoubleProperty taskProgressProperty ()
 
synchronized ReadOnlyStringProperty taskTitleProperty ()
 
void unPinEvent (DetailViewEvent event)
 
synchronized void unRegisterForEvents (Object listener)
 
synchronized ReadOnlyObjectProperty< ViewModeviewModeProperty ()
 
void zoomOutToActivity () throws TskCoreException
 

Static Public Member Functions

static DateTimeZone getJodaTimeZone ()
 
static TimeZone getTimeZone ()
 
static ZoneId getTimeZoneID ()
 
static DateTimeFormatter getZonedFormatter ()
 
static synchronized void setTimeZone (TimeZone timeZone)
 
static ReadOnlyObjectProperty< TimeZone > timeZoneProperty ()
 

Private Member Functions

synchronized void advance (EventsModelParams newState)
 
void logFutureException (ListenableFuture<?> future, String errorLogMessage, String errorUserMessage)
 
void showInListView (ViewInTimelineRequestedEvent requestEvent) throws TskCoreException
 
synchronized void showWindow ()
 

Private Attributes

final Case autoCase
 
final ReadOnlyObjectWrapper< EventsModelParamscurrentParams = new ReadOnlyObjectWrapper<>()
 
final EventBus eventbus = new EventBus("TimeLineController_EventBus")
 
final ListeningExecutorService executor
 
final EventsModel filteredEvents
 
final History< EventsModelParamshistoryManager = new History<>()
 
final EventsModelParams InitialZoomState
 
final ObservableSet< DetailViewEventpinnedEvents = FXCollections.observableSet()
 
final ObservableSet< DetailViewEventpinnedEventsUnmodifiable = FXCollections.unmodifiableObservableSet(pinnedEvents)
 
final PromptDialogManager promptDialogManager = new PromptDialogManager(this)
 
final ObservableList< DescriptionFilterStatequickHideFilters = FXCollections.observableArrayList()
 
final ObservableList< Long > selectedEventIDs = FXCollections.<Long>observableArrayList()
 
final ReadOnlyObjectWrapper< Interval > selectedTimeRange = new ReadOnlyObjectWrapper<>()
 
final ReadOnlyStringWrapper statusMessage = new ReadOnlyStringWrapper()
 
final ReadOnlyStringWrapper taskMessage = new ReadOnlyStringWrapper()
 
final ReadOnlyDoubleWrapper taskProgress = new ReadOnlyDoubleWrapper(-1)
 
final ReadOnlyListWrapper< Task<?> > tasks = new ReadOnlyListWrapper<>(FXCollections.observableArrayList())
 
final ReadOnlyStringWrapper taskTitle = new ReadOnlyStringWrapper()
 
TimeLineTopComponent topComponent
 
final ReadOnlyObjectWrapper< ViewModeviewMode = new ReadOnlyObjectWrapper<>(ViewMode.COUNTS)
 

Static Private Attributes

static final Logger logger = Logger.getLogger(TimeLineController.class.getName())
 
static final ReadOnlyObjectWrapper< TimeZone > timeZone = new ReadOnlyObjectWrapper<>(TimeZone.getDefault())
 

Detailed Description

Controller in the MVC design along with FilteredEventsModel TimeLineView. Forwards interpreted user gestures form views to model. Provides model to view.

Concurrency Policy:

Definition at line 113 of file TimeLineController.java.

Member Function Documentation

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.advance ( )

Definition at line 593 of file TimeLineController.java.

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.advance ( EventsModelParams  newState)
private

Definition at line 601 of file TimeLineController.java.

void org.sleuthkit.autopsy.timeline.TimeLineController.applyDefaultFilters ( )
synchronized ReadOnlyBooleanProperty org.sleuthkit.autopsy.timeline.TimeLineController.canAdvanceProperty ( )

Definition at line 248 of file TimeLineController.java.

synchronized ReadOnlyBooleanProperty org.sleuthkit.autopsy.timeline.TimeLineController.canRetreatProperty ( )

Definition at line 252 of file TimeLineController.java.

Case org.sleuthkit.autopsy.timeline.TimeLineController.getAutopsyCase ( )
EventsModel org.sleuthkit.autopsy.timeline.TimeLineController.getEventsModel ( )
static DateTimeZone org.sleuthkit.autopsy.timeline.TimeLineController.getJodaTimeZone ( )
static
ObservableSet<DetailViewEvent> org.sleuthkit.autopsy.timeline.TimeLineController.getPinnedEvents ( )

Definition at line 343 of file TimeLineController.java.

ObservableList<DescriptionFilterState> org.sleuthkit.autopsy.timeline.TimeLineController.getQuickHideFilters ( )
synchronized ObservableList<Long> org.sleuthkit.autopsy.timeline.TimeLineController.getSelectedEventIDs ( )

Get an ObservableList of selected event IDs

Returns
A list of the selected event IDs

Definition at line 226 of file TimeLineController.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.listvew.ListViewPane.ListUpdateTask.call(), and org.sleuthkit.autopsy.timeline.TimeLineTopComponent.TimeLineTopComponent().

synchronized Interval org.sleuthkit.autopsy.timeline.TimeLineController.getSelectedTimeRange ( )

Get the selected time range.

Returns
The selected time range.

Definition at line 244 of file TimeLineController.java.

synchronized ReadOnlyListProperty<Task<?> > org.sleuthkit.autopsy.timeline.TimeLineController.getTasks ( )

Definition at line 178 of file TimeLineController.java.

static TimeZone org.sleuthkit.autopsy.timeline.TimeLineController.getTimeZone ( )
static
static ZoneId org.sleuthkit.autopsy.timeline.TimeLineController.getTimeZoneID ( )
static
synchronized TimeLineTopComponent org.sleuthkit.autopsy.timeline.TimeLineController.getTopComponent ( )
synchronized ViewMode org.sleuthkit.autopsy.timeline.TimeLineController.getViewMode ( )

Get the currently active ViewMode.

Returns
The currently active ViewMode.

Definition at line 276 of file TimeLineController.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().

static DateTimeFormatter org.sleuthkit.autopsy.timeline.TimeLineController.getZonedFormatter ( )
static
void org.sleuthkit.autopsy.timeline.TimeLineController.logFutureException ( ListenableFuture<?>  future,
String  errorLogMessage,
String  errorUserMessage 
)
private

Definition at line 802 of file TimeLineController.java.

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.monitorTask ( final Task<?>  task)

submit a task for execution and add it to the list of tasks whose progress is monitored and displayed in the progress bar

Parameters
task

Definition at line 651 of file TimeLineController.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.refreshHistorgram().

void org.sleuthkit.autopsy.timeline.TimeLineController.pinEvent ( DetailViewEvent  event)

Definition at line 335 of file TimeLineController.java.

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushDescrLOD ( TimelineLevelOfDetail  newLOD)
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushEventTypeZoom ( TimelineEventType.HierarchyLevel  typeZoomeLevel)
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushFilters ( RootFilterState  filter)
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushPeriod ( ReadablePeriod  period) throws TskCoreException

Request a time range the same length as the given period and centered around the middle of the currently viewed time range.

Parameters
periodThe period of time to show around the current center of the view.

Definition at line 452 of file TimeLineController.java.

References org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getIntervalAroundMiddle().

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushTimeAndType ( Interval  timeRange,
TimelineEventType.HierarchyLevel  typeZoom 
) throws TskCoreException
synchronized boolean org.sleuthkit.autopsy.timeline.TimeLineController.pushTimeRange ( Interval  timeRange) throws TskCoreException

Set the new interval to view, and record it in the history. The interval will be clamped to the span of events in the current case.

Parameters
timeRangeThe Interval to view.
Returns
True if the interval was changed. False if the interval was the same as the existing one and no change happened.

Definition at line 516 of file TimeLineController.java.

References org.sleuthkit.autopsy.timeline.zooming.EventsModelParams.hasTimeRange(), and org.sleuthkit.autopsy.timeline.zooming.EventsModelParams.withTimeRange().

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.PickerListener.invalidated(), org.sleuthkit.autopsy.timeline.OpenTimelineAction.showTimeline(), and org.sleuthkit.autopsy.timeline.ui.IntervalSelector< DateTime >.zoomToSelectedInterval().

synchronized boolean org.sleuthkit.autopsy.timeline.TimeLineController.pushTimeUnit ( TimeUnits  timeUnit) throws TskCoreException

Change the view by setting a new time range that is the length of timeUnit and centered at the current center.

Parameters
timeUnitThe unit of time to view
Returns
true if the view actually changed.
Exceptions
org.sleuthkit.datamodel.TskCoreException

Definition at line 552 of file TimeLineController.java.

References org.sleuthkit.autopsy.timeline.zooming.TimeUnits.FOREVER, and org.sleuthkit.autopsy.timeline.utils.IntervalUtils.getIntervalAroundMiddle().

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushZoomInTime ( ) throws TskCoreException
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.pushZoomOutTime ( ) throws TskCoreException
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.registerForEvents ( Object  listener)

Register the given object to receive events.

Parameters
listenerThe object to register. Must implement public methods annotated with Subscribe.

Definition at line 708 of file TimeLineController.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.retreat ( )
synchronized ReadOnlyObjectProperty<Interval> org.sleuthkit.autopsy.timeline.TimeLineController.selectedTimeRangeProperty ( )

Get a read only observable view of the selected time range.

Returns
A read only view of the selected time range.

Definition at line 235 of file TimeLineController.java.

final synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.selectEventIDs ( Collection< Long >  eventIDs) throws TskCoreException

Select the given event IDs and set their spanning interval as the selected time range.

Parameters
eventIDsThe eventIDs to select

Definition at line 611 of file TimeLineController.java.

Referenced by org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane().

void org.sleuthkit.autopsy.timeline.TimeLineController.selectTimeAndType ( Interval  interval,
TimelineEventType  type 
) throws TskCoreException
void org.sleuthkit.autopsy.timeline.TimeLineController.setStatusMessage ( String  string)

Definition at line 159 of file TimeLineController.java.

static synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.setTimeZone ( TimeZone  timeZone)
static
synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.setViewMode ( ViewMode  viewMode)

Set a new ViewMode as the active one.

Parameters
viewModeThe new ViewMode to set.

Definition at line 265 of file TimeLineController.java.

void org.sleuthkit.autopsy.timeline.TimeLineController.showInListView ( ViewInTimelineRequestedEvent  requestEvent) throws TskCoreException
private

Show the events and the amount of time indicated in the given ViewInTimelineRequestedEvent in the List View.

Parameters
requestEventContains the ID of the requested events and the timerange to show.

Definition at line 364 of file TimeLineController.java.

References org.sleuthkit.autopsy.timeline.ViewMode.LIST.

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.showWindow ( )
private

Show the timeline TimeLineTopComponent. This method will construct a new instance of TimeLineTopComponent if necessary.

Definition at line 479 of file TimeLineController.java.

void org.sleuthkit.autopsy.timeline.TimeLineController.shutDownTimeLineGui ( )

"Shut down" Timeline. Close the timeline window.

Definition at line 389 of file TimeLineController.java.

ReadOnlyStringProperty org.sleuthkit.autopsy.timeline.TimeLineController.statusMessageProperty ( )

Status is a string that will be displayed in the status bar as a kind of user hint/information when it is not empty

Returns
The status property

Definition at line 155 of file TimeLineController.java.

synchronized ReadOnlyStringProperty org.sleuthkit.autopsy.timeline.TimeLineController.taskMessageProperty ( )

Definition at line 186 of file TimeLineController.java.

synchronized ReadOnlyDoubleProperty org.sleuthkit.autopsy.timeline.TimeLineController.taskProgressProperty ( )

Definition at line 182 of file TimeLineController.java.

synchronized ReadOnlyStringProperty org.sleuthkit.autopsy.timeline.TimeLineController.taskTitleProperty ( )

Definition at line 190 of file TimeLineController.java.

static ReadOnlyObjectProperty<TimeZone> org.sleuthkit.autopsy.timeline.TimeLineController.timeZoneProperty ( )
static
void org.sleuthkit.autopsy.timeline.TimeLineController.unPinEvent ( DetailViewEvent  event)

Definition at line 339 of file TimeLineController.java.

synchronized void org.sleuthkit.autopsy.timeline.TimeLineController.unRegisterForEvents ( Object  listener)

Un-register the given object, so it no longer receives events.

Parameters
listenerThe object to un-register.

Definition at line 717 of file TimeLineController.java.

synchronized ReadOnlyObjectProperty<ViewMode> org.sleuthkit.autopsy.timeline.TimeLineController.viewModeProperty ( )
void org.sleuthkit.autopsy.timeline.TimeLineController.zoomOutToActivity ( ) throws TskCoreException

Member Data Documentation

final Case org.sleuthkit.autopsy.timeline.TimeLineController.autoCase
private

Definition at line 162 of file TimeLineController.java.

final ReadOnlyObjectWrapper<EventsModelParams> org.sleuthkit.autopsy.timeline.TimeLineController.currentParams = new ReadOnlyObjectWrapper<>()
private

Definition at line 210 of file TimeLineController.java.

final EventBus org.sleuthkit.autopsy.timeline.TimeLineController.eventbus = new EventBus("TimeLineController_EventBus")
private

Definition at line 127 of file TimeLineController.java.

final ListeningExecutorService org.sleuthkit.autopsy.timeline.TimeLineController.executor
private
Initial value:
= MoreExecutors.listeningDecorator(Executors.newSingleThreadExecutor(
new ThreadFactoryBuilder().setNameFormat("Timeline Controller BG thread").build()))

Definition at line 119 of file TimeLineController.java.

final EventsModel org.sleuthkit.autopsy.timeline.TimeLineController.filteredEvents
private

Definition at line 201 of file TimeLineController.java.

final History<EventsModelParams> org.sleuthkit.autopsy.timeline.TimeLineController.historyManager = new History<>()
private

Definition at line 207 of file TimeLineController.java.

final EventsModelParams org.sleuthkit.autopsy.timeline.TimeLineController.InitialZoomState
private

Definition at line 204 of file TimeLineController.java.

final Logger org.sleuthkit.autopsy.timeline.TimeLineController.logger = Logger.getLogger(TimeLineController.class.getName())
staticprivate

Definition at line 115 of file TimeLineController.java.

final ObservableSet<DetailViewEvent> org.sleuthkit.autopsy.timeline.TimeLineController.pinnedEvents = FXCollections.observableSet()
private

Definition at line 332 of file TimeLineController.java.

final ObservableSet<DetailViewEvent> org.sleuthkit.autopsy.timeline.TimeLineController.pinnedEventsUnmodifiable = FXCollections.unmodifiableObservableSet(pinnedEvents)
private

Definition at line 333 of file TimeLineController.java.

final PromptDialogManager org.sleuthkit.autopsy.timeline.TimeLineController.promptDialogManager = new PromptDialogManager(this)
private

Definition at line 219 of file TimeLineController.java.

final ObservableList<DescriptionFilterState> org.sleuthkit.autopsy.timeline.TimeLineController.quickHideFilters = FXCollections.observableArrayList()
private

Definition at line 165 of file TimeLineController.java.

final ObservableList<Long> org.sleuthkit.autopsy.timeline.TimeLineController.selectedEventIDs = FXCollections.<Long>observableArrayList()
private

Definition at line 214 of file TimeLineController.java.

final ReadOnlyObjectWrapper<Interval> org.sleuthkit.autopsy.timeline.TimeLineController.selectedTimeRange = new ReadOnlyObjectWrapper<>()
private

Definition at line 217 of file TimeLineController.java.

final ReadOnlyStringWrapper org.sleuthkit.autopsy.timeline.TimeLineController.statusMessage = new ReadOnlyStringWrapper()
private

Definition at line 125 of file TimeLineController.java.

final ReadOnlyStringWrapper org.sleuthkit.autopsy.timeline.TimeLineController.taskMessage = new ReadOnlyStringWrapper()
private

Definition at line 123 of file TimeLineController.java.

final ReadOnlyDoubleWrapper org.sleuthkit.autopsy.timeline.TimeLineController.taskProgress = new ReadOnlyDoubleWrapper(-1)
private

Definition at line 122 of file TimeLineController.java.

final ReadOnlyListWrapper<Task<?> > org.sleuthkit.autopsy.timeline.TimeLineController.tasks = new ReadOnlyListWrapper<>(FXCollections.observableArrayList())
private

Definition at line 121 of file TimeLineController.java.

final ReadOnlyStringWrapper org.sleuthkit.autopsy.timeline.TimeLineController.taskTitle = new ReadOnlyStringWrapper()
private

Definition at line 124 of file TimeLineController.java.

final ReadOnlyObjectWrapper<TimeZone> org.sleuthkit.autopsy.timeline.TimeLineController.timeZone = new ReadOnlyObjectWrapper<>(TimeZone.getDefault())
staticprivate
TimeLineTopComponent org.sleuthkit.autopsy.timeline.TimeLineController.topComponent
private

Definition at line 195 of file TimeLineController.java.

final ReadOnlyObjectWrapper<ViewMode> org.sleuthkit.autopsy.timeline.TimeLineController.viewMode = new ReadOnlyObjectWrapper<>(ViewMode.COUNTS)
private

Definition at line 198 of file TimeLineController.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.