Autopsy
4.7.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel, org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer, and Provider.
Inherited by org.sleuthkit.autopsy.corecomponents.DataResultViewerTable, and org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.
Public Member Functions | |
AbstractDataResultViewer (ExplorerManager explorerManager) | |
default void | clearComponent () |
DataResultViewer | createInstance () |
default void | expandNode (Node node) |
Component | getComponent () |
ExplorerManager | getExplorerManager () |
String | getTitle () |
boolean | isSupported (Node node) |
default void | resetComponent () |
default void | setContentViewer (DataContent contentViewer) |
void | setNode (Node node) |
void | setSelectedNodes (Node[] selected) |
Private Attributes | |
transient ExplorerManager | explorerManager |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(AbstractDataResultViewer.class.getName()) |
An abstract base class for an implementation of the result viewer interface that is a JPanel that displays the child nodes of a given node using a NetBeans explorer view as a child component. Such a result viewer should use the explorer manager of an ancestor top component to connect the lookups of the nodes displayed in the NetBeans explorer view to the actions global context. This class handles some key aspects of working with the ancestor top component's explorer manager.
Instances of this class can be supplied with the top component's explorer manager during construction, but the typical use case is for the result viewer to find the ancestor top component's explorer manager at runtime.
IMPORTANT: If the result viewer is going to find the ancestor top component's explorer manager at runtime, the first call to the getExplorerManager method of this class must be made AFTER the component hierarchy is fully constructed.
Definition at line 49 of file AbstractDataResultViewer.java.
org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.AbstractDataResultViewer | ( | ExplorerManager | explorerManager | ) |
Constructs an abstract base class for an implementation of the result viewer interface that is a JPanel that displays the child nodes of the given node using a NetBeans explorer view as a child component.
explorerManager | The explorer manager to use in the NetBeans explorer view child component of this result viewer, may be null. If null, the explorer manager will be discovered the first time getExplorerManager is called. |
Definition at line 65 of file AbstractDataResultViewer.java.
References org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.explorerManager.
|
inherited |
Frees any resources tha have been allocated by this result viewer, in preparation for permanently disposing of it.
Implemented in org.sleuthkit.autopsy.corecomponents.DataResultViewerTable, and org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.
Definition at line 114 of file DataResultViewer.java.
|
inherited |
Creates a new instance of this result viewer, which allows the application to use the capability provided by this result viewer in more than one result view. This is done by using the default instance of this result viewer as a "factory" for creating other instances.
Implemented in org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.
|
inherited |
Sets the node for which this result viewer should provide a view of the underlying application data model object, and expands the node.
node | The node. |
Definition at line 126 of file DataResultViewer.java.
Component org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getComponent | ( | ) |
Gets the Swing component for this viewer.
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 87 of file AbstractDataResultViewer.java.
ExplorerManager org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getExplorerManager | ( | ) |
Definition at line 70 of file AbstractDataResultViewer.java.
References org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.explorerManager.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.PageUpdater.childrenAdded(), org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.NodeSelectionListener.propertyChange(), org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.setSelectedNodes(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.switchPage().
|
inherited |
Gets the title of this result viewer.
Implemented in org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.addResultViewer().
|
inherited |
Indicates whether this result viewer is able to provide a meaningful view of the application data represented by a given node. Typically, indicates whether or not this result viewer can use the given node as the root node of its child explorer view component.
node | The node. |
Implemented in org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.
|
inherited |
Resets the state of the Swing component for this viewer to its default state.
Implemented in org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.
Definition at line 107 of file DataResultViewer.java.
|
inherited |
Sets a custom content viewer to which nodes selected in this result viewer should be pushed via DataContent.setNode.
contentViewer | The content viewer. |
Definition at line 138 of file DataResultViewer.java.
|
inherited |
Sets the node for which this result viewer should provide a view of the underlying application data. Typically, this means using the given node as the root node of this result viewer's child explorer view component.
node | The node, may be null. If null, the call to this method is equivalent to a call to resetComponent. |
Implemented in org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail, and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.
Referenced by org.sleuthkit.autopsy.corecomponents.DataResultPanel.stateChanged().
void org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.setSelectedNodes | ( | Node[] | selectedNodes | ) |
Requests selection of the given child nodes of the node passed to setNode. This method should be implemented as a no-op for result viewers that do not display the child nodes of a given root node using a NetBeans explorer view set up to use a given explorer manager.
selectedNodes | The child nodes to select. |
Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.
Definition at line 78 of file AbstractDataResultViewer.java.
References org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getExplorerManager().
|
private |
Definition at line 52 of file AbstractDataResultViewer.java.
Referenced by org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.AbstractDataResultViewer(), and org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getExplorerManager().
|
staticprivate |
Definition at line 51 of file AbstractDataResultViewer.java.
Copyright © 2012-2016 Basis Technology. Generated on: Mon Jun 18 2018
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.