Autopsy  4.10.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory Class Reference

Inherits Detachable< Object >.

Public Member Functions

void refreshChildren ()
 

Protected Member Functions

void addNotify ()
 
boolean createKeys (List< Object > list)
 
Node createNodeForKey (Object key)
 
void removeNotify ()
 

Private Attributes

final PropertyChangeListener pcl
 

Static Private Attributes

static final Logger logger = Logger.getLogger(AutopsyTreeChildFactory.class.getName())
 

Detailed Description

Child factory to create the top level children of the autopsy tree

Definition at line 47 of file AutopsyTreeChildFactory.java.

Member Function Documentation

void org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.addNotify ( )
protected
boolean org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.createKeys ( List< Object >  list)
protected

Creates keys for the top level children.

Parameters
listlist of keys created
Returns
true, indicating that the key list is complete

Definition at line 84 of file AutopsyTreeChildFactory.java.

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

Node org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.createNodeForKey ( Object  key)
protected

Creates nodes for the top level Key

Parameters
key
Returns
Node for the key, null if key is unknown.

Definition at line 135 of file AutopsyTreeChildFactory.java.

void org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.refreshChildren ( )
void org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.removeNotify ( )
protected

Member Data Documentation

final Logger org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.logger = Logger.getLogger(AutopsyTreeChildFactory.class.getName())
staticprivate

Definition at line 49 of file AutopsyTreeChildFactory.java.

final PropertyChangeListener org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.pcl
private
Initial value:
= new PropertyChangeListener() {
@Override
public void propertyChange(PropertyChangeEvent evt) {
String eventType = evt.getPropertyName();
if (eventType.equals(Case.Events.DATA_SOURCE_ADDED.toString()) &&
Objects.equals(CasePreferences.getGroupItemsInTreeByDataSource(), true)) {
}
}
}

Listener for handling DATA_SOURCE_ADDED events.

Definition at line 54 of file AutopsyTreeChildFactory.java.

Referenced by org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.addNotify(), and org.sleuthkit.autopsy.datamodel.AutopsyTreeChildFactory.removeNotify().


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.