org.sleuthkit.autopsy.corecomponentinterfaces/0 0.0 1

org.sleuthkit.autopsy.corecomponentinterfaces
Interface DataContentViewer


public interface DataContentViewer

Responsible for a tab in the DataContent component. Displays the contents of the node passed to setNode(ContentNode).


Method Summary
 java.awt.Component getComponent()
          Get Component to display this DataContentViewer
 DataContentViewer getInstance()
          Get new DataContentViewer instance.
 java.lang.String getTitle()
          Returns the title of this viewer.
 boolean isSupported(org.sleuthkit.autopsy.datamodel.ContentNode node)
          Checks whether the given node is supported by the viewer
 void resetComponent()
          Resets the component in this viewer.
 void setNode(org.sleuthkit.autopsy.datamodel.ContentNode selectedNode)
          Sets the node to display in the viewer.
 

Method Detail

setNode

void setNode(org.sleuthkit.autopsy.datamodel.ContentNode selectedNode)
Sets the node to display in the viewer. When called with null, must clear all references to previous nodes.


getTitle

java.lang.String getTitle()
Returns the title of this viewer.


getInstance

DataContentViewer getInstance()
Get new DataContentViewer instance.


getComponent

java.awt.Component getComponent()
Get Component to display this DataContentViewer


resetComponent

void resetComponent()
Resets the component in this viewer.


isSupported

boolean isSupported(org.sleuthkit.autopsy.datamodel.ContentNode node)
Checks whether the given node is supported by the viewer

Parameters:
node - Node to check for support
Returns:
True if supported, else false

org.sleuthkit.autopsy.corecomponentinterfaces/0 0.0 1