Autopsy
4.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.
Classes | |
class | DummyNodeListener |
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 | |
Node.Property[] | getAllChildPropertyHeaders (Node parent) |
void | getAllChildPropertyHeadersRec (Node parent, int rows) |
Node.Property<?>[] | getChildPropertyHeaders (Node parent) |
int | getMaxColumnWidth (int index, FontMetrics metrics, int margin, int padding, List< Node.Property<?>> header, Object[][] table) |
synchronized int | getMaxColumnWidth (int index, FontMetrics metrics, int margin, int padding, String header, Object[][] table) |
void | initComponents () |
void | initialize () |
void | setupTable (final Node root) |
void | tableScrollPanelComponentResized (java.awt.event.ComponentEvent evt) |
Static Private Member Functions | |
static Object[][] | getRowValues (Node node, int maxRows) |
Private Attributes | |
Node | currentRoot |
final DummyNodeListener | dummyNodeListener = new DummyNodeListener() |
String | firstColumnLabel = NbBundle.getMessage(DataResultViewerTable.class, "DataResultViewerTable.firstColLbl") |
Set< Property<?> > | propertiesAcc = new LinkedHashSet<>() |
javax.swing.JScrollPane | tableScrollPanel |
Static Private Attributes | |
static final String | DUMMY_NODE_DISPLAY_NAME = NbBundle.getMessage(DataResultViewerTable.class, "DataResultViewerTable.dummyNodeDisplayName") |
DataResult sortable table viewer
Definition at line 60 of file DataResultViewerTable.java.
org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DataResultViewerTable | ( | ExplorerManager | explorerManager | ) |
Creates a DataResultViewerTable object that is compatible with node multiple selection actions.
Definition at line 72 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 81 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 616 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 554 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 168 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanel.
|
private |
Gets regular Bean property set properties from all first 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 |
Definition at line 248 of file DataResultViewerTable.java.
|
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 284 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
private |
Gets regular Bean property set properties from first child of Node.
parent | Node with at least one child to get properties from |
Definition at line 220 of file DataResultViewerTable.java.
|
inherited |
Definition at line 100 of file AbstractDataResultViewer.java.
|
inherited |
Definition at line 105 of file AbstractDataResultViewer.java.
|
private |
Gets the max width of the column from the given index, header, and table.
index | the index of the column on the table / header |
metrics | the font metrics that this component use |
margin | the left/right margin of the column |
padding | the left/right padding of the column |
header | the property headers of the table |
table | the object table |
Definition at line 571 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
private |
Gets the max width of the column from the given index, header, and table.
index | the index of the column on the table / header |
metrics | the font metrics that this component use |
margin | the left/right margin of the column |
padding | the left/right padding of the column |
header | the column header for the comparison |
table | the object table |
Definition at line 590 of file DataResultViewerTable.java.
|
staticprivate |
The original contents of orderedProps do not matter when setting the new ordered values. The reason we copy propertiesAcc into it first is to give it the currect size so we can set() in any index.
Definition at line 515 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
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 549 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 184 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 |
Add mouse listener to perform action on double-click A somewhat hacky way to perform action even if the column clicked is not the first one.
Definition at line 85 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.initComponents(), 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 303 of file DataResultViewerTable.java.
|
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 314 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DummyNodeListener.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 |
Definition at line 354 of file DataResultViewerTable.java.
References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getAllChildPropertyHeadersRec(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getMaxColumnWidth(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getRowValues(), org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.propertiesAcc, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.tableScrollPanel.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.DummyNodeListener.childrenAdded(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode().
|
private |
Definition at line 207 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 66 of file DataResultViewerTable.java.
|
staticprivate |
Definition at line 65 of file DataResultViewerTable.java.
|
private |
Definition at line 64 of file DataResultViewerTable.java.
|
protectedinherited |
Definition at line 42 of file AbstractDataResultViewer.java.
|
private |
Definition at line 62 of file DataResultViewerTable.java.
|
private |
Definition at line 63 of file DataResultViewerTable.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setupTable().
|
private |
Definition at line 210 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().
Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.