Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits org.sleuthkit.autopsy.progress.ProgressIndicator.
Public Member Functions | |
AppFrameProgressBar (String displayName) | |
void | finish () |
void | progress (String message) |
void | progress (int workUnitsCompleted) |
void | progress (String message, int workUnitsCompleted) |
void | setCancellationBehavior (Cancellable cancellationBehavior) |
void | setCancelling (String cancellingMessage) |
void | start (String message, int totalWorkUnits) |
void | start (String message) |
void | switchToDeterminate (String message, int workUnitsCompleted, int totalWorkUnits) |
void | switchToIndeterminate (String message) |
Private Attributes | |
Cancellable | cancellationBehavior |
volatile boolean | cancelling |
final String | displayName |
ProgressHandle | progressHandle |
A progress indicator that displays progress using a progress bar in the lower right hand corner of the application main frame, i.e., a NetBeans ProgressHandle.
Definition at line 29 of file AppFrameProgressBar.java.
org.sleuthkit.autopsy.progress.AppFrameProgressBar.AppFrameProgressBar | ( | String | displayName | ) |
Constructs a progress indicator that displays progress using a progress bar in the lower right hand corner of the application main frame, i.e., a NetBeans ProgressHandle.
displayName | The display name for the progress bar (a fixed name that appears above the current progress message). |
Definition at line 44 of file AppFrameProgressBar.java.
References org.sleuthkit.autopsy.progress.AppFrameProgressBar.displayName.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.finish | ( | ) |
Finishes the progress indicator when the task is completed.
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 120 of file AppFrameProgressBar.java.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.progress | ( | String | message | ) |
Updates the progress indicator with a progress message.
message | The progress message. |
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 92 of file AppFrameProgressBar.java.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.progress | ( | int | workUnitsCompleted | ) |
Updates the progress indicator with the number of work units completed so far when in determinate mode (the total number of work units to be completed is known).
workUnitsCompleted | Number of work units completed so far. |
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 99 of file AppFrameProgressBar.java.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.progress | ( | String | message, |
int | workUnitsCompleted | ||
) |
Updates the progress indicator with a progress message and the number of work units completed so far when in determinate mode (the total number of work units to be completed is known).
message | The progress message. |
workUnitsCompleted | Number of work units completed so far. |
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 106 of file AppFrameProgressBar.java.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.setCancellationBehavior | ( | Cancellable | cancellationBehavior | ) |
Sets the cancellation behavior that should happen when a user clicks on the "x" button of the progress bar.
cancellationBehavior | A org.openide.util.Cancellable that implements the desired cancellation behavior. |
Definition at line 55 of file AppFrameProgressBar.java.
References org.sleuthkit.autopsy.progress.AppFrameProgressBar.cancellationBehavior.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.setCancelling | ( | String | cancellingMessage | ) |
If the progress indicator supports cancelling the underlying task, sets a cancelling message and causes the progress indicator to no longer accept updates unless start is called again.
The default implementation assumes that cancelling the underlying task is not supported.
cancellingMessage | The cancelling messages. |
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 113 of file AppFrameProgressBar.java.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.start | ( | String | message, |
int | totalWorkUnits | ||
) |
Starts the progress indicator in determinate mode (the total number of work units to be completed is known).
message | The initial progress message. |
totalWorkUnits | The total number of work units. |
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 60 of file AppFrameProgressBar.java.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.start | ( | String | message | ) |
Starts the progress indicator in indeterminate mode (the total number of work units to be completed is unknown).
message | The initial progress message. |
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 68 of file AppFrameProgressBar.java.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.switchToDeterminate | ( | String | message, |
int | workUnitsCompleted, | ||
int | totalWorkUnits | ||
) |
Switches the progress indicator to determinate mode (the total number of work units to be completed is known).
message | The initial progress message. |
workUnitsCompleted | The number of work units completed so far. |
totalWorkUnits | The total number of work units to be completed. |
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 84 of file AppFrameProgressBar.java.
void org.sleuthkit.autopsy.progress.AppFrameProgressBar.switchToIndeterminate | ( | String | message | ) |
Switches the progress indicator to indeterminate mode (the total number of work units to be completed is unknown).
message | The initial progress message. |
Implements org.sleuthkit.autopsy.progress.ProgressIndicator.
Definition at line 76 of file AppFrameProgressBar.java.
|
private |
Definition at line 32 of file AppFrameProgressBar.java.
Referenced by org.sleuthkit.autopsy.progress.AppFrameProgressBar.setCancellationBehavior().
|
private |
Definition at line 34 of file AppFrameProgressBar.java.
|
private |
Definition at line 31 of file AppFrameProgressBar.java.
Referenced by org.sleuthkit.autopsy.progress.AppFrameProgressBar.AppFrameProgressBar().
|
private |
Definition at line 33 of file AppFrameProgressBar.java.
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.