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

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

Detailed Description

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

Constructor & Destructor Documentation

org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.ImageTagCreator ( ImageView  image)

Adds tagging support to an image, where the 'tag' rectangle will be the specified color.

imageImage 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

References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.defaultSettings(), and org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.rectangleOriginX.

Member Function Documentation

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.


Definition at line 161 of file

void org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.defaultSettings ( )

Reset the rectangle to default dimensions.

Definition at line 175 of file

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

Member Data Documentation

final Runnable org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.disconnectRunnable

Definition at line 56 of file

final double org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.LINE_THICKNESS_PERCENT = 1.5

Definition at line 44 of file

final double org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.minArea

Definition at line 45 of file

final EventHandler<MouseEvent> org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.mouseDragged

Definition at line 51 of file

final EventHandler<MouseEvent> org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.mousePressed

Definition at line 50 of file

final EventHandler<MouseEvent> org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.mouseReleased

Definition at line 52 of file

final PropertyChangeSupport org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.pcs = new PropertyChangeSupport(this)

Definition at line 48 of file

double org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagCreator.rectangleOriginX

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

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