Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.
Inherited by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane, and org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.
Classes | |
class | TwoPartDateTime |
Public Member Functions | |
Pane | getContextLabelPane () |
Region | getSpacer () |
Pane | getSpecificLabelPane () |
void | handleRefreshRequested (RefreshRequestedEvent event) |
boolean | isOutOfDate () |
ReadOnlyBooleanProperty | outOfDateProperty () |
Static Public Member Functions | |
static Tooltip | getDefaultTooltip () |
Protected Member Functions | |
AbstractTimelineChart (TimeLineController controller) | |
void | applySelectionEffect (NodeType node) |
abstract void | applySelectionEffect (NodeType node, Boolean applied) |
abstract void | clearData () |
final void | createSeries () |
abstract double | getAxisMargin () |
ChartType | getChart () |
TimeLineController | getController () |
FilteredEventsModel | getEventsModel () |
abstract Task< Boolean > | getNewUpdateTask () |
ObservableList< NodeType > | getSelectedNodes () |
final XYChart.Series< X, Y > | getSeries (final EventType et) |
abstract ImmutableList< Node > | getSettingsControls () |
abstract String | getTickMarkLabel (X tickValue) |
abstract double | getTickSpacing () |
abstract ImmutableList< Node > | getTimeNavigationControls () |
abstract ViewMode | getViewMode () |
abstract Axis< X > | getXAxis () |
abstract Axis< Y > | getYAxis () |
abstract boolean | hasCustomTimeNavigationControls () |
abstract Boolean | isTickBold (X value) |
synchronized void | layoutDateLabels () |
final synchronized void | refresh () |
void | removeSelectionEffect (NodeType node) |
void | setChart (ChartType chart) |
Protected Attributes | |
final ObservableList< XYChart.Series< X, Y > > | dataSeries = FXCollections.<XYChart.Series<X, Y>>observableArrayList() |
final Map< EventType, XYChart.Series< X, Y > > | eventTypeToSeriesMap = new HashMap<>() |
Private Member Functions | |
synchronized void | addContextLabel (String labelText, double labelWidth, double labelX) |
synchronized void | addSpecificLabel (String labelText, double labelWidth, double labelX, boolean bold) |
Private Attributes | |
ChartType | chart |
final Pane | contextLabelPane = new Pane() |
final ObservableList< NodeType > | selectedNodes = FXCollections.observableArrayList() |
final Region | spacer = new Region() |
final Pane | specificLabelPane = new Pane() |
Static Private Attributes | |
static final Tooltip | DEFAULT_TOOLTIP = new Tooltip(Bundle.AbstractTimelineChart_defaultTooltip_text()) |
static final Logger | LOGGER = Logger.getLogger(AbstractTimelineChart.class.getName()) |
static final Border | ONLY_LEFT_BORDER = new Border(new BorderStroke(Color.BLACK, BorderStrokeStyle.SOLID, CornerRadii.EMPTY, new BorderWidths(0, 0, 0, 1))) |
Abstract base class for TimeLineChart based views.
<X> | The type of data plotted along the x axis |
<Y> | The type of data plotted along the y axis |
<NodeType> | The type of nodes used to represent data items |
<ChartType> | The type of the TimeLineChart<X> this class uses to plot the data. Must extend Region. |
TODO: this is becoming (too?) closely tied to the notion that their is a XYChart doing the rendering. Is this a good idea? -jm
TODO: pull up common history context menu items out of derived classes? -jm
Definition at line 73 of file AbstractTimelineChart.java.
|
protected |
Constructor
controller | The TimelineController for this view. |
Definition at line 257 of file AbstractTimelineChart.java.
|
private |
Add a Label Node to the contextual label container for the decluttered axis labels.
labelText | The String to add. |
labelWidth | The width, in pixels, of the space to use for the label |
labelX | The horizontal position, in pixels, in the specificPane of the text |
Definition at line 418 of file AbstractTimelineChart.java.
|
private |
Add a Text Node to the specific label container for the decluttered axis labels.
labelText | The String to add. |
labelWidth | The width, in pixels, of the space available for the text. |
labelX | The horizontal position, in pixels, in the specificPane of the text. |
bold | True if the text should be bold, false otherwise. |
Definition at line 387 of file AbstractTimelineChart.java.
|
protected |
Apply this view's 'selection effect' to the given node.
node | The node to apply the 'effect' to. |
Definition at line 154 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.applySelectionEffect(), and org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.removeSelectionEffect().
|
abstractprotected |
Apply this view's 'selection effect' to the given node, if applied is true. If applied is false, remove the affect
node | The node to apply the 'effect' to |
applied | True if the effect should be applied, false if the effect should not |
|
abstractprotectedinherited |
Clear all data items from this chart.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.ViewRefreshTask< AxisValuesType >.resetView().
|
protected |
Make a series for each event type in a consistent order.
Definition at line 231 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.AbstractTimelineChart(), and org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.clearData().
|
abstractprotected |
Get the total amount of space (in pixels) the x-axis uses to pad the left and right sides. This value is used to keep decluttered axis aligned correctly.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.AbstractTimelineChart().
|
protected |
Get the CharType that implements this view.
Definition at line 134 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.applySelectionEffect(), org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.call(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailsUpdateTask.call(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.clearData(), org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getAllNestedEvents(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.getSettingsControls(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.newHideDescriptionAction(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.newUnhideDescriptionAction(), and org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.setHighLightedEvents().
Pane org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getContextLabelPane | ( | ) |
Definition at line 121 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.AbstractTimelineChart().
|
protectedinherited |
Get the TimelineController for this view.
Definition at line 130 of file AbstractTimeLineView.java.
References org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.controller.
Referenced by org.sleuthkit.autopsy.timeline.ui.listvew.ListViewPane.ListUpdateTask.call(), org.sleuthkit.autopsy.timeline.ui.listvew.ListViewPane.ListUpdateTask.cancelled(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailsUpdateTask.cancelled(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane(), and org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh().
|
static |
Get the tool tip to use for this view when no more specific Tooltip is needed.
Definition at line 87 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane().
|
protectedinherited |
Get the FilteredEventsModel for this view.
Definition at line 172 of file AbstractTimeLineView.java.
References org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.filteredEvents.
Referenced by org.sleuthkit.autopsy.timeline.ui.listvew.ListViewPane.ListUpdateTask.call(), org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.call(), and org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailsUpdateTask.call().
|
abstractprotectedinherited |
Get a new background Task that fetches the appropriate data and loads it into this view.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh().
|
protected |
The nodes that are selected.
Definition at line 97 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane(), and org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.setHighLightedEvents().
|
protected |
Get the series for the given EventType.
et | The EventType to get the series for |
Definition at line 248 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.call().
|
abstractprotectedinherited |
Get a List of Nodes containing settings widgets to insert into top ToolBar of the ViewFrame.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
Region org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getSpacer | ( | ) |
Definition at line 125 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.AbstractTimelineChart().
Pane org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< X, Y, NodeType extends Node, >.getSpecificLabelPane | ( | ) |
Definition at line 117 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.AbstractTimelineChart().
|
abstractprotected |
Get the label that should be used for a tick mark at the given value.
tickValue | The value to get a label for. |
|
abstractprotected |
Get the spacing, in pixels, between tick marks of the horizontal axis. This will be used to layout the decluttered replacement labels.
|
abstractprotectedinherited |
Get a List of Nodes containing controls to insert into the lower time range ToolBar of the ViewFrame.
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
abstractprotectedinherited |
|
abstractprotected |
Get the X-Axis of this view's chart
|
abstractprotected |
Get the Y-Axis of this view's chart
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.AbstractTimelineChart().
|
inherited |
Handle a RefreshRequestedEvent from the events model by updating the view.
event | The RefreshRequestedEvent to handle. |
Definition at line 100 of file AbstractTimeLineView.java.
References org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.refresh().
|
abstractprotectedinherited |
Does this view have custom time navigation controls that should replace the default ones from the ViewFrame?
Referenced by org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
inherited |
Does the view represent an out-of-date state of the DB. It might if, for example, tags have been updated but the view was not refreshed.
Definition at line 110 of file AbstractTimeLineView.java.
|
abstractprotected |
Should the tick mark at the given value be bold, because it has interesting data associated with it?
value | A value along this view's x axis |
|
protected |
Iterate through the list of tick-marks building a two level structure of replacement tick mark labels. (Visually) upper level has most detailed/highest frequency part of date/time (specific label). Second level has rest of date/time grouped by unchanging part (contextual label).
eg:
October-October-31_September-01_September-02_September-03
becomes:
_________30_________31___________01___________02___________03
_________October___________|_____________September___________
Definition at line 304 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane(), org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane(), org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsUpdateTask.succeeded(), and org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailsUpdateTask.succeeded().
|
inherited |
Get a ReadOnlyBooleanProperty that holds true if this view does not represent the current state of the DB>
Definition at line 121 of file AbstractTimeLineView.java.
|
protectedinherited |
Refresh this view based on current state of zoom / filters. Primarily this invokes the background ViewRefreshTask returned by getUpdateTask(), which derived classes must implement.
TODO: replace this logic with a javafx Service ? -jm
Definition at line 141 of file AbstractTimeLineView.java.
References org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getController(), org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.getNewUpdateTask(), and org.sleuthkit.autopsy.timeline.TimeLineController.monitorTask().
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane(), org.sleuthkit.autopsy.timeline.ui.ViewFrame.handleDBUpdated(), org.sleuthkit.autopsy.timeline.ui.AbstractTimeLineView.handleRefreshRequested(), and org.sleuthkit.autopsy.timeline.ui.ViewFrame.syncViewMode().
|
protected |
Remove this view's 'selection effect' from the given node.
node | The node to remvoe the 'effect' from. |
Definition at line 163 of file AbstractTimelineChart.java.
|
protected |
Set the ChartType that implements this view.
chart | The ChartType that implements this view. |
Definition at line 144 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane(), and org.sleuthkit.autopsy.timeline.ui.detailview.DetailViewPane.DetailViewPane().
|
private |
|
private |
Definition at line 111 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.getContextLabelPane().
|
protected |
Access to chart data via series
Definition at line 104 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.clearData(), org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.CountsViewPane(), and org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.isTickBold().
|
staticprivate |
Definition at line 78 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.getDefaultTooltip().
|
protected |
Definition at line 105 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.countsview.CountsViewPane.clearData().
|
staticprivate |
Definition at line 75 of file AbstractTimelineChart.java.
|
staticprivate |
Definition at line 79 of file AbstractTimelineChart.java.
|
private |
Definition at line 115 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.getSelectedNodes().
|
private |
Definition at line 113 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.getSpacer().
|
private |
Definition at line 110 of file AbstractTimelineChart.java.
Referenced by org.sleuthkit.autopsy.timeline.ui.AbstractTimelineChart< String, Number, Node, EventCountsChart >.getSpecificLabelPane().
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.