Autopsy
4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel, org.sleuthkit.autopsy.corecomponentinterfaces.DataResult, ChangeListener, and Provider.
Classes | |
class | ExplorerManagerNodeSelectionListener |
class | RootNodeListener |
Public Member Functions | |
void | addResultViewer (DataResultViewer resultViewer) |
boolean | canClose () |
ExplorerManager | getExplorerManager () |
String | getPreferredID () |
Node | getRootNode () |
List< DataResultViewer > | getViewers () |
boolean | isMain () |
void | open () |
void | resetTabs (Node unusedSelectedNode) |
void | setContentViewer (DataContent customContentView) |
void | setNode (Node rootNode) |
void | setNumMatches (Integer numberOfChildNodes) |
void | setPath (String pathText) |
void | setSelectedNodes (Node[] selectedNodes) |
void | setTitle (String title) |
void | stateChanged (ChangeEvent event) |
Static Public Member Functions | |
static DataResultPanel | createInstance (String title, String pathText, Node rootNode, int totalMatches) |
static DataResultPanel | createInstance (String title, String pathText, Node rootNode, int totalMatches, DataContent customContentView) |
static DataResultPanel | createInstanceUninitialized (String title, String pathText, Node rootNode, int totalMatches, DataContent customContentView) |
Private Member Functions | |
DataResultPanel (boolean isMain, DataContent contentView) | |
void | initComponents () |
void | setupTabs (Node selectedNode) |
Static Private Member Functions | |
static void | createInstanceCommon (String title, String pathText, Node rootNode, int totalMatches, DataResultPanel resultViewPanel) |
Private Attributes | |
DataContent | contentView |
javax.swing.JTabbedPane | dataResultTabbedPanel |
javax.swing.JLabel | directoryTablePath |
ExplorerManagerNodeSelectionListener | emNodeSelectionListener |
ExplorerManager | explorerManager |
boolean | isMain |
boolean | listeningToTabbedPane |
javax.swing.JLabel | matchLabel |
javax.swing.JLabel | numberMatchLabel |
final List< DataResultViewer > | resultViewers = new ArrayList<>() |
Node | rootNode |
final RootNodeListener | rootNodeListener = new RootNodeListener() |
Static Private Attributes | |
static final int | NO_TAB_SELECTED = -1 |
static final String | PLEASE_WAIT_NODE_DISPLAY_NAME = NbBundle.getMessage(DataResultPanel.class, "DataResultPanel.pleasewaitNodeDisplayName") |
static final long | serialVersionUID = 1L |
A Swing JPanel with a JTabbedPane child component. The tabbed pane contains result viewers.
The "main" DataResultPanel for the desktop application has a table viewer (DataResultViewerTable) and a thumbnail viewer (DataResultViewerThumbnail), plus zero to many additional DataResultViewers, since the DataResultViewer interface is an extension point.
The "main" DataResultPanel resides in the "main" results view (DataResultTopComponent) that is normally docked into the upper right hand side of the main window of the desktop application.
The result viewers in the "main panel" are used to view the child nodes of a node selected in the tree view (DirectoryTreeTopComponent) that is normally docked into the left hand side of the main window of the desktop application.
Nodes selected in the child results viewers of a DataResultPanel are displayed in a content view (implementation of the DataContent interface) supplied the panel. The default content view is (DataContentTopComponent) is normally docked into the lower right hand side of the main window, underneath the results view. A custom content view may be specified instead.
Definition at line 68 of file DataResultPanel.java.
|
private |
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.addResultViewer | ( | DataResultViewer | resultViewer | ) |
Adds a result viewer to this panel.
resultViewer | The result viewer. |
Definition at line 239 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.dataResultTabbedPanel, org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.getComponent(), and org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.getTitle().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.open().
boolean org.sleuthkit.autopsy.corecomponents.DataResultPanel.canClose | ( | ) |
Indicates whether or not this panel can be closed at the time of the call.
Definition at line 484 of file DataResultPanel.java.
References org.sleuthkit.autopsy.casemodule.Case.getCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.hasData(), and org.sleuthkit.autopsy.casemodule.Case.isCaseOpen().
|
static |
Constructs and opens a DataResultPanel with the given initial data, and the default DataContent.
title | The title for the panel. |
pathText | Descriptive text about the source of the nodes displayed. |
rootNode | The new root node. |
totalMatches | Cardinality of root node's children |
Definition at line 94 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.open().
|
static |
Constructs and opens a DataResultPanel with the given initial data, and a custom DataContent.
title | The title for the panel. |
pathText | Descriptive text about the source of the nodes displayed. |
rootNode | The new root node. |
totalMatches | Cardinality of root node's children |
customContentView | A content view to use in place of the default content view. |
Definition at line 115 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.open().
|
staticprivate |
Executes code common to all of the DataSreultPanel factory methods.
title | The title for the panel. |
pathText | Descriptive text about the source of the nodes displayed. |
rootNode | The new root node. |
totalMatches | Cardinality of root node's children |
resultViewPanel | A content view to use in place of the default content view. |
Definition at line 154 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNumMatches(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.setPath(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setTitle().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstance(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceUninitialized().
|
static |
Constructs a DataResultPanel with the given initial data, and a custom DataContent. The panel is NOT opened; the client of this method must call open on the panel that is returned.
title | The title for the panel. |
pathText | Descriptive text about the source of the nodes displayed. |
rootNode | The new root node. |
totalMatches | Cardinality of root node's children |
customContentView | A content view to use in place of the default content view. |
Definition at line 137 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon().
Referenced by org.sleuthkit.autopsy.contentviewers.MessageContentViewer.MessageContentViewer(), and org.sleuthkit.autopsy.timeline.TimeLineTopComponent.TimeLineTopComponent().
ExplorerManager org.sleuthkit.autopsy.corecomponents.DataResultPanel.getExplorerManager | ( | ) |
Definition at line 519 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.explorerManager.
Referenced by org.sleuthkit.autopsy.contentviewers.MessageContentViewer.MessageContentViewer().
String org.sleuthkit.autopsy.corecomponents.DataResultPanel.getPreferredID | ( | ) |
Gets the preferred identifier for this panel in the window system.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 197 of file DataResultPanel.java.
Node org.sleuthkit.autopsy.corecomponents.DataResultPanel.getRootNode | ( | ) |
Gets the root node of this panel. For the "main" panel, the root node is the currently selected node in the tree view docked into the left side of the main application window.
Definition at line 362 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.rootNode.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getRootNode().
List<DataResultViewer> org.sleuthkit.autopsy.corecomponents.DataResultPanel.getViewers | ( | ) |
Gets the result viewers for this panel.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 250 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getViewers().
|
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 649 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.dataResultTabbedPanel, org.sleuthkit.autopsy.corecomponents.DataResultPanel.directoryTablePath, org.sleuthkit.autopsy.corecomponents.DataResultPanel.matchLabel, and org.sleuthkit.autopsy.corecomponents.DataResultPanel.numberMatchLabel.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.DataResultPanel().
boolean org.sleuthkit.autopsy.corecomponents.DataResultPanel.isMain | ( | ) |
Gets whether or not this panel is the "main" panel used to view the child nodes of a node selected in the tree view (DirectoryTreeTopComponent) that is normally docked into the left hand side of the main window.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 209 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.DataResultPanel().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.open | ( | ) |
Initializes this panel. Intended to be called by a parent top component when the top component is opened.
Definition at line 269 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.addResultViewer(), org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.createInstance(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.dataResultTabbedPanel, and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.componentOpened(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstance(), org.sleuthkit.autopsy.contentviewers.MessageContentViewer.MessageContentViewer(), and org.sleuthkit.autopsy.timeline.TimeLineTopComponent.TimeLineTopComponent().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.resetTabs | ( | Node | unusedSelectedNode | ) |
Resets the state of the child result viewers, based on a selected root node.
unusedSelectedNode | The selected node. |
Definition at line 451 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.resetTabs(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setContentViewer | ( | DataContent | customContentView | ) |
Sets the content view for this panel. Needs to be called before the first call to open.
customContentView | A content view to use in place of the default content view. |
Definition at line 261 of file DataResultPanel.java.
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode | ( | Node | rootNode | ) |
Sets the root node for this panel. The child nodes of the root node will be displayed in the result viewers. For the "main" panel, the root node is the currently selected node in the tree view docked into the left side of the main application window.
rootNode | The root node for this panel. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 324 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.dataResultTabbedPanel, org.sleuthkit.autopsy.corecomponents.DataResultPanel.numberMatchLabel, org.sleuthkit.autopsy.corecomponents.DataResultPanel.RootNodeListener.reset(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.resetTabs(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.rootNode, and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setupTabs().
Referenced by org.sleuthkit.autopsy.contentviewers.MessageContentViewer.configureAttachments(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.open(), org.sleuthkit.autopsy.contentviewers.MessageContentViewer.resetComponent(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setNode().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNumMatches | ( | Integer | numberOfChildNodes | ) |
Set number of child nodes displayed for the current root node.
numberOfChildNodes |
Definition at line 371 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.numberMatchLabel.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.RootNodeListener.updateMatches().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setPath | ( | String | pathText | ) |
Sets the descriptive text about the source of the nodes displayed in this panel.
pathText | The text to display. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 230 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.directoryTablePath.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setPath().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setSelectedNodes | ( | Node[] | selectedNodes | ) |
Sets the children of the root node that should be currently selected in this panel's result viewers.
selectedNodes | The nodes to be selected. |
Definition at line 383 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setSelectedNodes().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setTitle | ( | String | title | ) |
Sets the title of this panel.
title | The title. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 219 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon().
|
private |
Sets the state of the child result viewers, based on a selected root node.
selectedNode | The selected node. |
Definition at line 393 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.dataResultTabbedPanel, and org.sleuthkit.autopsy.corecomponents.DataResultPanel.NO_TAB_SELECTED.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.RootNodeListener.childrenAdded(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.stateChanged | ( | ChangeEvent | event | ) |
Responds to a tab selection changed event by setting the root node of the corresponding result viewer.
event | The change event. |
Definition at line 464 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.setNode().
|
private |
Definition at line 80 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.DataResultPanel().
|
private |
Definition at line 693 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.addResultViewer(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.initComponents(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.open(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setupTabs().
|
private |
Definition at line 694 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.initComponents(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setPath().
|
private |
Definition at line 76 of file DataResultPanel.java.
|
private |
Definition at line 75 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.getExplorerManager().
|
private |
Definition at line 74 of file DataResultPanel.java.
|
private |
Definition at line 79 of file DataResultPanel.java.
|
private |
Definition at line 695 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.initComponents().
|
staticprivate |
Definition at line 71 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.setupTabs().
|
private |
|
staticprivate |
Definition at line 72 of file DataResultPanel.java.
|
private |
Definition at line 73 of file DataResultPanel.java.
|
private |
Definition at line 77 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.getRootNode(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode().
|
private |
Definition at line 78 of file DataResultPanel.java.
|
staticprivate |
Definition at line 70 of file DataResultPanel.java.
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.