public class ImageMarker extends ButtonMarker
Modifier and Type | Field and Description |
---|---|
java.net.URL |
imageUrl |
LABEL_PATTERN_AUTO, LABEL_PATTERN_DESC, LABEL_PATTERN_NAME, MARKER_FORMATTED_OFFSET, MARKER_OFFSET, offset, parentLayer, symbol, time
Constructor and Description |
---|
ImageMarker(LatLon ll,
java.net.URL imageUrl,
MarkerLayer parentLayer,
double time,
double offset) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ev)
Called when the mouse is clicked in the marker's hotspot.
|
WayPoint |
convertToWayPoint()
Convert Marker to WayPoint so it can be exported to a GPX file.
|
private static javax.swing.Icon |
loadScaledImage(java.net.URL u,
int maxSize) |
containsPoint, paint
appendMarkerProducer, createMarkers, evaluateCondition, getCoor, getTemplateKeys, getTemplateValue, getText, getTextTemplateKey, isErroneous, lat, lon, paintIcon, prependMarkerProducer, setCoor, setEastNorth, setErroneous, updateText
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEastNorth, isLatLonKnown
public java.net.URL imageUrl
public ImageMarker(LatLon ll, java.net.URL imageUrl, MarkerLayer parentLayer, double time, double offset)
public void actionPerformed(java.awt.event.ActionEvent ev)
Marker
actionPerformed
in class Marker
ev
- A dummy ActionEventprivate static javax.swing.Icon loadScaledImage(java.net.URL u, int maxSize)
public WayPoint convertToWayPoint()
Marker
convertToWayPoint
in class Marker