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

Inherits org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.

Public Member Functions

 CommonAttributesSearchResultsViewerTable ()
void clearComponent ()
DataResultViewer createInstance ()
default void expandNode (Node node)
Component getComponent ()
ExplorerManager getExplorerManager ()
String getTitle ()
boolean isSupported (Node candidateRootNode)
default void resetComponent ()
default void setContentViewer (DataContent contentViewer)
void setNode (Node rootNode)
void setSelectedNodes (Node[] selected)

Protected Member Functions

void addTreeExpansionListener (TreeExpansionListener listener)
TableColumnModel getColumnModel ()
void setColumnWidths ()

Static Private Attributes

static final Map< String, Integer > COLUMN_WIDTHS
static final int DEFAULT_WIDTH = 100
static final Logger LOGGER = Logger.getLogger(CommonAttributesSearchResultsViewerTable.class.getName())
static final long serialVersionUID = 1L

Detailed Description

DataResultViewerTable which overrides the default column header width calculations. The CommonAttributesSearchResultsViewerTable presents multiple tiers of data which are not always present and it may not make sense to try to calculate the column widths for such tables by sampling rows and looking for wide cells. Rather, we just pick some reasonable values.

Definition at line 41 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributesSearchResultsViewerTable.CommonAttributesSearchResultsViewerTable ( )

Implements a DataResultViewerTable which constructs a tabular result viewer that displays the children of the given root node using an OutlineView. The explorer manager will be discovered at runtime.

Adds a TreeExpansionsListener to the outlineView to receive tree expansion events which dynamically loads children nodes when requested.

Definition at line 75 of file

References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.addTreeExpansionListener().

Member Function Documentation

void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.addTreeExpansionListener ( TreeExpansionListener  listener)

Adds a tree expansion listener to the OutlineView of this tabular results viewer.

listenerThe listener

Definition at line 391 of file

Referenced by org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributesSearchResultsViewerTable.CommonAttributesSearchResultsViewerTable().

void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.clearComponent ( )

Frees the resources that have been allocated by this tabular results viewer, in preparation for permanently disposing of it.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 830 of file

DataResultViewer org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.createInstance ( )

Creates a new instance of a tabular result viewer that displays the children of a given root node using an OutlineView. This method exists to make it possible to use the default service provider instance of this class in the "main" results view of the application, while using distinct instances in other places in the UI.

A new instance of a tabular result viewer,

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 254 of file

default void org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.expandNode ( Node  node)

Sets the node for which this result viewer should provide a view of the underlying application data model object, and expands the node.

nodeThe node.
This API is not used by the application.

Definition at line 126 of file

TableColumnModel org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getColumnModel ( )
Component org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getComponent ( )

Gets the Swing component for this viewer.

The component.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 87 of file

ExplorerManager org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getExplorerManager ( )
String org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.getTitle ( )

Gets the title of this tabular result viewer.

title of tab.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 265 of file

boolean org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.isSupported ( Node  candidateRootNode)

Indicates whether a given node is supported as a root node for this tabular viewer.

candidateRootNodeThe candidate root node.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 278 of file

default void org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.resetComponent ( )

Resets the state of the Swing component for this viewer to its default state.

Implemented in org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.

Definition at line 107 of file

void org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributesSearchResultsViewerTable.setColumnWidths ( )
default void org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.setContentViewer ( DataContent  contentViewer)

Sets a custom content viewer to which nodes selected in this result viewer should be pushed via DataContent.setNode.

contentViewerThe content viewer.
This API is not used by the application.

Definition at line 138 of file

void org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.setNode ( Node  rootNode)

Sets the current root node of this tabular result viewer.

rootNodeThe node to set as the current root node, possibly null.

Check to see if we have previously created a paging support class for this node.

This is the only somewhat reliable way I could find to reset the cursor after a page change. When you change page the old children nodes will be removed and new ones added.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 289 of file

References org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.TableListener.listenToVisibilityChanges(), and org.sleuthkit.autopsy.corecomponents.DataResultViewerTable.PagingSupport.updateControls().

void org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.setSelectedNodes ( Node[]  selectedNodes)

Requests selection of the given child nodes of the node passed to setNode. This method should be implemented as a no-op for result viewers that do not display the child nodes of a given root node using a NetBeans explorer view set up to use a given explorer manager.

selectedNodesThe child nodes to select.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 78 of file

References org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getExplorerManager().

Member Data Documentation

final Map<String, Integer> org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributesSearchResultsViewerTable.COLUMN_WIDTHS
final int org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributesSearchResultsViewerTable.DEFAULT_WIDTH = 100
final Logger org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributesSearchResultsViewerTable.LOGGER = Logger.getLogger(CommonAttributesSearchResultsViewerTable.class.getName())
final long org.sleuthkit.autopsy.commonpropertiessearch.CommonAttributesSearchResultsViewerTable.serialVersionUID = 1L

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

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