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

Inherits WaypointRenderer< MapWaypoint >.

Public Member Functions

void paintWaypoint (Graphics2D g, JXMapViewer map, MapWaypoint waypoint)
 

Private Member Functions

BufferedImage createTrackDotImage (Color color)
 
BufferedImage createWaypointImage (Color color)
 
Color getColor (MapWaypoint waypoint)
 

Private Attributes

final Map< Color, BufferedImage > dotImageCache = new HashMap<>()
 
final Map< Color, BufferedImage > waypointImageCache = new HashMap<>()
 

Detailed Description

Renderer for the map waypoints.

Definition at line 755 of file MapPanel.java.

Member Function Documentation

BufferedImage org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.createTrackDotImage ( Color  color)
private

Creates a dot image with the specified color

Parameters
colorthe color of the new image
Returns
the new dot image

Definition at line 784 of file MapPanel.java.

BufferedImage org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.createWaypointImage ( Color  color)
private

Creates a waypoint image with the specified color

Parameters
colorthe color of the new image
Returns
the new waypoint image

Definition at line 806 of file MapPanel.java.

Color org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.getColor ( MapWaypoint  waypoint)
private
Parameters
waypointthe waypoint for which to get the color selected
Returns
the color that this waypoint should be rendered

Definition at line 766 of file MapPanel.java.

void org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.paintWaypoint ( Graphics2D  g,
JXMapViewer  map,
MapWaypoint  waypoint 
)

Definition at line 825 of file MapPanel.java.

Member Data Documentation

final Map<Color, BufferedImage> org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.dotImageCache = new HashMap<>()
private

Definition at line 757 of file MapPanel.java.

final Map<Color, BufferedImage> org.sleuthkit.autopsy.geolocation.MapPanel.MapWaypointRenderer.waypointImageCache = new HashMap<>()
private

Definition at line 758 of file MapPanel.java.


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

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.