Autopsy  4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Static Private Attributes | List of all members
org.sleuthkit.autopsy.communications.MessageDataContent Class Reference

Inherits org.sleuthkit.autopsy.contentviewers.MessageContentViewer, and org.sleuthkit.autopsy.corecomponentinterfaces.DataContent.

Public Member Functions

DataContentViewer createInstance ()
 
Component getComponent ()
 
String getTitle ()
 
String getToolTip ()
 
int isPreferred (Node node)
 
boolean isSupported (Node node)
 
void propertyChange (PropertyChangeEvent evt)
 
final void resetComponent ()
 
void setNode (Node selectedNode)
 
void setNode (Node node)
 

Static Private Attributes

static final long serialVersionUID = 1L
 

Detailed Description

Extends MessageContentViewer so that it implements DataContent and can be set as the only ContentViewer for a DataResultPanel

Definition at line 29 of file MessageDataContent.java.

Member Function Documentation

DataContentViewer org.sleuthkit.autopsy.contentviewers.MessageContentViewer.createInstance ( )
inherited

Create and return a new instance of your viewer. The reason that this is needed is because the specific viewer modules will be found via NetBeans Lookup and the type will only be DataContentViewer. This method is used to get an instance of your specific type.

Returns
A new instance of the viewer

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 471 of file MessageContentViewer.java.

Component org.sleuthkit.autopsy.contentviewers.MessageContentViewer.getComponent ( )
inherited

Return the Swing Component to display. Implementations of this method that extend JPanel and do a 'return this;'. Otherwise return an internal instance of the JPanel.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 476 of file MessageContentViewer.java.

String org.sleuthkit.autopsy.contentviewers.MessageContentViewer.getTitle ( )
inherited

Returns the title of this viewer to display in the tab.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 460 of file MessageContentViewer.java.

String org.sleuthkit.autopsy.contentviewers.MessageContentViewer.getToolTip ( )
inherited

Returns a short description of this viewer to use as a tool tip for its tab.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 466 of file MessageContentViewer.java.

int org.sleuthkit.autopsy.contentviewers.MessageContentViewer.isPreferred ( Node  node)
inherited

Checks whether the given viewer is preferred for the Node. This is a bit subjective, but the idea is that Autopsy wants to display the most relevant tab. The more generic the viewer, the lower the return value should be. This will only be called on viewers that support the given node.

Parameters
nodeNode to check for preference
Returns
an int (0-10) higher return means the viewer has higher priority 0 means not supported 1 to 2 means the module will display all file types (such as the hex viewer) 3-10 are prioritized by Content viewer developer. Modules that operate on very few file types should be towards 10.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 541 of file MessageContentViewer.java.

boolean org.sleuthkit.autopsy.contentviewers.MessageContentViewer.isSupported ( Node  node)
inherited

Checks whether the given node is supported by the viewer. This will be used to enable or disable the tab for the viewer.

Parameters
nodeNode to check for support
Returns
True if the node can be displayed / processed, else false

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 506 of file MessageContentViewer.java.

References org.sleuthkit.autopsy.contentviewers.MessageContentViewer.isMessageArtifact().

void org.sleuthkit.autopsy.communications.MessageDataContent.propertyChange ( PropertyChangeEvent  evt)

Definition at line 34 of file MessageDataContent.java.

final void org.sleuthkit.autopsy.contentviewers.MessageContentViewer.resetComponent ( )
inherited

Resets the contents of the viewer / component.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 481 of file MessageContentViewer.java.

References org.sleuthkit.autopsy.corecomponents.DataResultPanel.setNode().

void org.sleuthkit.autopsy.corecomponentinterfaces.DataContent.setNode ( Node  selectedNode)
inherited
void org.sleuthkit.autopsy.contentviewers.MessageContentViewer.setNode ( Node  selectedNode)
inherited

Autopsy will call this when this panel is focused with the file that should be analyzed. When called with null, must clear all references to previous nodes.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 405 of file MessageContentViewer.java.

Member Data Documentation

final long org.sleuthkit.autopsy.communications.MessageDataContent.serialVersionUID = 1L
staticprivate

Definition at line 31 of file MessageDataContent.java.


The documentation for this class was generated from the following file:

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.