Autopsy
4.9.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.
Inherited by org.sleuthkit.autopsy.commonfilesearch.CommonAttributesSearchResultsViewerTable.
Classes | |
class | ColumnSortInfo |
class | CountCellRenderer |
class | HasCommentCellRenderer |
enum | HasCommentStatus |
class | IconRendererTableListener |
enum | Score |
class | ScoreCellRenderer |
class | TableListener |
Public Member Functions | |
DataResultViewerTable () | |
DataResultViewerTable (ExplorerManager explorerManager) | |
DataResultViewerTable (ExplorerManager explorerManager, String title) | |
void | clearComponent () |
DataResultViewer | createInstance () |
default void | expandNode (Node node) |
Component | getComponent () |
ExplorerManager | getExplorerManager () |
String | getTitle () |
boolean | isSupported (Node candidateRootNode) |
default void | resetComponent () |
default void | setContentViewer (DataContent contentViewer) |
void | setNode (Node rootNode) |
void | setSelectedNodes (Node[] selected) |
Protected Member Functions | |
void | addTreeExpansionListener (TreeExpansionListener listener) |
TableColumnModel | getColumnModel () |
void | setColumnWidths () |
Private Member Functions | |
synchronized void | assignColumns (List< Property<?>> props) |
void | initComponents () |
synchronized List< Node.Property<?> > | loadColumnOrder () |
synchronized void | loadColumnSorting () |
synchronized void | loadColumnVisibility () |
void | populateColumnMap () |
void | setupTable () |
synchronized void | storeColumnOrder () |
synchronized void | storeColumnSorting () |
synchronized void | storeColumnVisibility () |
Private Attributes | |
final Map< String, ETableColumn > | columnMap |
final IconRendererTableListener | iconRendererListener |
final Outline | outline |
org.openide.explorer.view.OutlineView | outlineView |
final TableListener | outlineViewListener |
final Map< Integer, Property<?> > | propertiesMap |
Node | rootNode |
final String | title |
Static Private Attributes | |
static final ImageIcon | COMMENT_ICON = new ImageIcon(ImageUtilities.loadImage(NOTEPAD_ICON_PATH, false)) |
static final String | FIRST_COLUMN_LABEL = Bundle.DataResultViewerTable_firstColLbl() |
static final ImageIcon | INTERESTING_SCORE_ICON = new ImageIcon(ImageUtilities.loadImage(YELLOW_CIRCLE_ICON_PATH, false)) |
static final Logger | LOGGER = Logger.getLogger(DataResultViewerTable.class.getName()) |
static final ImageIcon | NOTABLE_ICON_SCORE = new ImageIcon(ImageUtilities.loadImage(RED_CIRCLE_ICON_PATH, false)) |
static final String | NOTEPAD_ICON_PATH = "org/sleuthkit/autopsy/images/notepad16.png" |
static final String | RED_CIRCLE_ICON_PATH = "org/sleuthkit/autopsy/images/red-circle-exclamation.png" |
static final long | serialVersionUID = 1L |
static final String | YELLOW_CIRCLE_ICON_PATH = "org/sleuthkit/autopsy/images/yellow-circle-yield.png" |
A tabular result viewer that displays the children of the given root node using an OutlineView.
Instances of this class should use the explorer manager of an ancestor top component to connect the lookups of the nodes displayed in the OutlineView to the actions global context. The explorer manager can be supplied during construction, but the typical use case is for the result viewer to find the ancestor top component's explorer manager at runtime.
Definition at line 86 of file DataResultViewerTable.java.
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ) |
Constructs a tabular result viewer that displays the children of the given root node using an OutlineView. The viewer should have an ancestor top component to connect the lookups of the nodes displayed in the OutlineView to the actions global context. The explorer manager will be discovered at runtime.
Definition at line 114 of file DataResultViewerTable.java.
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ExplorerManager | explorerManager | ) |
Constructs a tabular result viewer that displays the children of a given root node using an OutlineView. The viewer should have an ancestor top component to connect the lookups of the nodes displayed in the OutlineView to the actions global context.
explorerManager | The explorer manager of the ancestor top component. |
Definition at line 127 of file DataResultViewerTable.java.
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ExplorerManager | explorerManager, |
String | title | ||
) |
Constructs a tabular result viewer that displays the children of a given root node using an OutlineView with a given title. The viewer should have an ancestor top component to connect the lookups of the nodes displayed in the OutlineView to the actions global context.
explorerManager | The explorer manager of the ancestor top component. |
title | The title. |
Definition at line 141 of file DataResultViewerTable.java.
|
protected |
Adds a tree expansion listener to the OutlineView of this tabular results viewer.
listener | The listener |
Definition at line 275 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.commonfilesearch.CommonAttributesSearchResultsViewerTable.CommonAttributesSearchResultsViewerTable().
|
private |
Definition at line 445 of file DataResultViewerTable.java.
void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.clearComponent | ( | ) |
Frees the resources that have been allocated by this tabular results viewer, in preparation for permanently disposing of it.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 642 of file DataResultViewerTable.java.
DataResultViewer org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.createInstance | ( | ) |
Creates a new instance of a tabular result viewer that displays the children of a given root node using an OutlineView. This method exists to make it possible to use the default service provider instance of this class in the "main" results view of the application, while using distinct instances in other places in the UI.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 190 of file DataResultViewerTable.java.
|
inherited |
Sets the node for which this result viewer should provide a view of the underlying application data model object, and expands the node.
node | The node. |
Definition at line 126 of file DataResultViewer.java.
|
protected |
Definition at line 437 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.commonfilesearch.CommonAttributesSearchResultsViewerTable.setColumnWidths().
|
inherited |
Gets the Swing component for this viewer.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 87 of file AbstractDataResultViewer.java.
|
inherited |
Definition at line 70 of file AbstractDataResultViewer.java.
References org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.explorerManager.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.PageUpdater.childrenAdded(), org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.NodeSelectionListener.propertyChange(), org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.setSelectedNodes(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.switchPage().
String org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getTitle | ( | ) |
Gets the title of this tabular result viewer.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 201 of file DataResultViewerTable.java.
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
Definition at line 1034 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.FIRST_COLUMN_LABEL.
boolean org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.isSupported | ( | Node | candidateRootNode | ) |
Indicates whether a given node is supported as a root node for this tabular viewer.
candidateRootNode | The candidate root node. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 214 of file DataResultViewerTable.java.
|
private |
Gets a list of child properties (columns) in the order persisted in the preference file. Also initialized the properties map with the column order.
Definition at line 591 of file DataResultViewerTable.java.
|
private |
Reads and applies the column sorting information persisted to the preferences file. Must be called after loadColumnOrder, since it depends on the properties map being initialized, and after assignColumns, since it cannot set the sort on columns that have not been added to the table.
Definition at line 540 of file DataResultViewerTable.java.
|
private |
Reads and applies the column visibility information persisted to the preferences file.
Definition at line 566 of file DataResultViewerTable.java.
|
private |
Definition at line 381 of file DataResultViewerTable.java.
|
inherited |
Resets the state of the Swing component for this viewer to its default state.
Implemented in org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.
Definition at line 107 of file DataResultViewer.java.
|
protected |
Definition at line 400 of file DataResultViewerTable.java.
|
inherited |
Sets a custom content viewer to which nodes selected in this result viewer should be pushed via DataContent.setNode.
contentViewer | The content viewer. |
Definition at line 138 of file DataResultViewer.java.
void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode | ( | Node | rootNode | ) |
Sets the current root node of this tabular result viewer.
rootNode | The node to set as the current root node, possibly null. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 225 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.TableListener.listenToVisibilityChanges().
|
inherited |
Requests selection of the given child nodes of the node passed to setNode. This method should be implemented as a no-op for result viewers that do not display the child nodes of a given root node using a NetBeans explorer view set up to use a given explorer manager.
selectedNodes | The child nodes to select. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 78 of file AbstractDataResultViewer.java.
References org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getExplorerManager().
|
private |
Sets up the Outline view of this tabular result viewer by creating column headers based on the children of the current root node. The persisted column order, sorting and visibility is used.
Definition at line 284 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.TableListener.listenToVisibilityChanges(), and org.sleuthkit.autopsy.datamodel.NodeSelectionInfo.matches().
|
private |
Persists the current column ordering for the child OutlineView of this tabular result viewer using a preferences file.
Definition at line 491 of file DataResultViewerTable.java.
|
private |
Persists the current column sorting information using a preferences file.
Definition at line 508 of file DataResultViewerTable.java.
|
private |
Persists the current column visibility information for the child OutlineView of this tabular result viewer using a preferences file.
Definition at line 465 of file DataResultViewerTable.java.
|
private |
Definition at line 100 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 94 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 98 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initComponents().
|
private |
Definition at line 104 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 95 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 89 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 96 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 91 of file DataResultViewerTable.java.
|
private |
Definition at line 102 of file DataResultViewerTable.java.
|
private |
Definition at line 1050 of file DataResultViewerTable.java.
|
private |
Definition at line 103 of file DataResultViewerTable.java.
|
private |
Definition at line 101 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 92 of file DataResultViewerTable.java.
|
private |
Definition at line 105 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 88 of file DataResultViewerTable.java.
|
private |
Definition at line 99 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 93 of file DataResultViewerTable.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.