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

Inherits TopComponent, org.sleuthkit.autopsy.corecomponentinterfaces.DataContent, and Provider.

Public Member Functions

boolean canClose ()
 
void componentClosed ()
 
void componentOpened ()
 
ExplorerManager getExplorerManager ()
 
int getPersistenceType ()
 
JTabbedPane getTabPanels ()
 
void propertyChange (PropertyChangeEvent evt)
 
void setNode (Node selectedNode)
 

Static Public Member Functions

static DataContentTopComponent createUndocked (String filePath, Node givenNode)
 
static synchronized DataContentTopComponent findInstance ()
 
static synchronized DataContentTopComponent getDefault ()
 
static List< DataContentTopComponentgetNewWindowList ()
 

Protected Member Functions

String preferredID ()
 

Private Member Functions

 DataContentTopComponent (boolean isDefault, String name)
 
void initComponents ()
 

Private Attributes

final DataContentPanel dataContentPanel
 
final ExplorerManager explorerManager = new ExplorerManager()
 
final boolean isDefault
 
Node selectedNode
 

Static Private Attributes

static final String DEFAULT_NAME = NbBundle.getMessage(DataContentTopComponent.class, "CTL_DataContentTopComponent")
 
static DataContentTopComponent defaultInstance
 
static final Logger logger = Logger.getLogger(DataContentTopComponent.class.getName())
 
static final ArrayList< DataContentTopComponentnewWindowList = new ArrayList<>()
 
static final String PREFERRED_ID = "DataContentTopComponent"
 
static final long serialVersionUID = 1L
 
static final String TOOLTIP_TEXT = NbBundle.getMessage(DataContentTopComponent.class, "HINT_DataContentTopComponent")
 

Detailed Description

Top component that organizes all of the data content viewers. Doing a lookup on this class will always return the default instance (which is created at startup).

Definition at line 47 of file DataContentTopComponent.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.DataContentTopComponent ( boolean  isDefault,
String  name 
)
private

Definition at line 68 of file DataContentTopComponent.java.

Member Function Documentation

boolean org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.canClose ( )
void org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.componentClosed ( )
void org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.componentOpened ( )
static DataContentTopComponent org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.createUndocked ( String  filePath,
Node  givenNode 
)
static

This createInstance method is used to create an undocked instance for the "View in New Window" feature.

Parameters
filePathpath of given file node
givenNodenode to view content of
Returns
newly undocked instance

Definition at line 93 of file DataContentTopComponent.java.

References org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.componentOpened(), and org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.setNode().

Referenced by org.sleuthkit.autopsy.directorytree.NewWindowViewAction.actionPerformed().

static synchronized DataContentTopComponent org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.findInstance ( )
static
static synchronized DataContentTopComponent org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.getDefault ( )
static

Gets default instance. Do not use directly: reserved for *.settings files only, i.e. deserialization routines; otherwise you could get a non-deserialized defaultInstance. To obtain the singleton instance, use findInstance.

Returns

Definition at line 112 of file DataContentTopComponent.java.

Referenced by org.sleuthkit.autopsy.directorytree.NewWindowViewAction.actionPerformed(), org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.findInstance(), and org.sleuthkit.autopsy.corecomponentinterfaces.CoreComponentControl.openCoreWindows().

ExplorerManager org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.getExplorerManager ( )

Definition at line 141 of file DataContentTopComponent.java.

static List<DataContentTopComponent> org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.getNewWindowList ( )
static

Returns a list of the non-default (main) TopComponents

Returns

Definition at line 223 of file DataContentTopComponent.java.

int org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.getPersistenceType ( )

Definition at line 146 of file DataContentTopComponent.java.

JTabbedPane org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.getTabPanels ( )

Get the tab pane

Returns
tab pane with individual DataContentViewers

Definition at line 214 of file DataContentTopComponent.java.

References org.sleuthkit.autopsy.corecomponents.DataContentPanel.getTabPanels().

void org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.initComponents ( )
private

This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.

Definition at line 233 of file DataContentTopComponent.java.

String org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.preferredID ( )
protected

Definition at line 165 of file DataContentTopComponent.java.

void org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.propertyChange ( PropertyChangeEvent  evt)

Definition at line 197 of file DataContentTopComponent.java.

void org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.setNode ( Node  selectedNode)

Member Data Documentation

final DataContentPanel org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.dataContentPanel
private

Definition at line 57 of file DataContentTopComponent.java.

final String org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.DEFAULT_NAME = NbBundle.getMessage(DataContentTopComponent.class, "CTL_DataContentTopComponent")
staticprivate

Definition at line 65 of file DataContentTopComponent.java.

DataContentTopComponent org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.defaultInstance
staticprivate

Definition at line 52 of file DataContentTopComponent.java.

final ExplorerManager org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.explorerManager = new ExplorerManager()
private

Definition at line 58 of file DataContentTopComponent.java.

final boolean org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.isDefault
private

Definition at line 55 of file DataContentTopComponent.java.

final Logger org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.logger = Logger.getLogger(DataContentTopComponent.class.getName())
staticprivate

Definition at line 49 of file DataContentTopComponent.java.

final ArrayList<DataContentTopComponent> org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.newWindowList = new ArrayList<>()
staticprivate

Definition at line 63 of file DataContentTopComponent.java.

final String org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.PREFERRED_ID = "DataContentTopComponent"
staticprivate

Definition at line 64 of file DataContentTopComponent.java.

Node org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.selectedNode
private

Definition at line 60 of file DataContentTopComponent.java.

final long org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.serialVersionUID = 1L
staticprivate

Definition at line 53 of file DataContentTopComponent.java.

final String org.sleuthkit.autopsy.corecomponents.DataContentTopComponent.TOOLTIP_TEXT = NbBundle.getMessage(DataContentTopComponent.class, "HINT_DataContentTopComponent")
staticprivate

Definition at line 66 of file DataContentTopComponent.java.


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

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