Autopsy
4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.
Classes | |
class | ColorTagCustomRenderer |
class | ColumnSortInfo |
class | TableListener |
Public Member Functions | |
DataResultViewerTable (ExplorerManager explorerManager) | |
DataResultViewerTable (ExplorerManager explorerManager, String title) | |
DataResultViewerTable () | |
void | clearComponent () |
DataResultViewer | createInstance () |
void | expandNode (Node n) |
Component | getComponent () |
ExplorerManager | getExplorerManager () |
Node | getSelectedNode () |
String | getTitle () |
boolean | isSupported (Node selectedNode) |
void | resetComponent () |
void | setContentViewer (DataContent contentViewer) |
void | setNode (Node selectedNode) |
void | setSelectedNodes (Node[] selected) |
Protected Attributes | |
transient ExplorerManager | em |
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 | setColumnWidths () |
void | setupTable () |
synchronized void | storeColumnOrder () |
synchronized void | storeColumnSorting () |
synchronized void | storeColumnVisibility () |
Private Attributes | |
final Map< String, ETableColumn > | columnMap = new HashMap<>() |
Node | currentRoot |
Outline | outline |
org.openide.explorer.view.OutlineView | outlineView |
final Map< Integer, Property<?> > | propertiesMap = new TreeMap<>() |
final TableListener | tableListener |
final String | title |
Static Private Attributes | |
static final String | FIRST_COLUMN_LABEL = Bundle.DataResultViewerTable_firstColLbl() |
static final Logger | logger = Logger.getLogger(DataResultViewerTable.class.getName()) |
static final long | serialVersionUID = 1L |
static final Color | TAGGED_COLOR = new Color(255, 255, 195) |
A tabular viewer for the results view.
TODO (JIRA-2658): Fix DataResultViewer extension point. When this is done, restore implementation of DataResultViewerTable as a DataResultViewer service provider.
Definition at line 76 of file DataResultViewerTable.java.
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ExplorerManager | explorerManager | ) |
Creates a DataResultViewerTable object that is compatible with node multiple selection actions, and the default title.
explorerManager | allow for explorer manager sharing |
Definition at line 122 of file DataResultViewerTable.java.
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ExplorerManager | explorerManager, |
String | title | ||
) |
Creates a DataResultViewerTable object that is compatible with node multiple selection actions, and a custom title.
explorerManager | allow for explorer manager sharing |
title | The custom title. |
Definition at line 133 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initComponents(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.outlineView, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.title.
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ) |
Creates a DataResultViewerTable object that is NOT compatible with node multiple selection actions.
Definition at line 156 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.createInstance().
|
private |
Definition at line 388 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.outlineView.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.clearComponent | ( | ) |
Frees the objects that have been allocated by this viewer, in preparation for permanently disposing of it.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 602 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.outlineView.
DataResultViewer org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.createInstance | ( | ) |
Get a new instance of DataResultViewer
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 597 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable().
void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.expandNode | ( | Node | n | ) |
Expand node
n | Node to expand |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 167 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.outlineView.
|
inherited |
Definition at line 88 of file AbstractDataResultViewer.java.
|
inherited |
Definition at line 93 of file AbstractDataResultViewer.java.
|
inherited |
Definition at line 70 of file AbstractDataResultViewer.java.
String org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getTitle | ( | ) |
Gets the title of this viewer
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 592 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.title.
|
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 180 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.FIRST_COLUMN_LABEL, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.outlineView.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable().
boolean org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.isSupported | ( | Node | selectedNode | ) |
Checks whether the currently selected root node is supported by this viewer
selectedNode | the selected node |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 200 of file DataResultViewerTable.java.
|
private |
Gets a list of child properties (columns) in the order persisted in the preference file. Also initialized the propertiesMap with the column order.
Definition at line 544 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
private |
Reads and applies the column sorting information persisted to the preferences file. Must be called after loadColumnOrder() since it depends on propertiesMap being initialized, and after assignColumns since it cannot set the sort on columns that have not been added to the table.
Definition at line 489 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.ColumnSortInfo.getRank().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
private |
Definition at line 516 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
private |
Definition at line 337 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
inherited |
Definition at line 84 of file AbstractDataResultViewer.java.
|
private |
Definition at line 351 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.outlineView.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
inherited |
Definition at line 108 of file AbstractDataResultViewer.java.
void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode | ( | Node | selectedNode | ) |
Set the root node to display in this viewer. When called with null, must clear all references to previous nodes.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 206 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.TableListener.listenToVisibilityChanges(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.outlineView, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
inherited |
Definition at line 98 of file AbstractDataResultViewer.java.
|
private |
Create Column Headers based on the Content represented by the Nodes in the table. Load persisted column order, sorting and visibility.
OutlineView makes the first column be the result of node.getDisplayName with the icon. This duplicates our first column, which is the file name, etc. So, pop that property off the list, but use its display name as the header for the column so that the header can change depending on the type of data being displayed.
NOTE: This assumes that the first property is always the one that duplicates getDisplayName(). The current implementation does not allow the first property column to be moved.
Definition at line 250 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.assignColumns(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.TableListener.listenToVisibilityChanges(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.loadColumnOrder(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.loadColumnSorting(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.loadColumnVisibility(), org.sleuthkit.autopsy.datamodel.NodeSelectionInfo.matches(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.populateColumnMap(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setColumnWidths().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode().
|
private |
Store the current column order information into a preference file.
Definition at line 438 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.TableListener.columnMoved().
|
private |
Store the current column sorting information into a preference file.
Definition at line 456 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.TableListener.mouseClicked().
|
private |
Store the current column visibility information into a preference file.
Definition at line 409 of file DataResultViewerTable.java.
|
private |
Stores references to the actual table column objects, keyed by column name, so that we can check there visibility later in storeColumnVisibility().
Definition at line 102 of file DataResultViewerTable.java.
|
private |
Definition at line 104 of file DataResultViewerTable.java.
|
protectedinherited |
Definition at line 41 of file AbstractDataResultViewer.java.
|
staticprivate |
Definition at line 81 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initComponents().
|
staticprivate |
Definition at line 79 of file DataResultViewerTable.java.
|
private |
Definition at line 109 of file DataResultViewerTable.java.
|
private |
Definition at line 196 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.assignColumns(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.clearComponent(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.expandNode(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initComponents(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setColumnWidths(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode().
|
private |
The properties map:
stored value of column index -> property at that index
We move around stored values instead of directly using the column indices in order to not override settings for a column that may not appear in the current table view due to its collection of its children's properties.
Definition at line 95 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 78 of file DataResultViewerTable.java.
|
private |
Listener for table model event and mouse clicks.
Definition at line 114 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 82 of file DataResultViewerTable.java.
|
private |
Definition at line 84 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getTitle().
Copyright © 2012-2016 Basis Technology. Generated on: Tue Feb 20 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.