public class DownloadAlongTrackAction extends DownloadAlongAction
JosmAction.LayerChangeAdapter, JosmAction.SelectionChangeAdapter
Modifier and Type | Field and Description |
---|---|
private GpxData |
data |
private static int |
NEAR_BOTH |
private static int |
NEAR_TRACK |
private static int |
NEAR_WAYPOINTS |
private static String |
PREF_DOWNLOAD_ALONG_TRACK_AREA |
private static String |
PREF_DOWNLOAD_ALONG_TRACK_DISTANCE |
private static String |
PREF_DOWNLOAD_ALONG_TRACK_GPS |
private static String |
PREF_DOWNLOAD_ALONG_TRACK_NEAR |
private static String |
PREF_DOWNLOAD_ALONG_TRACK_OSM |
sc
changeSupport, enabled
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
Constructor and Description |
---|
DownloadAlongTrackAction(GpxData data)
Constructs a new
DownloadAlongTrackAction |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e) |
addToDownload, confirmAndDownloadAreas
destroy, getCurrentDataSet, getEditLayer, getShortcut, initEnabledState, installAdapters, setTooltip, updateEnabledState, updateEnabledState
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
private static final int NEAR_TRACK
private static final int NEAR_WAYPOINTS
private static final int NEAR_BOTH
private static final String PREF_DOWNLOAD_ALONG_TRACK_OSM
private static final String PREF_DOWNLOAD_ALONG_TRACK_GPS
private static final String PREF_DOWNLOAD_ALONG_TRACK_DISTANCE
private static final String PREF_DOWNLOAD_ALONG_TRACK_AREA
private static final String PREF_DOWNLOAD_ALONG_TRACK_NEAR
public DownloadAlongTrackAction(GpxData data)
DownloadAlongTrackAction
data
- The GPX data used to download alongpublic void actionPerformed(ActionEvent e)