Autopsy  4.16.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.DefaultArtifactContentViewer Class Reference

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

Classes

class  MultiLineTableCellRenderer
 
class  ResultsTableArtifact
 

Public Member Functions

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

Private Member Functions

void customizeComponents ()
 
void initComponents ()
 
void initResultsTable ()
 
void resetComponents ()
 
void updateColumnSizes ()
 
void updateRowHeights ()
 
void updateView (ResultsTableArtifact resultsTableArtifact)
 

Private Attributes

javax.swing.JMenuItem copyMenuItem
 
ETable resultsTable
 
javax.swing.JScrollPane resultsTableScrollPane
 
javax.swing.JPopupMenu rightClickMenu
 
javax.swing.JMenuItem selectAllMenuItem
 

Static Private Attributes

static final int CELL_BOTTOM_MARGIN = 5
 
static final int CELL_RIGHT_MARGIN = 1
 
static final String[] COLUMN_HEADERS
 
static final int[] COLUMN_WIDTHS = {100, 800, 100}
 
static final Logger logger = Logger.getLogger(DefaultArtifactContentViewer.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

This class displays a Blackboard artifact as a table listing all it's attributes names and values.

Definition at line 65 of file DefaultArtifactContentViewer.java.

Constructor & Destructor Documentation

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

Definition at line 87 of file DefaultArtifactContentViewer.java.

Member Function Documentation

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.customizeComponents ( )
private

Definition at line 237 of file DefaultArtifactContentViewer.java.

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

Returns the panel.

Returns
display panel.

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

Definition at line 275 of file DefaultArtifactContentViewer.java.

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

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.initResultsTable ( )
private

Definition at line 96 of file DefaultArtifactContentViewer.java.

boolean org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.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 298 of file DefaultArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.resetComponents ( )
private

Resets the components to an empty view state.

Definition at line 269 of file DefaultArtifactContentViewer.java.

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

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.updateColumnSizes ( )
private

Update the column widths so that the Value column has most of the space.

Definition at line 177 of file DefaultArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.updateRowHeights ( )
private

Sets the row heights to the heights of the content in their Value column.

Definition at line 144 of file DefaultArtifactContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.updateView ( ResultsTableArtifact  resultsTableArtifact)
private

Updates the table view with the given artifact data.

It should be called on EDT.

Parameters
resultsTableArtifactArtifact data to display in the view.

Definition at line 491 of file DefaultArtifactContentViewer.java.

References org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.ResultsTableArtifact.getRows().

Member Data Documentation

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.CELL_BOTTOM_MARGIN = 5
staticprivate

Definition at line 84 of file DefaultArtifactContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.CELL_RIGHT_MARGIN = 1
staticprivate

Definition at line 85 of file DefaultArtifactContentViewer.java.

final String [] org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.COLUMN_HEADERS
staticprivate
Initial value:
= {
Bundle.DefaultArtifactContentViewer_attrsTableHeader_type(),
Bundle.DefaultArtifactContentViewer_attrsTableHeader_value(),
Bundle.DefaultArtifactContentViewer_attrsTableHeader_sources()}

Definition at line 79 of file DefaultArtifactContentViewer.java.

final int [] org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.COLUMN_WIDTHS = {100, 800, 100}
staticprivate

Definition at line 83 of file DefaultArtifactContentViewer.java.

javax.swing.JMenuItem org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.copyMenuItem
private

Definition at line 230 of file DefaultArtifactContentViewer.java.

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

Definition at line 75 of file DefaultArtifactContentViewer.java.

ETable org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.resultsTable
private

Definition at line 235 of file DefaultArtifactContentViewer.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.resultsTableScrollPane
private

Definition at line 231 of file DefaultArtifactContentViewer.java.

javax.swing.JPopupMenu org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.rightClickMenu
private

Definition at line 232 of file DefaultArtifactContentViewer.java.

javax.swing.JMenuItem org.sleuthkit.autopsy.contentviewers.artifactviewers.DefaultArtifactContentViewer.selectAllMenuItem
private

Definition at line 233 of file DefaultArtifactContentViewer.java.

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

Definition at line 77 of file DefaultArtifactContentViewer.java.


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

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