public class CorrelateGpxWithImages extends javax.swing.AbstractAction
Modifier and Type | Class and Description |
---|---|
private class |
CorrelateGpxWithImages.AdjustActionListener
Presents dialog with sliders for manual adjust.
|
private class |
CorrelateGpxWithImages.AdvancedSettingsActionListener |
private class |
CorrelateGpxWithImages.AutoGuessActionListener |
private static class |
CorrelateGpxWithImages.GpxDataWrapper |
private class |
CorrelateGpxWithImages.GpxLayerAddedListener |
private class |
CorrelateGpxWithImages.LoadGpxDataActionListener
This class is called when the user doesn't find the GPX file he needs in the files that have
been loaded yet.
|
(package private) static class |
CorrelateGpxWithImages.NoGpxTimestamps |
private class |
CorrelateGpxWithImages.RepaintTheMapListener |
private class |
CorrelateGpxWithImages.SetOffsetActionListener
This action listener is called when the user has a photo of the time of his GPS receiver.
|
private class |
CorrelateGpxWithImages.StatusBarUpdater |
private class |
CorrelateGpxWithImages.SyncDialogWindowListener |
Modifier and Type | Field and Description |
---|---|
private javax.swing.JCheckBox |
cbExifImg |
private JosmComboBox<CorrelateGpxWithImages.GpxDataWrapper> |
cbGpx |
private javax.swing.JCheckBox |
cbShowThumbs |
private javax.swing.JCheckBox |
cbTaggedImg |
private GpxTimeOffset |
delta |
private static boolean |
forceTags |
private javax.swing.MutableComboBoxModel<CorrelateGpxWithImages.GpxDataWrapper> |
gpxModel |
private int |
lastNumMatched |
private static java.util.List<GpxData> |
loadedGpxData |
private javax.swing.JPanel |
outerPanel |
private CorrelateGpxWithImages.RepaintTheMapListener |
repaintTheMap |
private javax.swing.JLabel |
statusBarText |
private CorrelateGpxWithImages.StatusBarUpdater |
statusBarUpdater |
private CorrelateGpxWithImages.StatusBarUpdater |
statusBarUpdaterWithRepaint |
private ExtendedDialog |
syncDialog |
private JosmTextField |
tfOffset |
private JosmTextField |
tfTimezone |
private GpxTimezone |
timezone |
private GeoImageLayer |
yLayer |
Constructor and Description |
---|
CorrelateGpxWithImages(GeoImageLayer layer)
Constructs a new
CorrelateGpxWithImages action. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae) |
(package private) static Pair<GpxTimezone,GpxTimeOffset> |
autoGuess(java.util.List<ImageEntry> imgs,
GpxData gpx)
Tries to auto-guess the timezone and offset.
|
private java.util.List<ImageEntry> |
getSortedImgList() |
private java.util.List<ImageEntry> |
getSortedImgList(boolean exif,
boolean tagged)
Returns a list of images that fulfill the given criteria.
|
private CorrelateGpxWithImages.GpxDataWrapper |
selectedGPX(boolean complain) |
private static final java.util.List<GpxData> loadedGpxData
private final transient GeoImageLayer yLayer
private transient GpxTimezone timezone
private transient GpxTimeOffset delta
private static boolean forceTags
private ExtendedDialog syncDialog
private javax.swing.MutableComboBoxModel<CorrelateGpxWithImages.GpxDataWrapper> gpxModel
private javax.swing.JPanel outerPanel
private JosmComboBox<CorrelateGpxWithImages.GpxDataWrapper> cbGpx
private JosmTextField tfTimezone
private JosmTextField tfOffset
private javax.swing.JCheckBox cbExifImg
private javax.swing.JCheckBox cbTaggedImg
private javax.swing.JCheckBox cbShowThumbs
private javax.swing.JLabel statusBarText
private int lastNumMatched
private final transient CorrelateGpxWithImages.StatusBarUpdater statusBarUpdater
private final transient CorrelateGpxWithImages.StatusBarUpdater statusBarUpdaterWithRepaint
private final transient CorrelateGpxWithImages.RepaintTheMapListener repaintTheMap
public CorrelateGpxWithImages(GeoImageLayer layer)
CorrelateGpxWithImages
action.layer
- The image layerpublic void actionPerformed(java.awt.event.ActionEvent ae)
static Pair<GpxTimezone,GpxTimeOffset> autoGuess(java.util.List<ImageEntry> imgs, GpxData gpx) throws CorrelateGpxWithImages.NoGpxTimestamps
imgs
- the images to correlategpx
- the gpx track to correlate tojava.lang.IndexOutOfBoundsException
- when there are no imagesCorrelateGpxWithImages.NoGpxTimestamps
- when the gpx track does not contain a timestampprivate java.util.List<ImageEntry> getSortedImgList()
private java.util.List<ImageEntry> getSortedImgList(boolean exif, boolean tagged)
exif
- also returns images with exif-gps infotagged
- also returns tagged imagesprivate CorrelateGpxWithImages.GpxDataWrapper selectedGPX(boolean complain)