Autopsy
4.14.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Inherits JPanel.
Classes | |
class | ComponentResizeEndListener |
class | MapWaypointRenderer |
Public Member Functions | |
MapPanel () | |
Private Member Functions | |
TileFactoryInfo | createOnlineOSMFactory (String address) throws GeoLocationDataException |
TileFactoryInfo | createOSMZipFactory (String path) throws GeoLocationDataException |
List< MapWaypoint > | findClosestWaypoint (Point clickPoint) |
Point | getLocationForDetailsPopup () |
TileFactory | getTileFactory () throws GeoLocationDataException |
void | initComponents () |
void | mapViewerMouseClicked (java.awt.event.MouseEvent evt) |
void | mapViewerMouseMoved (java.awt.event.MouseEvent evt) |
void | mapViewerMousePressed (java.awt.event.MouseEvent evt) |
void | mapViewerMouseReleased (java.awt.event.MouseEvent evt) |
void | showDetailsPopup () |
void | showPopupMenu (Point point) |
void | showPopupMenu (MapWaypoint waypoint, Point point) throws TskCoreException |
void | zoomInBtnActionPerformed (java.awt.event.ActionEvent evt) |
void | zoomOutBtnActionPerformed (java.awt.event.ActionEvent evt) |
void | zoomSliderStateChanged (javax.swing.event.ChangeEvent evt) |
Private Attributes | |
MapWaypoint | currentlySelectedWaypoint |
Popup | currentPopup |
BufferedImage | defaultWaypointImage |
org.jxmapviewer.JXMapViewer | mapViewer |
final PopupFactory | popupFactory |
BufferedImage | selectedWaypointImage |
Set< MapWaypoint > | waypointSet |
KdTree< MapWaypoint > | waypointTree |
boolean | zoomChanging |
javax.swing.JPanel | zoomPanel |
javax.swing.JSlider | zoomSlider |
Static Private Attributes | |
static final Logger | logger = Logger.getLogger(MapPanel.class.getName()) |
static final int | POPUP_HEIGHT = 200 |
static final int | POPUP_MARGIN = 10 |
static final int | POPUP_WIDTH = 300 |
static final long | serialVersionUID = 1L |
The map panel. This panel contains the jxmapviewer MapViewer
Definition at line 74 of file MapPanel.java.
org.sleuthkit.autopsy.geolocation.MapPanel.MapPanel | ( | ) |
Creates new form MapPanel
Definition at line 103 of file MapPanel.java.
References org.sleuthkit.autopsy.core.UserPreferences.addChangeListener(), org.sleuthkit.autopsy.coreutils.MessageNotifyUtil.Notify.error(), org.sleuthkit.autopsy.geolocation.MapPanel.getTileFactory(), org.sleuthkit.autopsy.geolocation.MapPanel.initComponents(), org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer, and org.sleuthkit.autopsy.geolocation.MapPanel.showDetailsPopup().
|
private |
Create the TileFactoryInfo for an online OSM tile server.
address | Tile server address |
GeoLocationDataException |
Definition at line 258 of file MapPanel.java.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.getTileFactory().
|
private |
Create the TileFactoryInfo for OSM zip File
path | Path to zip file. |
GeoLocationDataException |
Definition at line 276 of file MapPanel.java.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.getTileFactory().
|
private |
Find the waypoint that is closest to the given mouse click point.
clickPoint | The mouse click point |
Definition at line 442 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer, and org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.nearestNeighbourSearch().
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseClicked(), and org.sleuthkit.autopsy.geolocation.MapPanel.showPopupMenu().
|
private |
Calculate the upper left corner on the screen for the details popup.
Definition at line 424 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.POPUP_MARGIN.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.showDetailsPopup().
|
private |
Create the TileFactory object based on the user preference.
Definition at line 236 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.createOnlineOSMFactory(), org.sleuthkit.autopsy.geolocation.MapPanel.createOSMZipFactory(), org.sleuthkit.autopsy.core.UserPreferences.getGeolocationMBTilesFilePath(), org.sleuthkit.autopsy.core.UserPreferences.getGeolocationOsmServerAddress(), org.sleuthkit.autopsy.core.UserPreferences.getGeolocationOsmZipPath(), and org.sleuthkit.autopsy.core.UserPreferences.getGeolocationtTileOption().
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.MapPanel().
|
private |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
Definition at line 534 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer, org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseClicked(), org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseMoved(), org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMousePressed(), org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseReleased(), org.sleuthkit.autopsy.geolocation.MapPanel.zoomInBtnActionPerformed(), org.sleuthkit.autopsy.geolocation.MapPanel.zoomOutBtnActionPerformed(), org.sleuthkit.autopsy.geolocation.MapPanel.zoomPanel, org.sleuthkit.autopsy.geolocation.MapPanel.zoomSlider, and org.sleuthkit.autopsy.geolocation.MapPanel.zoomSliderStateChanged().
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.MapPanel().
|
private |
Definition at line 655 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.findClosestWaypoint(), and org.sleuthkit.autopsy.geolocation.MapPanel.showDetailsPopup().
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents().
|
private |
Definition at line 650 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents().
|
private |
Definition at line 638 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.showPopupMenu().
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents().
|
private |
Definition at line 644 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.showPopupMenu().
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents().
|
private |
Show the detailsPopup for the currently selected waypoint.
Definition at line 384 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.getLocationForDetailsPopup(), and org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.MapPanel(), org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseClicked(), and org.sleuthkit.autopsy.geolocation.MapPanel.showPopupMenu().
|
private |
Finds the waypoint nearest to the given and point and shows the popup menu for that waypoint.
point | Current mouse click location |
Definition at line 335 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.findClosestWaypoint(), org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer, and org.sleuthkit.autopsy.geolocation.MapPanel.showDetailsPopup().
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMousePressed(), and org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseReleased().
|
private |
Show the popup menu for the given waypoint and location.
waypoint | Selected waypoint |
point | Current mouse click location |
Definition at line 363 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer.
|
private |
Definition at line 667 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents().
|
private |
Definition at line 672 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents().
|
private |
Definition at line 632 of file MapPanel.java.
References org.sleuthkit.autopsy.geolocation.MapPanel.zoomSlider.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents().
|
private |
Definition at line 94 of file MapPanel.java.
|
private |
Definition at line 84 of file MapPanel.java.
|
private |
Definition at line 91 of file MapPanel.java.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.paintWaypoint().
|
staticprivate |
Definition at line 77 of file MapPanel.java.
|
private |
Definition at line 679 of file MapPanel.java.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.findClosestWaypoint(), org.sleuthkit.autopsy.geolocation.MapPanel.initComponents(), org.sleuthkit.autopsy.geolocation.MapPanel.MapPanel(), org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseMoved(), org.sleuthkit.autopsy.geolocation.MapPanel.showDetailsPopup(), org.sleuthkit.autopsy.geolocation.MapPanel.showPopupMenu(), org.sleuthkit.autopsy.geolocation.MapPanel.zoomInBtnActionPerformed(), and org.sleuthkit.autopsy.geolocation.MapPanel.zoomOutBtnActionPerformed().
|
staticprivate |
Definition at line 88 of file MapPanel.java.
|
staticprivate |
Definition at line 89 of file MapPanel.java.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.getLocationForDetailsPopup().
|
staticprivate |
Definition at line 87 of file MapPanel.java.
|
private |
Definition at line 85 of file MapPanel.java.
|
private |
Definition at line 92 of file MapPanel.java.
|
staticprivate |
Definition at line 79 of file MapPanel.java.
|
private |
Definition at line 82 of file MapPanel.java.
|
private |
Definition at line 81 of file MapPanel.java.
|
private |
Definition at line 80 of file MapPanel.java.
|
private |
Definition at line 680 of file MapPanel.java.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents().
|
private |
Definition at line 681 of file MapPanel.java.
Referenced by org.sleuthkit.autopsy.geolocation.MapPanel.initComponents(), and org.sleuthkit.autopsy.geolocation.MapPanel.zoomSliderStateChanged().
Copyright © 2012-2020 Basis Technology. Generated on: Wed Apr 8 2020
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.