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

Inherits JPanel.

Public Member Functions

 AnalysisResultsContentPanel ()

Private Member Functions

Optional< Element > appendPanelHeader (Element parent, Optional< String > itemName, Optional< Score > score)
Element appendResult (Element parent, int index, AnalysisResultsViewModel.ResultDisplayAttributes attrs)
Element appendSection (Element parent, String headerText, Optional< String > anchorId)
String getAnchor (AnalysisResult analysisResult)
void initComponents ()

Private Attributes

javax.swing.JTextPane textPanel

Static Private Attributes

static final String EMPTY_HTML = "<html><head></head><body></body></html>"
static final String RESULT_ANCHOR_PREFIX = "AnalysisResult_"
static final long serialVersionUID = 1L

Detailed Description

Displays a list of analysis results in a panel.

Definition at line 40 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.AnalysisResultsContentPanel ( )

Member Function Documentation

Optional<Element> org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendPanelHeader ( Element  parent,
Optional< String >  itemName,
Optional< Score >  score 

Appends the header to the panel.

parentThe parent html element.
itemNameThe item whose name will be added if present.
scoreThe aggregate score whose significance will be added if present.
The html element.

Definition at line 128 of file

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getTextClassName().

Element org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult ( Element  parent,
int  index,
AnalysisResultsViewModel.ResultDisplayAttributes  attrs 
Element org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendSection ( Element  parent,
String  headerText,
Optional< String >  anchorId 

Appends a new section with a section header to the parent element.

parentThe element to append this section to.
headerTextThe text for the section.
anchorIdThe anchor id for this section.
The div for the new section.

Definition at line 220 of file

References org.sleuthkit.autopsy.contentviewers.layout.ContentViewerHtmlStyles.getHeaderClassName().

Referenced by org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult().

String org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.getAnchor ( AnalysisResult  analysisResult)

Returns the anchor id to use with the analysis result (based on the id).

analysisResultThe analysis result.
The anchor id.

Definition at line 160 of file

Referenced by org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.appendResult().

void org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.initComponents ( )

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 252 of file

References org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.textPanel.

Referenced by org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.AnalysisResultsContentPanel().

Member Data Documentation

final String org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.EMPTY_HTML = "<html><head></head><body></body></html>"

Definition at line 44 of file

final String org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.RESULT_ANCHOR_PREFIX = "AnalysisResult_"

Definition at line 48 of file

final long org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.serialVersionUID = 1L

Definition at line 42 of file

javax.swing.JTextPane org.sleuthkit.autopsy.contentviewers.analysisresults.AnalysisResultsContentPanel.textPanel

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

Copyright © 2012-2022 Basis Technology. Generated on: Tue Feb 6 2024
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.