Autopsy
4.1
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.
Classes | |
class | PleasewaitNodeListener |
Public Member Functions | |
DataResultViewerTable (ExplorerManager explorerManager) | |
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 | |
DataContent | contentViewer |
transient ExplorerManager | em |
Private Member Functions | |
void | getAllChildPropertyHeadersRec (Node parent, int rows, Set< Property<?>> propertiesAcc) |
String | getColumnPreferenceKey (Property<?> prop, String type) |
void | initComponents () |
void | initialize () |
synchronized List< Node.Property<?> > | loadState () |
void | setupTable (final Node root) |
synchronized void | storeState () |
void | tableScrollPanelComponentResized (java.awt.event.ComponentEvent evt) |
Private Attributes | |
Node | currentRoot |
int | endColumnIndex = -1 |
final String | firstColumnLabel = NbBundle.getMessage(DataResultViewerTable.class, "DataResultViewerTable.firstColLbl") |
final PleasewaitNodeListener | pleasewaitNodeListener = new PleasewaitNodeListener() |
final Map< Integer, Property<?> > | propertiesMap = new TreeMap<>() |
int | startColumnIndex = -1 |
javax.swing.JScrollPane | tableScrollPanel |
Static Private Attributes | |
static final String | PLEASEWAIT_NODE_DISPLAY_NAME = NbBundle.getMessage(DataResultViewerTable.class, "DataResultViewerTable.pleasewaitNodeDisplayName") |
static final long | serialVersionUID = 1L |
static final Color | TAGGED_COLOR = new Color(200, 210, 220) |
DataResult sortable table viewer
Definition at line 70 of file DataResultViewerTable.java.
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ExplorerManager | explorerManager | ) |
Creates a DataResultViewerTable object that is compatible with node multiple selection actions.
explorerManager | allow for explorer manager sharing |
Definition at line 97 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initialize().
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ) |
Creates a DataResultViewerTable object that is NOT compatible with node multiple selection actions.
Definition at line 106 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initialize().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.createInstance().
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 576 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanel.
DataResultViewer org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.createInstance | ( | ) |
Get a new instance of DataResultViewer
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 571 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 221 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanel.
|
private |
Gets regular Bean property set properties from all children and, recursively, subchildren of Node. Note: won't work out the box for lazy load - you need to set all children props for the parent by hand
parent | Node with at least one child to get properties from |
rows | max number of rows to retrieve properties for (can be used for memory optimization) |
Definition at line 275 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.loadState().
|
private |
Gets a key for the current node and a property of its child nodes to store the column position into a preference file.
prop | Property of the column |
type | The type of the current node |
Definition at line 560 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.loadState(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.storeState().
|
inherited |
Definition at line 100 of file AbstractDataResultViewer.java.
|
inherited |
Definition at line 105 of file AbstractDataResultViewer.java.
|
inherited |
Definition at line 82 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 566 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 237 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanel, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanelComponentResized().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initialize().
|
private |
Definition at line 110 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initComponents(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.storeState(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanel.
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 294 of file DataResultViewerTable.java.
|
private |
Loads the stored column order from the preference file.
Definition at line 503 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getAllChildPropertyHeadersRec(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getColumnPreferenceKey().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
inherited |
Definition at line 96 of file AbstractDataResultViewer.java.
|
inherited |
Definition at line 119 of file AbstractDataResultViewer.java.
void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode | ( | Node | selectedNode | ) |
Thread note: Make sure to run this in the EDT as it causes GUI operations.
selectedNode |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 305 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.PleasewaitNodeListener.reset(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanel.
|
inherited |
Definition at line 110 of file AbstractDataResultViewer.java.
|
private |
Create Column Headers based on the Content represented by the Nodes in the table.
root | The parent Node of the ContentNodes |
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.
This custom renderer extends the renderer that was already being used by the outline table. This renderer colors a row if the tags property of the node is not empty.
Definition at line 350 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.loadState(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanel.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.PleasewaitNodeListener.childrenAdded(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode().
|
private |
Store the current column order into a preference file.
Definition at line 478 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getColumnPreferenceKey().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initialize().
|
private |
Definition at line 260 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initComponents().
|
protectedinherited |
Content viewer to respond to selection events Either the main one, or custom one if set
Definition at line 47 of file AbstractDataResultViewer.java.
|
private |
Definition at line 85 of file DataResultViewerTable.java.
|
protectedinherited |
Definition at line 42 of file AbstractDataResultViewer.java.
|
private |
Definition at line 89 of file DataResultViewerTable.java.
|
private |
Definition at line 74 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 83 of file DataResultViewerTable.java.
|
private |
Definition at line 82 of file DataResultViewerTable.java.
|
private |
Definition at line 81 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 72 of file DataResultViewerTable.java.
|
private |
Definition at line 88 of file DataResultViewerTable.java.
|
private |
Definition at line 263 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.clearComponent(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.expandNode(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initComponents(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initialize(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
staticprivate |
Definition at line 84 of file DataResultViewerTable.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Apr 24 2017
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.