Autopsy  4.4
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 ()
 
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 80 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 125 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 143 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 157 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 232 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 178 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 219 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 111 of file DataResultFilterNode.java.

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

Definition at line 112 of file DataResultFilterNode.java.

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

Definition at line 82 of file DataResultFilterNode.java.

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

Definition at line 114 of file DataResultFilterNode.java.


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

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