Autopsy  4.19.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
org.sleuthkit.autopsy.geolocation.MapPanel Class Reference

Inherits JPanel.

Classes

class  ComponentResizeEndListener
 
class  MapAreaRenderer
 
class  MapTrackRenderer
 
class  MapWaypointRenderer
 

Public Member Functions

 MapPanel ()
 

Private Member Functions

TileFactoryInfo createOnlineOSMFactory (String address) throws GeoLocationDataException
 
TileFactoryInfo createOSMZipFactory (String path) throws GeoLocationDataException
 
List< MapWaypointfindClosestWaypoint (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

List< Set< MapWaypoint > > areas = new ArrayList<>()
 
Set< MapWaypointcurrentlySelectedSet
 
MapWaypoint currentlySelectedWaypoint
 
Popup currentPopup
 
org.jxmapviewer.JXMapViewer mapViewer
 
final PopupFactory popupFactory
 
List< Set< MapWaypoint > > tracks = new ArrayList<>()
 
BufferedImage transparentWaypointImage
 
Set< MapWaypointwaypointSet
 
KdTree< MapWaypointwaypointTree
 
BufferedImage whiteWaypointImage
 
boolean zoomChanging
 
javax.swing.JPanel zoomPanel
 
javax.swing.JSlider zoomSlider
 

Static Private Attributes

static final int DOT_SIZE = 12
 
static final Set< Integer > DOT_WAYPOINT_TYPES = new HashSet<>()
 
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
 
static final int VERY_SMALL_DOT_SIZE = 6
 
static final Set< Integer > VERY_SMALL_DOT_WAYPOINT_TYPES = new HashSet<>()
 

Detailed Description

The map panel. This panel contains the jxmapviewer MapViewer

Definition at line 87 of file MapPanel.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.geolocation.MapPanel.MapPanel ( )

Member Function Documentation

TileFactoryInfo org.sleuthkit.autopsy.geolocation.MapPanel.createOnlineOSMFactory ( String  address) throws GeoLocationDataException
private

Create the TileFactoryInfo for an online OSM tile server.

Parameters
addressTile server address
Returns
TileFactoryInfo object for server address.
Exceptions
GeoLocationDataException

Definition at line 297 of file MapPanel.java.

TileFactoryInfo org.sleuthkit.autopsy.geolocation.MapPanel.createOSMZipFactory ( String  path) throws GeoLocationDataException
private

Create the TileFactoryInfo for OSM zip File

Parameters
pathPath to zip file.
Returns
TileFactoryInfo for zip file.
Exceptions
GeoLocationDataException

Definition at line 315 of file MapPanel.java.

List<MapWaypoint> org.sleuthkit.autopsy.geolocation.MapPanel.findClosestWaypoint ( Point  clickPoint)
private

Find the waypoint that is closest to the given mouse click point.

Parameters
clickPointThe mouse click point
Returns
A waypoint that is within 10 pixels of the given point, or null if none was found.

Definition at line 500 of file MapPanel.java.

References org.sleuthkit.autopsy.geolocation.MapWaypoint.getPosition(), org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getX(), and org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.nearestNeighbourSearch().

Point org.sleuthkit.autopsy.geolocation.MapPanel.getLocationForDetailsPopup ( )
private

Calculate the upper left corner on the screen for the details popup.

Returns
Upper left corner location for the details popup.

Definition at line 482 of file MapPanel.java.

TileFactory org.sleuthkit.autopsy.geolocation.MapPanel.getTileFactory ( ) throws GeoLocationDataException
private
void org.sleuthkit.autopsy.geolocation.MapPanel.initComponents ( )
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 615 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseClicked ( java.awt.event.MouseEvent  evt)
private

Definition at line 737 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseMoved ( java.awt.event.MouseEvent  evt)
private

Definition at line 732 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMousePressed ( java.awt.event.MouseEvent  evt)
private

Definition at line 720 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.mapViewerMouseReleased ( java.awt.event.MouseEvent  evt)
private

Definition at line 726 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.showDetailsPopup ( )
private

Show the detailsPopup for the currently selected waypoint.

Definition at line 442 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.showPopupMenu ( Point  point)
private

Finds the waypoint nearest to the given and point and shows the popup menu for that waypoint.

Parameters
pointCurrent mouse click location

Definition at line 393 of file MapPanel.java.

References org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.equals().

void org.sleuthkit.autopsy.geolocation.MapPanel.showPopupMenu ( MapWaypoint  waypoint,
Point  point 
) throws TskCoreException
private

Show the popup menu for the given waypoint and location.

Parameters
waypointSelected waypoint
pointCurrent mouse click location

Definition at line 421 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.zoomInBtnActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 766 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.zoomOutBtnActionPerformed ( java.awt.event.ActionEvent  evt)
private

Definition at line 771 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.zoomSliderStateChanged ( javax.swing.event.ChangeEvent  evt)
private

Definition at line 714 of file MapPanel.java.

Member Data Documentation

List<Set<MapWaypoint> > org.sleuthkit.autopsy.geolocation.MapPanel.areas = new ArrayList<>()
private

Definition at line 103 of file MapPanel.java.

Set<MapWaypoint> org.sleuthkit.autopsy.geolocation.MapPanel.currentlySelectedSet
private

Definition at line 116 of file MapPanel.java.

MapWaypoint org.sleuthkit.autopsy.geolocation.MapPanel.currentlySelectedWaypoint
private

Definition at line 115 of file MapPanel.java.

Popup org.sleuthkit.autopsy.geolocation.MapPanel.currentPopup
private

Definition at line 105 of file MapPanel.java.

final int org.sleuthkit.autopsy.geolocation.MapPanel.DOT_SIZE = 12
staticprivate

Definition at line 95 of file MapPanel.java.

final Set<Integer> org.sleuthkit.autopsy.geolocation.MapPanel.DOT_WAYPOINT_TYPES = new HashSet<>()
staticprivate

Definition at line 94 of file MapPanel.java.

final Logger org.sleuthkit.autopsy.geolocation.MapPanel.logger = Logger.getLogger(MapPanel.class.getName())
staticprivate

Definition at line 91 of file MapPanel.java.

org.jxmapviewer.JXMapViewer org.sleuthkit.autopsy.geolocation.MapPanel.mapViewer
private

Definition at line 778 of file MapPanel.java.

final int org.sleuthkit.autopsy.geolocation.MapPanel.POPUP_HEIGHT = 200
staticprivate

Definition at line 109 of file MapPanel.java.

final int org.sleuthkit.autopsy.geolocation.MapPanel.POPUP_MARGIN = 10
staticprivate

Definition at line 110 of file MapPanel.java.

final int org.sleuthkit.autopsy.geolocation.MapPanel.POPUP_WIDTH = 300
staticprivate

Definition at line 108 of file MapPanel.java.

final PopupFactory org.sleuthkit.autopsy.geolocation.MapPanel.popupFactory
private

Definition at line 106 of file MapPanel.java.

final long org.sleuthkit.autopsy.geolocation.MapPanel.serialVersionUID = 1L
staticprivate

Definition at line 93 of file MapPanel.java.

List<Set<MapWaypoint> > org.sleuthkit.autopsy.geolocation.MapPanel.tracks = new ArrayList<>()
private

Definition at line 102 of file MapPanel.java.

BufferedImage org.sleuthkit.autopsy.geolocation.MapPanel.transparentWaypointImage
private

Definition at line 113 of file MapPanel.java.

final int org.sleuthkit.autopsy.geolocation.MapPanel.VERY_SMALL_DOT_SIZE = 6
staticprivate

Definition at line 97 of file MapPanel.java.

final Set<Integer> org.sleuthkit.autopsy.geolocation.MapPanel.VERY_SMALL_DOT_WAYPOINT_TYPES = new HashSet<>()
staticprivate

Definition at line 96 of file MapPanel.java.

Set<MapWaypoint> org.sleuthkit.autopsy.geolocation.MapPanel.waypointSet
private

Definition at line 101 of file MapPanel.java.

KdTree<MapWaypoint> org.sleuthkit.autopsy.geolocation.MapPanel.waypointTree
private

Definition at line 100 of file MapPanel.java.

BufferedImage org.sleuthkit.autopsy.geolocation.MapPanel.whiteWaypointImage
private

Definition at line 112 of file MapPanel.java.

boolean org.sleuthkit.autopsy.geolocation.MapPanel.zoomChanging
private

Definition at line 99 of file MapPanel.java.

javax.swing.JPanel org.sleuthkit.autopsy.geolocation.MapPanel.zoomPanel
private

Definition at line 779 of file MapPanel.java.

javax.swing.JSlider org.sleuthkit.autopsy.geolocation.MapPanel.zoomSlider
private

Definition at line 780 of file MapPanel.java.


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

Copyright © 2012-2021 Basis Technology. Generated on: Fri Aug 6 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.