Autopsy
4.15.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Rectangle.
Public Member Functions | |
ImageTagCreator (ImageView image) | |
void | addNewTagListener (PropertyChangeListener listener) |
void | disconnect () |
Private Member Functions | |
void | defaultSettings () |
Private Attributes | |
final Runnable | disconnectRunnable |
final double | minArea |
final EventHandler< MouseEvent > | mouseDragged |
final EventHandler< MouseEvent > | mousePressed |
final EventHandler< MouseEvent > | mouseReleased |
final PropertyChangeSupport | pcs = new PropertyChangeSupport(this) |
double | rectangleOriginX |
Static Private Attributes | |
static final double | LINE_THICKNESS_PERCENT = 1.5 |
Creates image tags. This class attaches itself to a source image, waiting for mouse press, mouse drag, and mouse release events. Upon a mouse release event, any listeners are updated with the portable description of the new tag boundaries (ImageTagRegion).
Definition at line 36 of file ImageTagCreator.java.
org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.ImageTagCreator | ( | ImageView | image | ) |
Adds tagging support to an image, where the 'tag' rectangle will be the specified color.
image | Image to tag |
Ensure the rectangle is contained within image boundaries and that the line thickness is kept within bounds.
Definition at line 64 of file ImageTagCreator.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.defaultSettings(), and org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.rectangleOriginX.
void org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.addNewTagListener | ( | PropertyChangeListener | listener | ) |
Registers a PCL for new tag events. Listeners are updated with a portable description (ImageTagRegion) of the new tag, which represent the rectangle boundaries.
listener |
Definition at line 161 of file ImageTagCreator.java.
|
private |
Reset the rectangle to default dimensions.
Definition at line 175 of file ImageTagCreator.java.
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.ImageTagCreator().
void org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.disconnect | ( | ) |
Removes itself from mouse events on the source image.
Definition at line 168 of file ImageTagCreator.java.
|
private |
Definition at line 56 of file ImageTagCreator.java.
|
staticprivate |
Definition at line 44 of file ImageTagCreator.java.
|
private |
Definition at line 45 of file ImageTagCreator.java.
|
private |
Definition at line 51 of file ImageTagCreator.java.
|
private |
Definition at line 50 of file ImageTagCreator.java.
|
private |
Definition at line 52 of file ImageTagCreator.java.
|
private |
Definition at line 48 of file ImageTagCreator.java.
|
private |
Definition at line 39 of file ImageTagCreator.java.
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.ImageTagCreator().
Copyright © 2012-2020 Basis Technology. Generated on: Mon Jul 6 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.