Autopsy  4.5.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.DisplayableItemNode Class Referenceabstract

Inherits AbstractNode.

Inherited by org.sleuthkit.autopsy.datamodel.accounts.Accounts.AccountsRootNode, org.sleuthkit.autopsy.datamodel.accounts.Accounts.BINNode, org.sleuthkit.autopsy.datamodel.accounts.Accounts.ByBINNode, org.sleuthkit.autopsy.datamodel.accounts.Accounts.ByFileNode, org.sleuthkit.autopsy.datamodel.accounts.Accounts.CreditCardNumberAccountTypeNode, org.sleuthkit.autopsy.datamodel.accounts.Accounts.DefaultAccountTypeNode, org.sleuthkit.autopsy.datamodel.accounts.Accounts.FileWithCCNNode, org.sleuthkit.autopsy.datamodel.BlackboardArtifactTagNode, org.sleuthkit.autopsy.datamodel.ContentNode, org.sleuthkit.autopsy.datamodel.ContentTagNode, org.sleuthkit.autopsy.datamodel.DataSourcesNode, org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsChildren.DeletedContentNode, org.sleuthkit.autopsy.datamodel.DeletedContent.DeletedContentsNode, org.sleuthkit.autopsy.datamodel.EmailExtracted.AccountNode, org.sleuthkit.autopsy.datamodel.EmailExtracted.FolderNode, org.sleuthkit.autopsy.datamodel.EmailExtracted.RootNode, org.sleuthkit.autopsy.datamodel.EmptyNode.MessageNode, org.sleuthkit.autopsy.datamodel.ExtractedContent.RootNode, org.sleuthkit.autopsy.datamodel.ExtractedContent.TypeNode, org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootChildren.FileSizeNode, org.sleuthkit.autopsy.datamodel.FileSize.FileSizeRootNode, org.sleuthkit.autopsy.datamodel.FileTypes.BGCountUpdatingNode, org.sleuthkit.autopsy.datamodel.FileTypes.FileTypesNode, org.sleuthkit.autopsy.datamodel.FileTypesByExtension.FileTypesByExtNode, org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.ByMimeTypeNode, org.sleuthkit.autopsy.datamodel.FileTypesByMimeType.MediaTypeNode, org.sleuthkit.autopsy.datamodel.HashsetHits.HashsetNameNode, org.sleuthkit.autopsy.datamodel.HashsetHits.RootNode, org.sleuthkit.autopsy.datamodel.InterestingHits.InterestingItemTypeNode, org.sleuthkit.autopsy.datamodel.InterestingHits.RootNode, org.sleuthkit.autopsy.datamodel.InterestingHits.SetNameNode, org.sleuthkit.autopsy.datamodel.KeywordHits.KWHitsNodeBase, org.sleuthkit.autopsy.datamodel.KeywordHits.RootNode, org.sleuthkit.autopsy.datamodel.RecentFilesFilterNode, org.sleuthkit.autopsy.datamodel.RecentFilesNode, org.sleuthkit.autopsy.datamodel.Reports.ReportNode, org.sleuthkit.autopsy.datamodel.Reports.ReportsListNode, org.sleuthkit.autopsy.datamodel.ResultsNode, org.sleuthkit.autopsy.datamodel.Tags.BlackboardArtifactTagTypeNode, org.sleuthkit.autopsy.datamodel.Tags.ContentTagTypeNode, org.sleuthkit.autopsy.datamodel.Tags.RootNode, org.sleuthkit.autopsy.datamodel.Tags.TagNameNode, org.sleuthkit.autopsy.datamodel.ViewsNode, org.sleuthkit.autopsy.timeline.explorernodes.EventNode, and org.sleuthkit.autopsy.timeline.explorernodes.EventRootNode.

Public Member Functions

 DisplayableItemNode (Children children)
 
 DisplayableItemNode (Children children, Lookup lookup)
 
abstract< T > T accept (DisplayableItemNodeVisitor< T > visitor)
 
NodeSelectionInfo getChildNodeSelectionInfo ()
 
abstract String getItemType ()
 
abstract boolean isLeafTypeNode ()
 
void setChildNodeSelectionInfo (NodeSelectionInfo selectedChildNodeInfo)
 

Private Attributes

NodeSelectionInfo selectedChildNodeInfo
 

Detailed Description

An abstract base class for nodes that are eligible for display in the tree view or results view. Capabilitites of a DisplayableItemNode include accepting a DisplayableItemNodeVisitor, indicating whether or not the node is a leaf node, providing an item type string suitable for use as a key, and storing information about a child node that is to be selected if the node is selected in the tree view.

Definition at line 37 of file DisplayableItemNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.datamodel.DisplayableItemNode.DisplayableItemNode ( Children  children)

Constructs a node that is eligible for display in the tree view or results view. Capabilitites include accepting a DisplayableItemNodeVisitor, indicating whether or not the node is a leaf node, providing an item type string suitable for use as a key, and storing information about a child node that is to be selected if the node is selected in the tree view.

Parameters
childrenThe Children object for the node.

Definition at line 77 of file DisplayableItemNode.java.

org.sleuthkit.autopsy.datamodel.DisplayableItemNode.DisplayableItemNode ( Children  children,
Lookup  lookup 
)

Constructs a node that is eligible for display in the tree view or results view. Capabilitites include accepting a DisplayableItemNodeVisitor, indicating whether or not the node is a leaf node, providing an item type string suitable for use as a key, and storing information about a child node that is to be selected if the node is selected in the tree view.

Parameters
childrenThe Children object for the node.
lookupThe Lookup object for the node.

Definition at line 92 of file DisplayableItemNode.java.

Member Function Documentation

abstract <T> T org.sleuthkit.autopsy.datamodel.DisplayableItemNode.accept ( DisplayableItemNodeVisitor< T >  visitor)
abstract

Accepts a visitor DisplayableItemNodeVisitor that will perform an operation on this artifact type and return some object as the result of the operation.

Parameters
visitorThe visitor, where the type parameter of the visitor is the type of the object that will be returned as the result of the visit operation.
Returns
An object of type T.

Referenced by org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getActions(), and org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getPreferredAction().

NodeSelectionInfo org.sleuthkit.autopsy.datamodel.DisplayableItemNode.getChildNodeSelectionInfo ( )

Gets information about which child node of this node, if any, should be selected.

Returns
The child node selection information, or null if no child should be selected.

Definition at line 141 of file DisplayableItemNode.java.

References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo.

abstract String org.sleuthkit.autopsy.datamodel.DisplayableItemNode.getItemType ( )
abstract

Gets the item type string of the node, suitable for use as a key.

Returns
A String representing the item type of node.
abstract boolean org.sleuthkit.autopsy.datamodel.DisplayableItemNode.isLeafTypeNode ( )
abstract

Indicates whether or not the node is capable of having child nodes. Should only return true if the node is ALWAYS a leaf node.

Returns
True or false.

Referenced by org.sleuthkit.autopsy.directorytree.DirectoryTreeFilterChildren.IsLeafItemVisitor.defaultVisit().

void org.sleuthkit.autopsy.datamodel.DisplayableItemNode.setChildNodeSelectionInfo ( NodeSelectionInfo  selectedChildNodeInfo)

Adds information about which child node of this node, if any, should be selected. Can be null.

Parameters
selectedChildNodeInfoThe child node selection information.

Definition at line 130 of file DisplayableItemNode.java.

References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo.

Referenced by org.sleuthkit.autopsy.directorytree.ViewContextAction.actionPerformed(), and org.sleuthkit.autopsy.directorytree.DirectoryTreeTopComponent.viewArtifact().

Member Data Documentation

NodeSelectionInfo org.sleuthkit.autopsy.datamodel.DisplayableItemNode.selectedChildNodeInfo
private

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

Copyright © 2012-2016 Basis Technology. Generated on: Sat Nov 18 2017
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.