Autopsy  4.13.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public 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)
 
 DataResultFilterNode (Node node, ExplorerManager em)
 
Action[] getActions (boolean popup)
 
NodeSelectionInfo getChildNodeSelectionInfo ()
 
String getDisplayName ()
 
Action getPreferredAction ()
 
Node.PropertySet[] getPropertySets ()
 
void setChildNodeSelectionInfo (NodeSelectionInfo selectedChildNodeInfo)
 

Private Attributes

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

Static Private Attributes

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 90 of file DataResultFilterNode.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.directorytree.DataResultFilterNode.DataResultFilterNode ( Node  node)

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.

Definition at line 108 of file DataResultFilterNode.java.

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

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 121 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 135 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 230 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 202 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 157 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 217 of file DataResultFilterNode.java.

Member Data Documentation

final DisplayableItemNodeVisitor<List<Action> > org.sleuthkit.autopsy.directorytree.DataResultFilterNode.getActionsDIV = new GetPopupActionsDisplayableItemNodeVisitor()
staticprivate

Definition at line 94 of file DataResultFilterNode.java.

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

Definition at line 95 of file DataResultFilterNode.java.

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

Definition at line 92 of file DataResultFilterNode.java.

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

Definition at line 99 of file DataResultFilterNode.java.


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

Copyright © 2012-2019 Basis Technology. Generated on: Tue Jan 7 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.