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

Inherits CallableSystemAction, and Toolbar.

Public Member Functions

 CaseCloseAction ()
 
void actionPerformed (ActionEvent e)
 
HelpCtx getHelpCtx ()
 
String getName ()
 
Component getToolbarPresenter ()
 
void performAction ()
 
void setEnabled (boolean value)
 

Private Attributes

final JButton toolbarButton = new JButton()
 

Static Private Attributes

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

Detailed Description

The action associated with the Case/Close Case menu item and the Close Case toolbar button. It closes the current case and pops up the start up window that allows a user to open another case.

This action should only be invoked in the event dispatch thread (EDT).

Definition at line 54 of file CaseCloseAction.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.casemodule.CaseCloseAction.CaseCloseAction ( )

Constructs the action associated with the Case/Close Case menu item and the Close Case toolbar button.

Definition at line 64 of file CaseCloseAction.java.

Member Function Documentation

void org.sleuthkit.autopsy.casemodule.CaseCloseAction.actionPerformed ( ActionEvent  e)
HelpCtx org.sleuthkit.autopsy.casemodule.CaseCloseAction.getHelpCtx ( )

Gets the help context.

Returns
The help context.

Definition at line 131 of file CaseCloseAction.java.

String org.sleuthkit.autopsy.casemodule.CaseCloseAction.getName ( )

Gets the action name.

Returns
The action name.

Definition at line 121 of file CaseCloseAction.java.

Component org.sleuthkit.autopsy.casemodule.CaseCloseAction.getToolbarPresenter ( )

Returns the toolbar component of this action.

Returns
The toolbar button

Definition at line 141 of file CaseCloseAction.java.

void org.sleuthkit.autopsy.casemodule.CaseCloseAction.performAction ( )

Closes the current case.

Definition at line 111 of file CaseCloseAction.java.

void org.sleuthkit.autopsy.casemodule.CaseCloseAction.setEnabled ( boolean  value)

Set this action to be enabled/disabled

Parameters
valuewhether to enable this action or not

Definition at line 154 of file CaseCloseAction.java.

Member Data Documentation

final Logger org.sleuthkit.autopsy.casemodule.CaseCloseAction.logger = Logger.getLogger(CaseCloseAction.class.getName())
staticprivate

Definition at line 57 of file CaseCloseAction.java.

final long org.sleuthkit.autopsy.casemodule.CaseCloseAction.serialVersionUID = 1L
staticprivate

Definition at line 56 of file CaseCloseAction.java.

final JButton org.sleuthkit.autopsy.casemodule.CaseCloseAction.toolbarButton = new JButton()
private

Definition at line 58 of file CaseCloseAction.java.


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

Copyright © 2012-2022 Basis Technology. Generated on: Thu Sep 29 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.