Autopsy
4.12.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits Group.
Public Member Functions | |
ImageTagsGroup (Node backDrop) | |
void | addFocusChangeListener (PropertyChangeListener fcl) |
void | clearFocus () |
ImageTag | getFocus () |
Private Member Functions | |
ImageTag | getTagToSelect (Point2D coordinate) |
void | requestFocus (ImageTag n) |
void | resetFocus (ImageTag n) |
Private Attributes | |
volatile ImageTag | currentFocus |
final EventDispatchChainImpl | NO_OP_CHAIN = new EventDispatchChainImpl() |
final PropertyChangeSupport | pcs = new PropertyChangeSupport(this) |
Manages the focus and z-ordering of ImageTags. Only one image tag may be selected at a time. Image tags show their 8 edit "handles" upon selection (see ImageTag class for more details) and get the highest z-ordering to make editing easier. This class is responsible for setting and dropping focus as the user navigates from tag to tag. The ImageTag is treated as a logical unit, however it's underlying representation consists of the physical rectangle and the 8 edit handles. JavaFX will report selection on the Node level (so either the Rectangle, or a singe edit handle), which makes keeping the entire image tag in focus a non-trivial problem.
Definition at line 42 of file ImageTagsGroup.java.
org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.ImageTagsGroup | ( | Node | backDrop | ) |
Definition at line 49 of file ImageTagsGroup.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.currentFocus, org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.getTagToSelect(), org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagControls.NOT_FOCUSED, and org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.requestFocus().
void org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.addFocusChangeListener | ( | PropertyChangeListener | fcl | ) |
Subscribe to focus change events on Image tags.
fcl | PCL to be notified which Image tag has been selected. |
Definition at line 79 of file ImageTagsGroup.java.
void org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.clearFocus | ( | ) |
Clears the current focus
Definition at line 95 of file ImageTagsGroup.java.
ImageTag org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.getFocus | ( | ) |
Get the image tag that current has focus.
Definition at line 88 of file ImageTagsGroup.java.
|
private |
Find which tag to select on a user mouse press. If multiple tags are overlapping, pick the smallest one that is determined by the L + W of the tag sides.
coordinate | User mouse press location |
Definition at line 110 of file ImageTagsGroup.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTag.getHeight(), and org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTag.getWidth().
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.ImageTagsGroup().
|
private |
Notifies the logical image that it is in focus.
n |
Definition at line 142 of file ImageTagsGroup.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagControls.FOCUSED.
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.ImageTagsGroup().
|
private |
Notifies the logical image tag that it is no longer in focus.
n |
Definition at line 132 of file ImageTagsGroup.java.
References org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagControls.NOT_FOCUSED.
|
private |
Definition at line 47 of file ImageTagsGroup.java.
Referenced by org.sleuthkit.autopsy.contentviewers.imagetagging.ImageTagsGroup.ImageTagsGroup().
|
private |
Definition at line 44 of file ImageTagsGroup.java.
|
private |
Definition at line 45 of file ImageTagsGroup.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.