Autopsy  4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer Class Reference

Inherits JPanel, and org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Inherited by org.sleuthkit.autopsy.communications.relationships.MessageDataContent.

Classes

class  AttachmentsChildren
 
class  TextComponent
 

Public Member Functions

 MessageArtifactViewer (List< JTextComponent > textAreas, DataResultPanel drp)
 
 MessageArtifactViewer ()
 
void addNotify ()
 
Component getComponent ()
 
boolean isSupported (BlackboardArtifact artifact)
 
void resetComponent ()
 
void setArtifact (BlackboardArtifact artifact)
 

Static Public Member Functions

static boolean isMessageArtifact (BlackboardArtifact nodeArtifact)
 

Private Member Functions

void configureAttachments (Set< Attachment > attachments)
 
void configureTextArea (String text, int index)
 
void displayEmailMsg (MesssageArtifactData artifactData)
 
void displayMsg (MesssageArtifactData artifactData)
 
void enableCommonFields ()
 
void initComponents ()
 
void viewInNewWindowButtonActionPerformed (java.awt.event.ActionEvent evt)
 

Private Attributes

javax.swing.JScrollPane accountScrollPane
 
MessageAccountPanel accountsPanel
 
javax.swing.JPanel accountsTab
 
BlackboardArtifact artifact
 
javax.swing.JPanel attachmentsPanel
 
javax.swing.JScrollPane attachmentsScrollPane
 
javax.swing.JLabel ccLabel
 
javax.swing.JLabel ccText
 
javax.swing.JLabel datetimeText
 
javax.swing.JLabel directionText
 
final DataResultPanel drp
 
ExplorerManager drpExplorerManager
 
javax.swing.JPanel envelopePanel
 
javax.swing.JLabel fromLabel
 
javax.swing.JLabel fromText
 
javax.swing.JScrollPane headersScrollPane
 
javax.swing.JTextArea headersTextArea
 
javax.swing.JPanel htmlPane
 
final org.sleuthkit.autopsy.contentviewers.HtmlPanel htmlPanel = new org.sleuthkit.autopsy.contentviewers.HtmlPanel()
 
javax.swing.JTabbedPane msgbodyTabbedPane
 
javax.swing.JScrollPane rtfbodyScrollPane
 
javax.swing.JTextPane rtfbodyTextPane
 
javax.swing.JLabel subjectLabel
 
javax.swing.JLabel subjectText
 
final List< JTextComponent > textAreas
 
final TranslatablePanel textPanel = new TranslatablePanel(new TextComponent())
 
javax.swing.JLabel toLabel
 
javax.swing.JLabel toText
 
javax.swing.JButton viewInNewWindowButton
 
MessageArtifactWorker worker
 

Static Private Attributes

static final int ACCT_TAB_INDEX = 5
 
static final int ATTM_TAB_INDEX = 4
 
static final int HDR_TAB_INDEX = 0
 
static final int HTML_TAB_INDEX = 2
 
static final Logger LOGGER = Logger.getLogger(MessageArtifactViewer.class.getName())
 
static final int RTF_TAB_INDEX = 3
 
static final long serialVersionUID = 1L
 
static final int TEXT_TAB_INDEX = 1
 
static final BlackboardAttribute.Type TSK_ASSOCIATED_TYPE = new BlackboardAttribute.Type(TSK_ASSOCIATED_ARTIFACT)
 

Detailed Description

Shows SMS/MMS/EMail messages

Definition at line 79 of file MessageArtifactViewer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.MessageArtifactViewer ( List< JTextComponent >  textAreas,
DataResultPanel  drp 
)

Definition at line 139 of file MessageArtifactViewer.java.

org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.MessageArtifactViewer ( )

Member Function Documentation

void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.addNotify ( )
void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.configureAttachments ( Set< Attachment >  attachments)
private
void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.configureTextArea ( String  text,
int  index 
)
private

Configure the text area at the given index to show the content of the given type.

Parameters
texttext to show in the indexed tab.
indexThe index of the text area to configure.
Exceptions
TskCoreException

Definition at line 529 of file MessageArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.TranslatablePanel.setContent().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.displayEmailMsg ( MesssageArtifactData  artifactData)
private

Definition at line 567 of file MessageArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.displayMsg ( MesssageArtifactData  artifactData)
private

Definition at line 590 of file MessageArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.enableCommonFields ( )
private

Definition at line 550 of file MessageArtifactViewer.java.

Component org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.getComponent ( )

Returns the panel.

Returns
display panel.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 460 of file MessageArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.initComponents ( )
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 196 of file MessageArtifactViewer.java.

static boolean org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.isMessageArtifact ( BlackboardArtifact  nodeArtifact)
static

Is the given artifact one that can be shown in this viewer?

Parameters
nodeArtifactAn artifact that might be a message. Must not be null.
Returns
True if the given artifact can be shown as a message in this viewer.

Definition at line 514 of file MessageArtifactViewer.java.

Referenced by org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.isSupported().

boolean org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.isSupported ( BlackboardArtifact  artifact)

Checks whether the given artifact is supported by the viewer.

Parameters
artifactArtifact to check.
Returns
True if the artifact can be displayed by the viewer, false otherwise.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 488 of file MessageArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.isMessageArtifact().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.resetComponent ( )
void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.setArtifact ( BlackboardArtifact  artifact)

Called to display the contents of the given artifact.

Parameters
artifactthe artifact to display.

Implements org.sleuthkit.autopsy.contentviewers.artifactviewers.ArtifactContentViewer.

Definition at line 415 of file MessageArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.artifact.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.viewInNewWindowButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 384 of file MessageArtifactViewer.java.

Member Data Documentation

javax.swing.JScrollPane org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.accountScrollPane
private

Definition at line 390 of file MessageArtifactViewer.java.

MessageAccountPanel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.accountsPanel
private

Definition at line 135 of file MessageArtifactViewer.java.

javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.accountsTab
private

Definition at line 391 of file MessageArtifactViewer.java.

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.ACCT_TAB_INDEX = 5
staticprivate

Definition at line 123 of file MessageArtifactViewer.java.

BlackboardArtifact org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.artifact
private

Artifact currently being displayed

Definition at line 131 of file MessageArtifactViewer.java.

Referenced by org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.setArtifact().

javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.attachmentsPanel
private

Definition at line 392 of file MessageArtifactViewer.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.attachmentsScrollPane
private

Definition at line 393 of file MessageArtifactViewer.java.

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.ATTM_TAB_INDEX = 4
staticprivate

Definition at line 122 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.ccLabel
private

Definition at line 394 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.ccText
private

Definition at line 395 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.datetimeText
private

Definition at line 396 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.directionText
private

Definition at line 397 of file MessageArtifactViewer.java.

final DataResultPanel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.drp
private

Definition at line 132 of file MessageArtifactViewer.java.

ExplorerManager org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.drpExplorerManager
private

Definition at line 133 of file MessageArtifactViewer.java.

javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.envelopePanel
private

Definition at line 398 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.fromLabel
private

Definition at line 399 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.fromText
private

Definition at line 400 of file MessageArtifactViewer.java.

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.HDR_TAB_INDEX = 0
staticprivate

Definition at line 118 of file MessageArtifactViewer.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.headersScrollPane
private

Definition at line 401 of file MessageArtifactViewer.java.

javax.swing.JTextArea org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.headersTextArea
private

Definition at line 402 of file MessageArtifactViewer.java.

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.HTML_TAB_INDEX = 2
staticprivate

Definition at line 120 of file MessageArtifactViewer.java.

javax.swing.JPanel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.htmlPane
private

Definition at line 403 of file MessageArtifactViewer.java.

final org.sleuthkit.autopsy.contentviewers.HtmlPanel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.htmlPanel = new org.sleuthkit.autopsy.contentviewers.HtmlPanel()
private

Definition at line 126 of file MessageArtifactViewer.java.

final Logger org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.LOGGER = Logger.getLogger(MessageArtifactViewer.class.getName())
staticprivate

Definition at line 115 of file MessageArtifactViewer.java.

javax.swing.JTabbedPane org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.msgbodyTabbedPane
private

Definition at line 404 of file MessageArtifactViewer.java.

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.RTF_TAB_INDEX = 3
staticprivate

Definition at line 121 of file MessageArtifactViewer.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.rtfbodyScrollPane
private

Definition at line 405 of file MessageArtifactViewer.java.

javax.swing.JTextPane org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.rtfbodyTextPane
private

Definition at line 406 of file MessageArtifactViewer.java.

final long org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.serialVersionUID = 1L
staticprivate

Definition at line 114 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.subjectLabel
private

Definition at line 407 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.subjectText
private

Definition at line 408 of file MessageArtifactViewer.java.

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.TEXT_TAB_INDEX = 1
staticprivate

Definition at line 119 of file MessageArtifactViewer.java.

final List<JTextComponent> org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.textAreas
private

Definition at line 125 of file MessageArtifactViewer.java.

final TranslatablePanel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.textPanel = new TranslatablePanel(new TextComponent())
private

Definition at line 127 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.toLabel
private

Definition at line 409 of file MessageArtifactViewer.java.

javax.swing.JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.toText
private

Definition at line 410 of file MessageArtifactViewer.java.

final BlackboardAttribute.Type org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.TSK_ASSOCIATED_TYPE = new BlackboardAttribute.Type(TSK_ASSOCIATED_ARTIFACT)
staticprivate

Definition at line 116 of file MessageArtifactViewer.java.

javax.swing.JButton org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.viewInNewWindowButton
private

Definition at line 411 of file MessageArtifactViewer.java.

MessageArtifactWorker org.sleuthkit.autopsy.contentviewers.artifactviewers.MessageArtifactViewer.worker
private

Definition at line 137 of file MessageArtifactViewer.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Thu Sep 29 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.