Autopsy
4.6.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel, org.sleuthkit.autopsy.corecomponentinterfaces.DataResult, ChangeListener, and Provider.
Classes | |
class | ExplorerManagerListener |
class | RootNodeListener |
class | SetupTabsChildrenWorker |
Public Member Functions | |
void | addResultViewer (DataResultViewer resultViewer) |
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 | setNumberOfChildNodes (Integer numberOfChildNodes) |
void | setNumMatches (Integer numberOfChildNodes) |
void | setPath (String description) |
void | setSelectedNodes (Node[] selectedNodes) |
void | setTitle (String title) |
void | stateChanged (ChangeEvent event) |
Static Public Member Functions | |
static DataResultPanel | createInstance (String title, String description, Node currentRootNode, int childNodeCount) |
static DataResultPanel | createInstance (String title, String description, Node currentRootNode, int childNodeCount, Collection< DataResultViewer > viewers) |
static DataResultPanel | createInstance (String title, String description, Node currentRootNode, int childNodeCount, DataContent customContentView) |
static DataResultPanel | createInstanceUninitialized (String title, String description, Node currentRootNode, int childNodeCount, DataContent customContentView) |
Private Member Functions | |
void | initComponents () |
void | setupTabs (Node selectedNode) |
Static Private Member Functions | |
static void | createInstanceCommon (String title, String description, Node currentRootNode, int childNodeCount, DataResultPanel resultViewPanel) |
Private Attributes | |
DataContent | contentView |
Node | currentRootNode |
javax.swing.JLabel | descriptionLabel |
ExplorerManager | explorerManager |
final ExplorerManagerListener | explorerManagerListener |
final boolean | isMain |
boolean | listeningToTabbedPane |
javax.swing.JLabel | matchLabel |
javax.swing.JLabel | numberOfChildNodesLabel |
final List< DataResultViewer > | resultViewers |
javax.swing.JTabbedPane | resultViewerTabs |
final RootNodeListener | 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 result view panel is a JPanel with a JTabbedPane child component that contains a collection of result viewers and implements the DataResult interface. The result viewers in a result view panel are either supplied during construction of the panel or are obtained from the result viewer extension point (DataResultViewer service providers).
A result view panel provides an implementation of the setNode API of the the DataResult interface that pushes a given NetBeans Node into its child result viewers via the DataResultViewer.setNode API. The result viewers are responsible for providing a view of the application data represented by the node. A typical result viewer is a JPanel that displays the child nodes of the given node using a NetBeans explorer view child component.
A result panel should be child components of top components that are explorer manager providers. The parent top component is expected to expose a lookup maintained by its explorer manager to the actions global context. The child result view panel will then find the parent top component's explorer manager at runtime, so that it can act as an explorer manager provider for its child result viewers. This connects the nodes displayed in the result viewers to the actions global context.
All result view panels push single node selections in the child result viewers to either the "main" content view (DataContentTopComponent) that is normally docked into the lower right hand side of the main application window, or to a supplied custom content view (implements DataContent).
Definition at line 74 of file DataResultPanel.java.
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.addResultViewer | ( | DataResultViewer | resultViewer | ) |
Adds a results viewer to this result view panel.
resultViewer | The results viewer. |
Definition at line 280 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.getComponent(), org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.getTitle(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.resultViewerTabs.
|
static |
Creates and opens a Swing JPanel with a JTabbedPane child component that contains instances of the result viewers (DataResultViewer) provided by the result viewer extension point (service providers that implement DataResultViewer). The result view panel will push single node selections from its child result viewers to the "main" content view that is normally docked into the lower right hand side of the main application window.
title | The title for the result view panel. |
description | Descriptive text about the source of the nodes displayed. |
currentRootNode | The current root (parent) node for the nodes displayed. May be changed by calling setNode. |
childNodeCount | The cardinality of the root node's children. |
Definition at line 105 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.open().
|
static |
Creates and opens a Swing JPanel with a JTabbedPane child component that contains a given collection of result viewers (DataResultViewer) instead of the result viewers provided by the results viewer extension point. The result view panel will push single node selections from its child result viewers to the "main" content view that is normally docked into the lower right hand side of the main application window..
title | The title for the result view panel. |
description | Descriptive text about the source of the nodes displayed. |
currentRootNode | The current root (parent) node for the nodes displayed. May be changed by calling setNode. |
childNodeCount | The cardinality of the root node's children. |
viewers | A collection of result viewers to use instead of the result viewers provided by the results viewer extension point. |
Definition at line 132 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.open().
|
static |
Creates and opens a Swing JPanel with a JTabbedPane child component that contains instances of the result viewers (DataResultViewer) provided by the result viewer extension point (service providers that implement DataResultViewer). The result view panel will push single node selections from its child result viewers to the supplied custom content view.
title | The title for the result view panel. |
description | Descriptive text about the source of the nodes displayed. |
currentRootNode | The current root (parent) node for the nodes displayed. May be changed by calling setNode. |
childNodeCount | The cardinality of the root node's children. |
customContentView | A custom content view to use instead of the "main" content view that is normally docked into the lower right hand side of the main application window. |
Definition at line 159 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 result view panel factory methods.
title | The title for the result view panel. |
description | Descriptive text about the source of the nodes displayed. |
currentRootNode | The current root (parent) node for the nodes displayed. May be changed by calling setNode. |
childNodeCount | The cardinality of the root node's children. |
resultViewPanel | A new results view panel. |
Definition at line 202 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNumberOfChildNodes(), 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 |
Creates, but does not open, a Swing JPanel with a JTabbedPane child component that contains instances of the result viewers (DataResultViewer) provided by the result viewer extension point (service providers that implement DataResultViewer). The result view panel will push single node selections from its child result viewers to the supplied custom content view.
title | The title for the result view panel. |
description | Descriptive text about the source of the nodes displayed. |
currentRootNode | The current root (parent) node for the nodes displayed. May be changed by calling setNode. |
childNodeCount | The cardinality of the root node's children. |
customContentView | A content view to use in place of the default content view. |
Definition at line 185 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 525 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.explorerManager.
Referenced by org.sleuthkit.autopsy.contentviewers.MessageContentViewer.addNotify().
String org.sleuthkit.autopsy.corecomponents.DataResultPanel.getPreferredID | ( | ) |
Gets the preferred identifier for this result view panel in the window system.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 250 of file DataResultPanel.java.
Node org.sleuthkit.autopsy.corecomponents.DataResultPanel.getRootNode | ( | ) |
Gets the root node of this result view panel. For the "main" panel, the root node is the currently selected node in the application tree view docked into the left side of the main application window.
Definition at line 398 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.currentRootNode.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.getRootNode().
List<DataResultViewer> org.sleuthkit.autopsy.corecomponents.DataResultPanel.getViewers | ( | ) |
Gets the result viewers for this result view panel.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 291 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 658 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.descriptionLabel, org.sleuthkit.autopsy.corecomponents.DataResultPanel.matchLabel, org.sleuthkit.autopsy.corecomponents.DataResultPanel.numberOfChildNodesLabel, and org.sleuthkit.autopsy.corecomponents.DataResultPanel.resultViewerTabs.
boolean org.sleuthkit.autopsy.corecomponents.DataResultPanel.isMain | ( | ) |
Gets whether or not this result view panel is the "main" result view panel used to view the child nodes of a node selected in the application tree view (DirectoryTreeTopComponent) that is normally docked into the left hand side of the main window.
This method has no valid use case.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 720 of file DataResultPanel.java.
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.open | ( | ) |
Opens this result view panel. Should be called by a parent top component when the top component is opened.
Definition at line 310 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.resultViewerTabs.
Referenced by org.sleuthkit.autopsy.contentviewers.MessageContentViewer.addNotify(), org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.componentOpened(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstance(), and org.sleuthkit.autopsy.timeline.TimeLineTopComponent.TimeLineTopComponent().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.resetTabs | ( | Node | unusedSelectedNode | ) |
Resets the state of this results panel.
unusedSelectedNode | Unused. |
Definition at line 745 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setContentViewer | ( | DataContent | customContentView | ) |
Sets the content view for this result view 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 302 of file DataResultPanel.java.
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode | ( | Node | rootNode | ) |
Sets the current root node for this result view panel. The child nodes of the current root node will be displayed in the child result viewers. For the "main" panel, the root node is the currently selected node in the application tree view docked into the left side of the main application window.
rootNode | The root node for this panel, may be null if the panel is to be reset. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 358 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.numberOfChildNodesLabel, org.sleuthkit.autopsy.corecomponents.DataResultPanel.RootNodeListener.reset(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.resultViewerTabs, 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.DataResultTopComponent.resetTabs(), org.sleuthkit.autopsy.corecomponents.DataResultPanel.resetTabs(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setNode().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNumberOfChildNodes | ( | Integer | numberOfChildNodes | ) |
Sets the label text that displays the number of the child nodes displayed by this result view panel's result viewers.
numberOfChildNodes | The number of child nodes. |
Definition at line 408 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.numberOfChildNodesLabel.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setNumberOfChildNodes(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNumMatches().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNumMatches | ( | Integer | numberOfChildNodes | ) |
Sets the label text that displays the number of the child nodes displayed by this result view panel's result viewers.
numberOfChildNodes | The number of child nodes. |
Definition at line 733 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNumberOfChildNodes().
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.RootNodeListener.updateMatches().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setPath | ( | String | description | ) |
Sets the descriptive text about the source of the nodes displayed in this result view panel.
description | The text to display. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 271 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.descriptionLabel.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.createInstanceCommon(), and org.sleuthkit.autopsy.corecomponents.DataResultTopComponent.setPath().
void org.sleuthkit.autopsy.corecomponents.DataResultPanel.setSelectedNodes | ( | Node[] | selectedNodes | ) |
Selects the given child nodes of the root node in this panel's result viewers.
selectedNodes | The child nodes to be selected. |
Definition at line 418 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 result view panel.
title | The title. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResult.
Definition at line 260 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 428 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.NO_TAB_SELECTED, and org.sleuthkit.autopsy.corecomponents.DataResultPanel.resultViewerTabs.
Referenced by 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 487 of file DataResultPanel.java.
References org.sleuthkit.autopsy.corecomponents.DataResultPanel.NO_TAB_SELECTED, and org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.setNode().
|
private |
Definition at line 83 of file DataResultPanel.java.
|
private |
Definition at line 85 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.getRootNode().
|
private |
Definition at line 702 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.initComponents(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.setPath().
|
private |
Definition at line 84 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.getExplorerManager().
|
private |
Definition at line 81 of file DataResultPanel.java.
|
private |
Definition at line 79 of file DataResultPanel.java.
|
private |
Definition at line 86 of file DataResultPanel.java.
|
private |
Definition at line 703 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.initComponents().
|
staticprivate |
Definition at line 77 of file DataResultPanel.java.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.setupTabs(), and org.sleuthkit.autopsy.corecomponents.DataResultPanel.stateChanged().
|
private |
|
staticprivate |
Definition at line 78 of file DataResultPanel.java.
|
private |
Definition at line 80 of file DataResultPanel.java.
|
private |
Definition at line 705 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 82 of file DataResultPanel.java.
|
staticprivate |
Definition at line 76 of file DataResultPanel.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon May 7 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.