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

Static Public Member Functions

static void clear ()
 
static void error (String title, String message)
 
static void info (String title, String message)
 
static void show (String title, String message, MessageType type, ActionListener actionListener)
 
static void show (String title, final String message, final MessageType type)
 
static void warn (String title, String message)
 

Private Member Functions

 Notify ()
 

Static Private Member Functions

static String addTimeStampToTitle (String title)
 

Static Private Attributes

static final List< Notification > notifications = Collections.synchronizedList(new ArrayList<Notification>())
 
static final SimpleDateFormat TIME_STAMP_FORMAT = new SimpleDateFormat("MM/dd/yy HH:mm:ss z")
 

Detailed Description

Utility to display notifications with balloons

Definition at line 160 of file MessageNotifyUtil.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.Notify ( )
private

Definition at line 167 of file MessageNotifyUtil.java.

Member Function Documentation

static String org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.addTimeStampToTitle ( String  title)
staticprivate

Adds a time stamp prefix to the title of notifications so that they will be in order (they are sorted alphabetically) in the notifications area.

Parameters
titleA notification title without a time stamp prefix.
Returns
The notification title with a time stamp prefix.

Definition at line 250 of file MessageNotifyUtil.java.

Referenced by org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show().

static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.clear ( )
static

Clear pending notifications Should really only be used by Case

Definition at line 173 of file MessageNotifyUtil.java.

Referenced by org.sleuthkit.autopsy.casemodule.Case.doCaseChange().

static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error ( String  title,
String  message 
)
static
static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.info ( String  title,
String  message 
)
static
static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show ( String  title,
String  message,
MessageType  type,
ActionListener  actionListener 
)
static

Show message with the specified type and action listener

Parameters
titlemessage title
messagemessage text
typetype of the message
actionListeneraction listener

Definition at line 188 of file MessageNotifyUtil.java.

References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.addTimeStampToTitle(), and org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.MessageType.getIcon().

Referenced by org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.addHashDatabase(), org.sleuthkit.autopsy.casemodule.ImageFilePanel.browseButtonActionPerformed(), org.sleuthkit.autopsy.casemodule.ImageFilePanel.changedUpdate(), org.sleuthkit.autopsy.report.ReportGenerator.GeneralReportsWorker.done(), org.sleuthkit.autopsy.report.ReportGenerator.FileReportsWorker.done(), org.sleuthkit.autopsy.report.ReportGenerator.TableReportsWorker.done(), org.sleuthkit.autopsy.modules.hashdatabase.HashDbManager.HashDbIndexer.done(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), org.sleuthkit.autopsy.keywordsearch.KeywordSearch.fireNumIndexedFilesChange(), org.sleuthkit.autopsy.modules.stix.STIXReportModule.generateReport(), org.sleuthkit.autopsy.report.ReportGenerator.FileReportsWorker.getFiles(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.info(), org.sleuthkit.autopsy.casemodule.ImageFilePanel.insertUpdate(), org.sleuthkit.autopsy.casemodule.ImageFilePanel.removeUpdate(), org.sleuthkit.autopsy.modules.stix.STIXReportModule.saveResultsAsArtifacts(), org.sleuthkit.autopsy.casemodule.LocalDiskPanel.LocalDiskModel.setSelectedItem(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show(), and org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.warn().

static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show ( String  title,
final String  message,
final MessageType  type 
)
static

Show message with the specified type and a default action which displays the message using MessageNotifyUtil.Message with the same message type

Parameters
titlemessage title
messagemessage text
typetype of the message

Definition at line 203 of file MessageNotifyUtil.java.

References org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Message.show(), and org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.show().

static void org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.warn ( String  title,
String  message 
)
static

Member Data Documentation

final List<Notification> org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.notifications = Collections.synchronizedList(new ArrayList<Notification>())
staticprivate

Definition at line 165 of file MessageNotifyUtil.java.

final SimpleDateFormat org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.TIME_STAMP_FORMAT = new SimpleDateFormat("MM/dd/yy HH:mm:ss z")
staticprivate

Definition at line 162 of file MessageNotifyUtil.java.


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

Copyright © 2012-2015 Basis Technology. Generated on: Wed Apr 6 2016
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.