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

Inherits JPanel, and org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Classes

class  ItemEntry
 
class  SectionConfig
 

Public Member Functions

 AnnotationsContentViewer ()
 
DataContentViewer createInstance ()
 
Component getComponent ()
 
String getTitle ()
 
String getToolTip ()
 
int isPreferred (Node node)
 
boolean isSupported (Node node)
 
void resetComponent ()
 
void setNode (Node node)
 

Private Member Functions

void initComponents ()
 

Static Private Member Functions

static< T > boolean appendEntries (Element parent, SectionConfig< T > config, List<?extends T > items, boolean isSubsection)
 
static Element appendMessage (Element parent, String message)
 
static Element appendRow (Element rowParent, List< String > data, int columnNumber, boolean isHeader)
 
static Element appendSection (Element parent, String headerText)
 
static Element appendSubsection (Element parent, String headerText)
 
static Element appendTable (Element parent, int columnNumber, List< List< String >> content, List< String > columnHeaders)
 
static< T > Element appendVerticalEntryTables (Element parent, List<?extends T > items, List< ItemEntry< T >> rowHeaders)
 
static List< CorrelationAttributeInstancegetCentralRepositoryData (BlackboardArtifact artifact)
 
static List< CorrelationAttributeInstancegetCentralRepositoryData (AbstractFile sourceFile)
 
static List< CorrelationAttributeInstancegetCorrelationAttributeComments (List< Pair< CorrelationAttributeInstance.Type, String >> lookupKeys)
 
static List< BlackboardArtifact > getFileSetHits (AbstractFile sourceFile, ARTIFACT_TYPE type)
 
static List< ContentTag > getTags (Content sourceContent)
 
static List< BlackboardArtifactTag > getTags (BlackboardArtifact bba)
 
static boolean hasTskComment (BlackboardArtifact artifact)
 
static boolean renderArtifact (Element parent, BlackboardArtifact bba, Content sourceContent)
 
static boolean renderContent (Element parent, Content sourceContent, boolean isSubheader)
 
static String tryGetAttribute (BlackboardArtifact artifact, BlackboardAttribute.ATTRIBUTE_TYPE attributeType)
 

Private Attributes

javax.swing.JScrollPane jScrollPane5
 
javax.swing.JTextPane jTextPane1
 

Static Private Attributes

static final SectionConfig< BlackboardArtifact > ARTIFACT_COMMENT_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_fileHitEntry_artifactCommentTitle(), FILESET_HIT_ENTRIES)
 
static final int CELL_SPACING = DEFAULT_FONT_SIZE / 2
 
static final SectionConfig< CorrelationAttributeInstanceCR_COMMENTS_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_centralRepositoryEntry_title(), CR_COMMENTS_ENTRIES)
 
static final List< ItemEntry< CorrelationAttributeInstance > > CR_COMMENTS_ENTRIES
 
static final int DEFAULT_FONT_SIZE = new JLabel().getFont().getSize()
 
static final int DEFAULT_SECTION_SPACING = DEFAULT_FONT_SIZE * 2
 
static final int DEFAULT_SUBSECTION_LEFT_PAD = DEFAULT_FONT_SIZE
 
static final int DEFAULT_SUBSECTION_SPACING = DEFAULT_FONT_SIZE / 2
 
static final int DEFAULT_TABLE_SPACING = DEFAULT_FONT_SIZE
 
static final String EMPTY_HTML = "<html><head></head><body></body></html>"
 
static final List< ItemEntry< BlackboardArtifact > > FILESET_HIT_ENTRIES
 
static final SectionConfig< BlackboardArtifact > HASHSET_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_fileHitEntry_hashSetHitTitle(), FILESET_HIT_ENTRIES)
 
static final String HEADER_CLASSNAME = "header"
 
static final int HEADER_FONT_SIZE = DEFAULT_FONT_SIZE * 14 / 11
 
static final SectionConfig< BlackboardArtifact > INTERESTING_FILE_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_fileHitEntry_interestingFileHitTitle(), FILESET_HIT_ENTRIES)
 
static final Logger logger = Logger.getLogger(AnnotationsContentViewer.class.getName())
 
static final String MESSAGE_CLASSNAME = "message"
 
static final String SECTION_CLASSNAME = "section"
 
static final String STYLE_SHEET_RULE
 
static final String SUBHEADER_CLASSNAME = "subheader"
 
static final int SUBHEADER_FONT_SIZE = DEFAULT_FONT_SIZE * 12 / 11
 
static final String SUBSECTION_CLASSNAME = "subsection"
 
static final SectionConfig< Tag > TAG_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_tagEntry_title(), TAG_ENTRIES)
 
static final List< ItemEntry< Tag > > TAG_ENTRIES
 
static final String VERTICAL_TABLE_CLASSNAME = "vertical-table"
 

Detailed Description

Annotations view of file contents.

Definition at line 85 of file AnnotationsContentViewer.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.AnnotationsContentViewer ( )

Member Function Documentation

static <T> boolean org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.appendEntries ( Element  parent,
SectionConfig< T >  config,
List<?extends T >  items,
boolean  isSubsection 
)
staticprivate

Append entries to the parent element in the annotations viewer. Entries will be formatted as a table in the format specified in the SectionConfig.

Parameters
parentThe parent element for which the entries will be attached.
configThe display configuration for this entry type (i.e. table type, name, if data is not present).
itemsThe items to display.
isSubsectionWhether or not this should be displayed as a subsection. If not displayed as a top-level section.
Returns
If there was actual content rendered for this set of entries.

Definition at line 567 of file AnnotationsContentViewer.java.

static Element org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.appendMessage ( Element  parent,
String  message 
)
staticprivate

Appends a message to the parent element. This is typically used in the event that no data exists for a certain type.

Parameters
parentThe parent element that will have this message appended to it.
messageThe message to append.
Returns
The paragraph element for the new message.

Definition at line 703 of file AnnotationsContentViewer.java.

static Element org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.appendRow ( Element  rowParent,
List< String >  data,
int  columnNumber,
boolean  isHeader 
)
staticprivate

Appends a row to the parent element (should be thead or tbody).

Parameters
rowParentThe parent table element.
dataThe data to place in columns within the table.
columnNumberThe number of columns to append.
isHeaderWhether or not this should have header cells ('th') instead of regular cells ('td').
Returns
The row created.

Definition at line 647 of file AnnotationsContentViewer.java.

static Element org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.appendSection ( Element  parent,
String  headerText 
)
staticprivate

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

Parameters
parentThe element to append this section to.
headerTextThe text for the section.
Returns
The div for the new section.

Definition at line 667 of file AnnotationsContentViewer.java.

static Element org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.appendSubsection ( Element  parent,
String  headerText 
)
staticprivate

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

Parameters
parentThe element to append this subsection to.
headerTextThe text for the subsection.
Returns
The div for the new subsection.

Definition at line 684 of file AnnotationsContentViewer.java.

static Element org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.appendTable ( Element  parent,
int  columnNumber,
List< List< String >>  content,
List< String >  columnHeaders 
)
staticprivate

Appends a generic table to the parent element.

Parameters
parentThe parent element that will have a table appended to it.
columnNumberThe number of columns to append.
contentThe content in content.get(row).get(column) format.
columnHeadersThe column headers or null if no column headers should be created.
Returns
The created table.

Definition at line 624 of file AnnotationsContentViewer.java.

static <T> Element org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.appendVerticalEntryTables ( Element  parent,
List<?extends T >  items,
List< ItemEntry< T >>  rowHeaders 
)
staticprivate

Appends a table where items are displayed in rows of key-value pairs.

Parameters
parentThe parent to append the table.
itemsThe items to process into a series of tables.
rowHeadersThe keys and the means to process items in order to get key-value pairs.
Returns
The parent element provided as parameter.

Definition at line 588 of file AnnotationsContentViewer.java.

DataContentViewer org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.createInstance ( )

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 757 of file AnnotationsContentViewer.java.

static List<CorrelationAttributeInstance> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getCentralRepositoryData ( BlackboardArtifact  artifact)
staticprivate

Gets the "Central Repository Comments" section with data for the blackboard artifact.

Parameters
artifactThe selected artifact.
Returns
The Correlation Attribute Instances associated with the artifact that have comments.

Definition at line 472 of file AnnotationsContentViewer.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeUtil.makeCorrAttrsForCorrelation().

static List<CorrelationAttributeInstance> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getCentralRepositoryData ( AbstractFile  sourceFile)
staticprivate

Gets the "Central Repository Comments" section with data.

Parameters
sourceFileA selected file, or a source file of the selected artifact.
Returns
The Correlation Attribute Instances associated with the sourcefile that have comments.

Definition at line 494 of file AnnotationsContentViewer.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationAttributeInstance.FILES_TYPE_ID, org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getDefinedCorrelationTypes(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance().

Component org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getComponent ( )

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.

Returns
the component which is displayed for this viewer

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 790 of file AnnotationsContentViewer.java.

static List<CorrelationAttributeInstance> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getCorrelationAttributeComments ( List< Pair< CorrelationAttributeInstance.Type, String >>  lookupKeys)
staticprivate

Given a type and a value for that type, does a lookup in the Central Repository for matching values that have comments.

Parameters
lookupKeysThe type and value to lookup.
Returns
The found correlation attribute instances.

Definition at line 529 of file AnnotationsContentViewer.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getArtifactInstancesByTypeValue(), and org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.getInstance().

static List<BlackboardArtifact> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getFileSetHits ( AbstractFile  sourceFile,
ARTIFACT_TYPE  type 
)
staticprivate

Retrieves the blackboard artifacts for a source file matching a certain type that have a non-blank TSK_COMMENT.

Parameters
sourceFileThe source file for which to fetch artifacts.
typeThe type of blackboard artifact to fetch.
Returns
The artifacts found matching this type.

Definition at line 410 of file AnnotationsContentViewer.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

static List<ContentTag> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getTags ( Content  sourceContent)
staticprivate

Retrieves tags associated with a content item.

Parameters
sourceContentThe content for which to gather content.
Returns
The Tags associated with this item.

Definition at line 370 of file AnnotationsContentViewer.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

static List<BlackboardArtifactTag> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getTags ( BlackboardArtifact  bba)
staticprivate

Retrieves tags for blackboard artifact tags.

Parameters
bbaThe blackboard artifact for which to retrieve tags.
Returns
The found tags.

Definition at line 389 of file AnnotationsContentViewer.java.

References org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getSleuthkitCase().

String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getTitle ( )

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

Returns
the title of DataContentViewer

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 747 of file AnnotationsContentViewer.java.

String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.getToolTip ( )

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

Returns
the tooltip for this TextViewer

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 752 of file AnnotationsContentViewer.java.

static boolean org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.hasTskComment ( BlackboardArtifact  artifact)
staticprivate

Returns true if the artifact contains a non-blank TSK_COMMENT attribute.

Parameters
artifactThe artifact to check.
Returns
True if it has a non-blank TSK_COMMENT.

Definition at line 431 of file AnnotationsContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.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 717 of file AnnotationsContentViewer.java.

int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.isPreferred ( Node  node)

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 (i.e., isSupported() has already returned true).

The following are some examples of the current levels in use. If the selected node is an artifact, the level may be determined by both the artifact and its associated file.

Level 7 - Based on the artifact, if any, in the selected node and specific to an artifact type or types. Current content viewers that can return level 7 are the Messages tab (only supported for email and SMS) and the Text tab when the selected node is a Keyword Search hit.

Level 6 - Based on the artifact, if any, in the selected node but not restricted to particular types. The current content viewer that can return level 6 is the Results tab. It returns this level for most artifact types, unless the associated file is assumed to be of greater interest (for example, a Hash Set Hit will not be level 6 because the file itself is of greater interest).

Level 5 - Based on the file in the selected node and very specific to the file type. The current content viewer that will return level 5 is the Application tab, which supports media files (such as images) and certain types of databases.

Level 4 - Based on the file in the selected node but fairly general. Currently this is the level returned by the Text tab if Keyword Search has been run (unless the node is a Keyword Search hit or a Credit Card account). This is the default tab for most files.

Level 3 - Based on the artifact, if any, in the selected node where the artifact is thought to be of less interest than the associated file. This level is returned by the Results tab for artifacts like Hash Set Hits.

Level 1 - Very general and should always be available. The Hex, Text, and Metadata tabs are all this level

Level 0 - For cases where the content viewer should never be displayed by default.

Parameters
nodeNode to check for preference
Returns
an int (0-10) higher return means the viewer has higher priority

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 785 of file AnnotationsContentViewer.java.

boolean org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.isSupported ( Node  node)

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 762 of file AnnotationsContentViewer.java.

static boolean org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.renderArtifact ( Element  parent,
BlackboardArtifact  bba,
Content  sourceContent 
)
staticprivate

Renders annotations for an artifact.

Parameters
parentThe html element to render content int.
bbaThe blackboard artifact to render.
sourceContentThe content from which the blackboard artifact comes.
Returns
If any content was actually rendered.

Definition at line 300 of file AnnotationsContentViewer.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.isEnabled().

static boolean org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.renderContent ( Element  parent,
Content  sourceContent,
boolean  isSubheader 
)
staticprivate

Renders annotations for a content item.

Parameters
parentThe parent within which to render.
sourceContentThe content for which annotations will be gathered.
isSubheaderTrue if this section should be rendered as a subheader as opposed to a top-level header.
Returns
If any content was actually rendered.

Definition at line 338 of file AnnotationsContentViewer.java.

References org.sleuthkit.autopsy.centralrepository.datamodel.CentralRepository.isEnabled().

void org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.resetComponent ( )

Resets the contents of the viewer / component.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 795 of file AnnotationsContentViewer.java.

void org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.setNode ( Node  selectedNode)

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.

Parameters
selectedNodethe node which is used to determine what is displayed in this viewer

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataContentViewer.

Definition at line 242 of file AnnotationsContentViewer.java.

static String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.tryGetAttribute ( BlackboardArtifact  artifact,
BlackboardAttribute.ATTRIBUTE_TYPE  attributeType 
)
staticprivate

Attempts to retrieve the attribute of a particular type from a blackboard artifact.

Parameters
artifactThe artifact from which to retrieve the information.
attributeTypeThe attribute type to retrieve from the artifact.
Returns
The string value of the attribute or null if not found.

Definition at line 444 of file AnnotationsContentViewer.java.

Member Data Documentation

final SectionConfig<BlackboardArtifact> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.ARTIFACT_COMMENT_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_fileHitEntry_artifactCommentTitle(), FILESET_HIT_ENTRIES)
staticprivate

Definition at line 214 of file AnnotationsContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.CELL_SPACING = DEFAULT_FONT_SIZE / 2
staticprivate

Definition at line 167 of file AnnotationsContentViewer.java.

final SectionConfig<CorrelationAttributeInstance> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.CR_COMMENTS_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_centralRepositoryEntry_title(), CR_COMMENTS_ENTRIES)
staticprivate

Definition at line 225 of file AnnotationsContentViewer.java.

final List<ItemEntry<CorrelationAttributeInstance> > org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.CR_COMMENTS_ENTRIES
staticprivate
Initial value:
= Arrays.asList(
new ItemEntry<>(Bundle.AnnotationsContentViewer_centralRepositoryEntryDataLabel_case(),
cai -> (cai.getCorrelationCase() != null) ? cai.getCorrelationCase().getDisplayName() : null),
new ItemEntry<>(Bundle.AnnotationsContentViewer_centralRepositoryEntryDataLabel_comment(), cai -> cai.getComment()),
new ItemEntry<>(Bundle.AnnotationsContentViewer_centralRepositoryEntryDataLabel_path(), cai -> cai.getFilePath())
)

Definition at line 217 of file AnnotationsContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.DEFAULT_FONT_SIZE = new JLabel().getFont().getSize()
staticprivate

Definition at line 152 of file AnnotationsContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.DEFAULT_SECTION_SPACING = DEFAULT_FONT_SIZE * 2
staticprivate

Definition at line 165 of file AnnotationsContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.DEFAULT_SUBSECTION_LEFT_PAD = DEFAULT_FONT_SIZE
staticprivate

Definition at line 161 of file AnnotationsContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.DEFAULT_SUBSECTION_SPACING = DEFAULT_FONT_SIZE / 2
staticprivate

Definition at line 166 of file AnnotationsContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.DEFAULT_TABLE_SPACING = DEFAULT_FONT_SIZE
staticprivate

Definition at line 164 of file AnnotationsContentViewer.java.

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

Definition at line 150 of file AnnotationsContentViewer.java.

final List<ItemEntry<BlackboardArtifact> > org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.FILESET_HIT_ENTRIES
staticprivate
Initial value:
= Arrays.asList(
new ItemEntry<>(Bundle.AnnotationsContentViewer_fileHitEntry_setName(),
(bba) -> tryGetAttribute(bba, BlackboardAttribute.ATTRIBUTE_TYPE.TSK_SET_NAME)),
new ItemEntry<>(Bundle.AnnotationsContentViewer_fileHitEntry_comment(),
(bba) -> tryGetAttribute(bba, BlackboardAttribute.ATTRIBUTE_TYPE.TSK_COMMENT))
)

Definition at line 200 of file AnnotationsContentViewer.java.

final SectionConfig<BlackboardArtifact> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.HASHSET_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_fileHitEntry_hashSetHitTitle(), FILESET_HIT_ENTRIES)
staticprivate

Definition at line 211 of file AnnotationsContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.HEADER_CLASSNAME = "header"
staticprivate

Definition at line 174 of file AnnotationsContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.HEADER_FONT_SIZE = DEFAULT_FONT_SIZE * 14 / 11
staticprivate

Definition at line 158 of file AnnotationsContentViewer.java.

final SectionConfig<BlackboardArtifact> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.INTERESTING_FILE_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_fileHitEntry_interestingFileHitTitle(), FILESET_HIT_ENTRIES)
staticprivate

Definition at line 208 of file AnnotationsContentViewer.java.

javax.swing.JScrollPane org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.jScrollPane5
private

Definition at line 742 of file AnnotationsContentViewer.java.

javax.swing.JTextPane org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.jTextPane1
private

Definition at line 743 of file AnnotationsContentViewer.java.

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

Definition at line 148 of file AnnotationsContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.MESSAGE_CLASSNAME = "message"
staticprivate

Definition at line 170 of file AnnotationsContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.SECTION_CLASSNAME = "section"
staticprivate

Definition at line 173 of file AnnotationsContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.STYLE_SHEET_RULE
staticprivate
Initial value:
= String.format(" .%s { font-size: %dpx;font-style:italic; margin: 0px; padding: 0px; } ", MESSAGE_CLASSNAME, DEFAULT_FONT_SIZE)
+ String.format(" .%s {font-size:%dpx;font-weight:bold; margin: 0px; margin-top: %dpx; padding: 0px; } ",
+ String.format(" .%s { font-size:%dpx;font-weight:bold; margin: 0px; padding: 0px; } ", HEADER_CLASSNAME, HEADER_FONT_SIZE)
+ String.format(" td { vertical-align: top; font-size:%dpx; text-align: left; margin: 0px; padding: 0px %dpx 0px 0px;} ", DEFAULT_FONT_SIZE, CELL_SPACING)
+ String.format(" th { vertical-align: top; text-align: left; margin: 0px; padding: 0px %dpx 0px 0px} ", DEFAULT_FONT_SIZE, CELL_SPACING)
+ String.format(" .%s { margin: %dpx 0px; padding-left: %dpx; } ", SUBSECTION_CLASSNAME, DEFAULT_SUBSECTION_SPACING, DEFAULT_SUBSECTION_LEFT_PAD)
+ String.format(" .%s { margin-bottom: %dpx; } ", SECTION_CLASSNAME, DEFAULT_SECTION_SPACING)

Definition at line 179 of file AnnotationsContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.SUBHEADER_CLASSNAME = "subheader"
staticprivate

Definition at line 172 of file AnnotationsContentViewer.java.

final int org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.SUBHEADER_FONT_SIZE = DEFAULT_FONT_SIZE * 12 / 11
staticprivate

Definition at line 155 of file AnnotationsContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.SUBSECTION_CLASSNAME = "subsection"
staticprivate

Definition at line 171 of file AnnotationsContentViewer.java.

final SectionConfig<Tag> org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.TAG_CONFIG = new SectionConfig<>(Bundle.AnnotationsContentViewer_tagEntry_title(), TAG_ENTRIES)
staticprivate

Definition at line 197 of file AnnotationsContentViewer.java.

final List<ItemEntry<Tag> > org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.TAG_ENTRIES
staticprivate
Initial value:
= Arrays.asList(
new ItemEntry<>(Bundle.AnnotationsContentViewer_tagEntryDataLabel_tag(),
(tag) -> (tag.getName() != null) ? tag.getName().getDisplayName() : null),
new ItemEntry<>(Bundle.AnnotationsContentViewer_tagEntryDataLabel_tagUser(), (tag) -> tag.getUserName()),
new ItemEntry<>(Bundle.AnnotationsContentViewer_tagEntryDataLabel_comment(), (tag) -> tag.getComment())
)

Definition at line 189 of file AnnotationsContentViewer.java.

final String org.sleuthkit.autopsy.contentviewers.AnnotationsContentViewer.VERTICAL_TABLE_CLASSNAME = "vertical-table"
staticprivate

Definition at line 175 of file AnnotationsContentViewer.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.