Autopsy  4.17.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

javax.swing.JPanel buttonBarPanel
 
int currentPage
 
int currentPageImages
 
javax.swing.JLabel filePathLabel
 
javax.swing.JTextField goToPageField
 
javax.swing.JLabel goToPageLabel
 
org.openide.explorer.view.IconView iconView
 
javax.swing.JPanel imagePane
 
javax.swing.JLabel imagesLabel
 
javax.swing.JLabel imagesRangeLabel
 
javax.swing.JPanel pageButtonPanel
 
javax.swing.JPanel pageGotoPane
 
javax.swing.JLabel pageLabel
 
javax.swing.JButton pageNextButton
 
javax.swing.JPanel pageNumberPane
 
javax.swing.JLabel pageNumLabel
 
javax.swing.JButton pagePrevButton
 
javax.swing.JLabel pagesLabel
 
javax.swing.JPanel pagesPanel
 
final PageUpdater pageUpdater = new PageUpdater()
 
TableFilterNode rootNode
 
ThumbnailViewChildren rootNodeChildren
 
NodeSelectionListener selectionListener
 
javax.swing.JButton sortButton
 
javax.swing.JLabel sortLabel
 
javax.swing.JPanel sortPane
 
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 76 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 96 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 114 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 514 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 500 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 495 of file DataResultViewerThumbnail.java.

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

Definition at line 534 of file DataResultViewerThumbnail.java.

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

Definition at line 351 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 140 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 449 of file DataResultViewerThumbnail.java.

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

Definition at line 520 of file DataResultViewerThumbnail.java.

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

Definition at line 347 of file DataResultViewerThumbnail.java.

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

Definition at line 343 of file DataResultViewerThumbnail.java.

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

Definition at line 527 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 505 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 454 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 385 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 610 of file DataResultViewerThumbnail.java.

Member Data Documentation

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.buttonBarPanel
private

Definition at line 425 of file DataResultViewerThumbnail.java.

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

Definition at line 84 of file DataResultViewerThumbnail.java.

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

Definition at line 86 of file DataResultViewerThumbnail.java.

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

Definition at line 426 of file DataResultViewerThumbnail.java.

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

Definition at line 427 of file DataResultViewerThumbnail.java.

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

Definition at line 428 of file DataResultViewerThumbnail.java.

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

Definition at line 429 of file DataResultViewerThumbnail.java.

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.imagePane
private

Definition at line 430 of file DataResultViewerThumbnail.java.

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

Definition at line 431 of file DataResultViewerThumbnail.java.

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

Definition at line 432 of file DataResultViewerThumbnail.java.

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

Definition at line 79 of file DataResultViewerThumbnail.java.

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pageButtonPanel
private

Definition at line 433 of file DataResultViewerThumbnail.java.

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pageGotoPane
private

Definition at line 434 of file DataResultViewerThumbnail.java.

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

Definition at line 435 of file DataResultViewerThumbnail.java.

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

Definition at line 436 of file DataResultViewerThumbnail.java.

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pageNumberPane
private

Definition at line 438 of file DataResultViewerThumbnail.java.

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

Definition at line 437 of file DataResultViewerThumbnail.java.

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

Definition at line 439 of file DataResultViewerThumbnail.java.

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

Definition at line 440 of file DataResultViewerThumbnail.java.

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.pagesPanel
private

Definition at line 441 of file DataResultViewerThumbnail.java.

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

Definition at line 80 of file DataResultViewerThumbnail.java.

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

Definition at line 81 of file DataResultViewerThumbnail.java.

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

Definition at line 82 of file DataResultViewerThumbnail.java.

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

Definition at line 83 of file DataResultViewerThumbnail.java.

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

Definition at line 78 of file DataResultViewerThumbnail.java.

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

Definition at line 442 of file DataResultViewerThumbnail.java.

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

Definition at line 443 of file DataResultViewerThumbnail.java.

javax.swing.JPanel org.sleuthkit.autopsy.corecomponents.DataResultViewerThumbnail.sortPane
private

Definition at line 444 of file DataResultViewerThumbnail.java.

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

Definition at line 445 of file DataResultViewerThumbnail.java.

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

Definition at line 87 of file DataResultViewerThumbnail.java.

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

Definition at line 85 of file DataResultViewerThumbnail.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Tue Jan 19 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.