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

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

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

Classes

class  ContactPersonaSearcherTask
 
class  CreatePersonaButtonListener
 
class  PersonaCreateCallbackImpl
 
class  PersonaUIComponents
 
class  PersonaViewCallbackImpl
 
class  ViewPersonaButtonListener
 

Public Member Functions

 ContactArtifactViewer ()
 
Component getComponent ()
 
boolean isSupported (BlackboardArtifact artifact)
 
void setArtifact (BlackboardArtifact artifact)
 

Private Member Functions

void extractArtifactData (BlackboardArtifact artifact) throws TskCoreException
 
ImageIcon getImageFromArtifact (BlackboardArtifact artifact)
 
void initComponents ()
 
void initiatePersonasSearch ()
 
void resetComponent ()
 
void showPersona (Persona persona, int matchNumber, List< CentralRepoAccount > missingAccountsList, GridBagLayout gridBagLayout, GridBagConstraints constraints)
 
void updateContactDetails ()
 
void updateContactImage (GridBagLayout contactPanelLayout, GridBagConstraints contactPanelConstraints)
 
void updateContactMethodSection (List< BlackboardAttribute > sectionAttributesList, String sectionHeader, GridBagLayout contactPanelLayout, GridBagConstraints contactPanelConstraints)
 
void updateContactName (GridBagLayout contactPanelLayout, GridBagConstraints contactPanelConstraints)
 
void updatePersonas ()
 
void updateSource ()
 
void updateView ()
 

Private Attributes

List< BlackboardAttribute > accountAttributesList = new ArrayList<>()
 
BlackboardArtifact contactArtifact
 
String contactName
 
final List< CentralRepoAccountcontactUniqueAccountsList = new ArrayList<>()
 
final Map< Persona, ArrayList< CentralRepoAccount > > contactUniquePersonasMap = new HashMap<>()
 
String datasourceName
 
final ImageIcon defaultImage
 
List< BlackboardAttribute > emailList = new ArrayList<>()
 
GridBagConstraints m_constraints = new GridBagConstraints()
 
GridBagLayout m_gridBagLayout = new GridBagLayout()
 
List< BlackboardAttribute > nameList = new ArrayList<>()
 
List< BlackboardAttribute > otherList = new ArrayList<>()
 
JLabel personaSearchStatusLabel
 
ContactPersonaSearcherTask personaSearchTask
 
List< BlackboardAttribute > phoneNumList = new ArrayList<>()
 

Static Private Attributes

static final String DEFAULT_IMAGE_PATH = "/org/sleuthkit/autopsy/images/defaultContact.png"
 
static final Logger logger = Logger.getLogger(ContactArtifactViewer.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

This class displays the TSK_CONTACT artifact.

Definition at line 75 of file ContactArtifactViewer.java.

Constructor & Destructor Documentation

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

Member Function Documentation

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.extractArtifactData ( BlackboardArtifact  artifact) throws TskCoreException
private

Extracts data from the artifact to be displayed in the panel.

Parameters
artifactArtifact to show.
Exceptions
TskCoreException

Definition at line 167 of file ContactArtifactViewer.java.

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

Returns the panel.

Returns
display panel.

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

Definition at line 149 of file ContactArtifactViewer.java.

ImageIcon org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.getImageFromArtifact ( BlackboardArtifact  artifact)
private

Gets an image from a TSK_CONTACT artifact.

Parameters
artifact
Returns
Image from a TSK_CONTACT artifact or default image if none was found or the artifact is not a TSK_CONTACT

Definition at line 570 of file ContactArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.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 123 of file ContactArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.initiatePersonasSearch ( )
private
boolean org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.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 155 of file ContactArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.resetComponent ( )
private

Resets all artifact specific state.

Definition at line 525 of file ContactArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getSectionIndent().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.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 130 of file ContactArtifactViewer.java.

Referenced by org.sleuthkit.autopsy.communications.relationships.ContactDataViewer.setNode().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.showPersona ( Persona  persona,
int  matchNumber,
List< CentralRepoAccount missingAccountsList,
GridBagLayout  gridBagLayout,
GridBagConstraints  constraints 
)
private

Displays the given persona in the persona panel.

Parameters
personaPersona to display.
matchNumberNumber of matches.
missingAccountsListList of contact accounts this persona may be missing.
gridBagLayoutLayout to use.
constraintslayout constraints.
Exceptions
CentralRepoException

Definition at line 437 of file ContactArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getColumnSpacing(), org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getLineSpacing(), and org.sleuthkit.autopsy.centralrepository.datamodel.Persona.getName().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.updateContactDetails ( )
private

Updates the view with contact's details.

Definition at line 221 of file ContactArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.updateContactImage ( GridBagLayout  contactPanelLayout,
GridBagConstraints  contactPanelConstraints 
)
private

Updates the contact image in the view.

Parameters
contactPanelLayoutPanel layout.
contactPanelConstraintsLayout constraints.

Definition at line 242 of file ContactArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getLineSpacing().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.updateContactMethodSection ( List< BlackboardAttribute >  sectionAttributesList,
String  sectionHeader,
GridBagLayout  contactPanelLayout,
GridBagConstraints  contactPanelConstraints 
)
private

Updates the view by displaying the given list of attributes in the given section panel.

Parameters
sectionAttributesListList of attributes to display.
sectionHeaderSection name label.
contactPanelLayoutPanel layout.
contactPanelConstraintsLayout constraints.

Definition at line 301 of file ContactArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getSectionSpacing().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.updateContactName ( GridBagLayout  contactPanelLayout,
GridBagConstraints  contactPanelConstraints 
)
private

Updates the contact name in the view.

Parameters
contactPanelLayoutPanel layout.
contactPanelConstraintsLayout constraints.

Definition at line 274 of file ContactArtifactViewer.java.

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerDefaults.getSectionSpacing().

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.updatePersonas ( )
private

Updates the Persona panel with the gathered persona information.

Definition at line 379 of file ContactArtifactViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.updateSource ( )
private
void org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.updateView ( )
private

Updates the view with the data extracted from the artifact.

Definition at line 201 of file ContactArtifactViewer.java.

Member Data Documentation

List<BlackboardAttribute> org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.accountAttributesList = new ArrayList<>()
private

Definition at line 93 of file ContactArtifactViewer.java.

BlackboardArtifact org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.contactArtifact
private

Definition at line 85 of file ContactArtifactViewer.java.

String org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.contactName
private

Definition at line 86 of file ContactArtifactViewer.java.

final List<CentralRepoAccount> org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.contactUniqueAccountsList = new ArrayList<>()
private

Definition at line 99 of file ContactArtifactViewer.java.

final Map<Persona, ArrayList<CentralRepoAccount> > org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.contactUniquePersonasMap = new HashMap<>()
private

Definition at line 103 of file ContactArtifactViewer.java.

String org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.datasourceName
private

Definition at line 87 of file ContactArtifactViewer.java.

final String org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.DEFAULT_IMAGE_PATH = "/org/sleuthkit/autopsy/images/defaultContact.png"
staticprivate

Definition at line 95 of file ContactArtifactViewer.java.

final ImageIcon org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.defaultImage
private

Definition at line 96 of file ContactArtifactViewer.java.

List<BlackboardAttribute> org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.emailList = new ArrayList<>()
private

Definition at line 90 of file ContactArtifactViewer.java.

final Logger org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.logger = Logger.getLogger(ContactArtifactViewer.class.getName())
staticprivate

Definition at line 77 of file ContactArtifactViewer.java.

GridBagConstraints org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.m_constraints = new GridBagConstraints()
private

Definition at line 81 of file ContactArtifactViewer.java.

GridBagLayout org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.m_gridBagLayout = new GridBagLayout()
private

Definition at line 80 of file ContactArtifactViewer.java.

List<BlackboardAttribute> org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.nameList = new ArrayList<>()
private

Definition at line 91 of file ContactArtifactViewer.java.

List<BlackboardAttribute> org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.otherList = new ArrayList<>()
private

Definition at line 92 of file ContactArtifactViewer.java.

JLabel org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.personaSearchStatusLabel
private

Definition at line 83 of file ContactArtifactViewer.java.

ContactPersonaSearcherTask org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.personaSearchTask
private

Definition at line 105 of file ContactArtifactViewer.java.

List<BlackboardAttribute> org.sleuthkit.autopsy.contentviewers.artifactviewers.ContactArtifactViewer.phoneNumList = new ArrayList<>()
private

Definition at line 89 of file ContactArtifactViewer.java.

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

Definition at line 78 of file ContactArtifactViewer.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.