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

Inherits org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.

Classes

class  NodeSelectionListener
 
class  PageUpdater
 

Public Member Functions

 DataResultViewerThumbnail ()
 
 DataResultViewerThumbnail (ExplorerManager explorerManager)
 
void clearComponent ()
 
DataResultViewer createInstance ()
 
default void expandNode (Node node)
 
Component getComponent ()
 
ExplorerManager getExplorerManager ()
 
String getTitle ()
 
boolean isSupported (Node selectedNode)
 
void resetComponent ()
 
default void setContentViewer (DataContent contentViewer)
 
void setNode (Node givenNode)
 
void setSelectedNodes (Node[] selected)
 

Private Member Functions

void goToPage (String pageNumText)
 
void goToPageFieldActionPerformed (java.awt.event.ActionEvent evt)
 
void initComponents ()
 
void nextPage ()
 
void pageNextButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void pagePrevButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void previousPage ()
 
void sortButtonActionPerformed (java.awt.event.ActionEvent evt)
 
void switchPage ()
 
void thumbnailSizeComboBoxActionPerformed (java.awt.event.ActionEvent evt)
 
void updateControls ()
 

Private Attributes

int currentPage
 
int currentPageImages
 
javax.swing.JLabel filePathLabel
 
javax.swing.JTextField goToPageField
 
javax.swing.JLabel goToPageLabel
 
org.openide.explorer.view.IconView iconView
 
javax.swing.JLabel imagesLabel
 
javax.swing.JLabel imagesRangeLabel
 
javax.swing.JLabel pageLabel
 
javax.swing.JButton pageNextButton
 
javax.swing.JLabel pageNumLabel
 
javax.swing.JButton pagePrevButton
 
javax.swing.JLabel pagesLabel
 
final PageUpdater pageUpdater = new PageUpdater()
 
TableFilterNode rootNode
 
ThumbnailViewChildren rootNodeChildren
 
NodeSelectionListener selectionListener
 
javax.swing.JButton sortButton
 
javax.swing.JLabel sortLabel
 
javax.swing.JComboBox< String > thumbnailSizeComboBox
 
int thumbSize = ImageUtils.ICON_SIZE_MEDIUM
 
int totalPages
 

Static Private Attributes

static final Logger logger = Logger.getLogger(DataResultViewerThumbnail.class.getName())
 
static final long serialVersionUID = 1L
 

Detailed Description

A thumbnail result viewer, with paging support, that displays the children of the given root node using an IconView. The paging is intended to reduce memory footprint by loading no more than two humdred images at a time.

Instances of this class should use the explorer manager of an ancestor top component to connect the lookups of the nodes displayed in the IconView to the actions global context. The explorer manager can be supplied during construction, but the typical use case is for the result viewer to find the ancestor top component's explorer manager at runtime.

Definition at line 75 of file DataResultViewerThumbnail.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.DataResultViewerThumbnail ( )

Constructs a thumbnail result viewer, with paging support, that displays the children of the given root node using an IconView. The viewer should have an ancestor top component to connect the lookups of the nodes displayed in the IconView to the actions global context. The explorer manager will be discovered at runtime.

Definition at line 95 of file DataResultViewerThumbnail.java.

org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.DataResultViewerThumbnail ( ExplorerManager  explorerManager)

Constructs a thumbnail result viewer, with paging support, that displays the children of the given root node using an IconView. The viewer should have an ancestor top component to connect the lookups of the nodes displayed in the IconView to the actions global context.

Parameters
explorerManagerThe explorer manager of the ancestor top component.

Definition at line 113 of file DataResultViewerThumbnail.java.

Member Function Documentation

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

Frees any resources tha have been allocated by this result viewer, in preparation for permanently disposing of it.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 434 of file DataResultViewerThumbnail.java.

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

Creates a new instance of this result viewer, which allows the application to use the capability provided by this result viewer in more than one result view. This is done by using the default instance of this result viewer as a "factory" for creating other instances.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 420 of file DataResultViewerThumbnail.java.

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

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

Parameters
nodeThe node.
Deprecated:
This API is not used by the application.

Definition at line 126 of file DataResultViewer.java.

Component org.sleuthkit.autopsy.corecomponents.AbstractDataResultViewer.getComponent ( )
inherited

Gets the Swing component for this viewer.

Returns
The component.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 87 of file AbstractDataResultViewer.java.

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

Gets the title of this result viewer.

Returns
The title.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 415 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.goToPage ( String  pageNumText)
private

Definition at line 454 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.goToPageFieldActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 284 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.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 134 of file DataResultViewerThumbnail.java.

boolean org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.isSupported ( Node  node)

Indicates whether this result viewer is able to provide a meaningful view of the application data represented by a given node. Typically, indicates whether or not this result viewer can use the given node as the root node of its child explorer view component.

Parameters
nodeThe node.
Returns
True or false.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 375 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.nextPage ( )
private

Definition at line 440 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pageNextButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 280 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pagePrevButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 276 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.previousPage ( )
private

Definition at line 447 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.resetComponent ( )

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

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 425 of file DataResultViewerThumbnail.java.

default void org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.setContentViewer ( DataContent  contentViewer)
inherited

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

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

Definition at line 138 of file DataResultViewer.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.setNode ( Node  node)

Sets the node for which this result viewer should provide a view of the underlying application data. Typically, this means using the given node as the root node of this result viewer's child explorer view component.

Parameters
nodeThe node, may be null. If null, the call to this method is equivalent to a call to resetComponent.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 380 of file DataResultViewerThumbnail.java.

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

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.

Parameters
selectedNodesThe child nodes to select.

Implements org.sleuthkit.autopsy.corecomponentinterfaces.DataResultViewer.

Definition at line 78 of file AbstractDataResultViewer.java.

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

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.sortButtonActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 318 of file DataResultViewerThumbnail.java.

void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.switchPage ( )
private
void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.thumbnailSizeComboBoxActionPerformed ( java.awt.event.ActionEvent  evt)
private
void org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.updateControls ( )
private

Definition at line 530 of file DataResultViewerThumbnail.java.

Member Data Documentation

int org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.currentPage
private

Definition at line 83 of file DataResultViewerThumbnail.java.

int org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.currentPageImages
private

Definition at line 85 of file DataResultViewerThumbnail.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.filePathLabel
private

Definition at line 358 of file DataResultViewerThumbnail.java.

javax.swing.JTextField org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.goToPageField
private

Definition at line 359 of file DataResultViewerThumbnail.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.goToPageLabel
private

Definition at line 360 of file DataResultViewerThumbnail.java.

org.openide.explorer.view.IconView org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.iconView
private

Definition at line 361 of file DataResultViewerThumbnail.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.imagesLabel
private

Definition at line 362 of file DataResultViewerThumbnail.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.imagesRangeLabel
private

Definition at line 363 of file DataResultViewerThumbnail.java.

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

Definition at line 78 of file DataResultViewerThumbnail.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pageLabel
private

Definition at line 364 of file DataResultViewerThumbnail.java.

javax.swing.JButton org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pageNextButton
private

Definition at line 365 of file DataResultViewerThumbnail.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pageNumLabel
private

Definition at line 366 of file DataResultViewerThumbnail.java.

javax.swing.JButton org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pagePrevButton
private

Definition at line 367 of file DataResultViewerThumbnail.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pagesLabel
private

Definition at line 368 of file DataResultViewerThumbnail.java.

final PageUpdater org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pageUpdater = new PageUpdater()
private

Definition at line 79 of file DataResultViewerThumbnail.java.

TableFilterNode org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.rootNode
private

Definition at line 80 of file DataResultViewerThumbnail.java.

ThumbnailViewChildren org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.rootNodeChildren
private

Definition at line 81 of file DataResultViewerThumbnail.java.

NodeSelectionListener org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.selectionListener
private

Definition at line 82 of file DataResultViewerThumbnail.java.

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

Definition at line 77 of file DataResultViewerThumbnail.java.

javax.swing.JButton org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.sortButton
private

Definition at line 369 of file DataResultViewerThumbnail.java.

javax.swing.JLabel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.sortLabel
private

Definition at line 370 of file DataResultViewerThumbnail.java.

javax.swing.JComboBox<String> org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.thumbnailSizeComboBox
private

Definition at line 371 of file DataResultViewerThumbnail.java.

int org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.thumbSize = ImageUtils.ICON_SIZE_MEDIUM
private

Definition at line 86 of file DataResultViewerThumbnail.java.

int org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.totalPages
private

Definition at line 84 of file DataResultViewerThumbnail.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.