Autopsy  4.10.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.directorytree.DataResultFilterNode Class Reference

Inherits FilterNode.

Classes

class  DataResultFilterChildren
 
class  GetPopupActionsDisplayableItemNodeVisitor
 
class  GetPreferredActionsDisplayableItemNodeVisitor
 

Public Member Functions

 DataResultFilterNode (Node node, ExplorerManager em)
 
Action[] getActions (boolean popup)
 
NodeSelectionInfo getChildNodeSelectionInfo ()
 
String getDisplayName ()
 
Action getPreferredAction ()
 
Node.PropertySet[] getPropertySets ()
 
void setChildNodeSelectionInfo (NodeSelectionInfo selectedChildNodeInfo)
 

Private Member Functions

 DataResultFilterNode (Node node, ExplorerManager em, boolean filterKnown, boolean filterSlack)
 

Private Attributes

final DisplayableItemNodeVisitor< AbstractAction > getPreferredActionsDIV = new GetPreferredActionsDisplayableItemNodeVisitor()
 
final ExplorerManager sourceEm
 

Static Private Attributes

static boolean filterKnownFromDataSources = UserPreferences.hideKnownFilesInDataSourcesTree()
 
static boolean filterKnownFromViews = UserPreferences.hideKnownFilesInViewsTree()
 
static boolean filterSlackFromDataSources = UserPreferences.hideSlackFilesInDataSourcesTree()
 
static boolean filterSlackFromViews = UserPreferences.hideSlackFilesInViewsTree()
 
static final DisplayableItemNodeVisitor< List< Action > > getActionsDIV = new GetPopupActionsDisplayableItemNodeVisitor()
 
static final Logger LOGGER = Logger.getLogger(DataResultFilterNode.class.getName())
 

Detailed Description

A node used to wrap another node before passing it to the result viewers. The wrapper node defines the actions associated with the wrapped node and may filter out some of its children.

Definition at line 95 of file DataResultFilterNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.directorytree.DataResultFilterNode.DataResultFilterNode ( Node  node,
ExplorerManager  em 
)

Constructs a node used to wrap another node before passing it to the result viewers. The wrapper node defines the actions associated with the wrapped node and may filter out some of its children.

Parameters
nodeThe node to wrap.
emThe ExplorerManager for the component that is creating the node.

Definition at line 140 of file DataResultFilterNode.java.

Referenced by org.sleuthkit.autopsy.directorytree.DataResultFilterNode.DataResultFilterChildren.createNodes().

org.sleuthkit.autopsy.directorytree.DataResultFilterNode.DataResultFilterNode ( Node  node,
ExplorerManager  em,
boolean  filterKnown,
boolean  filterSlack 
)
private

Constructs a node used to wrap another node before passing it to the result viewers. The wrapper node defines the actions associated with the wrapped node and may filter out some of its children.

Parameters
nodeThe node to wrap.
emThe ExplorerManager for the component that is creating the node.
filterKnownWhether or not to filter out children that represent known files.
filterSlackWhether or not to filter out children that represent virtual slack space files.

Definition at line 158 of file DataResultFilterNode.java.

Member Function Documentation

Action [] org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getActions ( boolean  popup)

Right click action for the nodes that we want to pass to the directory table and the output view.

Parameters
popup
Returns
actions

Definition at line 172 of file DataResultFilterNode.java.

References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.accept().

NodeSelectionInfo org.sleuthkit.autopsy.directorytree.DataResultFilterNode.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 268 of file DataResultFilterNode.java.

String org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getDisplayName ( )

Gets the display name for the wrapped node.

OutlineView used in the DataResult table uses getDisplayName() to populate the first column, which is Source File.

Hence this override to return the 'correct' displayName for the wrapped node.

Returns
The display name for the node.

Definition at line 240 of file DataResultFilterNode.java.

Action org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getPreferredAction ( )

Double click action for the nodes that we want to pass to the directory table and the output view.

Returns
action

Definition at line 193 of file DataResultFilterNode.java.

References org.sleuthkit.autopsy.datamodel.DisplayableItemNode.accept().

Node.PropertySet [] org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getPropertySets ( )
void org.sleuthkit.autopsy.directorytree.DataResultFilterNode.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 255 of file DataResultFilterNode.java.

Member Data Documentation

boolean org.sleuthkit.autopsy.directorytree.DataResultFilterNode.filterKnownFromDataSources = UserPreferences.hideKnownFilesInDataSourcesTree()
staticprivate
boolean org.sleuthkit.autopsy.directorytree.DataResultFilterNode.filterKnownFromViews = UserPreferences.hideKnownFilesInViewsTree()
staticprivate
boolean org.sleuthkit.autopsy.directorytree.DataResultFilterNode.filterSlackFromDataSources = UserPreferences.hideSlackFilesInDataSourcesTree()
staticprivate
boolean org.sleuthkit.autopsy.directorytree.DataResultFilterNode.filterSlackFromViews = UserPreferences.hideSlackFilesInViewsTree()
staticprivate
final DisplayableItemNodeVisitor<List<Action> > org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getActionsDIV = new GetPopupActionsDisplayableItemNodeVisitor()
staticprivate

Definition at line 126 of file DataResultFilterNode.java.

final DisplayableItemNodeVisitor<AbstractAction> org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getPreferredActionsDIV = new GetPreferredActionsDisplayableItemNodeVisitor()
private

Definition at line 127 of file DataResultFilterNode.java.

final Logger org.sleuthkit.autopsy.directorytree.DataResultFilterNode.LOGGER = Logger.getLogger(DataResultFilterNode.class.getName())
staticprivate

Definition at line 97 of file DataResultFilterNode.java.

final ExplorerManager org.sleuthkit.autopsy.directorytree.DataResultFilterNode.sourceEm
private

Definition at line 129 of file DataResultFilterNode.java.


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

Copyright © 2012-2018 Basis Technology. Generated on: Fri Mar 22 2019
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.