Ignore:
Timestamp:
2016-01-01T19:51:11+01:00 (8 years ago)
Author:
Don-vip
Message:

javadoc update

Location:
trunk/src/org/openstreetmap/josm/gui/layer/geoimage
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/CorrelateGpxWithImages.java

    r9078 r9243  
    11441144     * Match a list of photos to a gpx track with a given offset.
    11451145     * All images need a exifTime attribute and the List must be sorted according to these times.
     1146     * @param images images to match
     1147     * @param selectedGpx selected GPX data
     1148     * @param offset offset
     1149     * @return number of matched points
    11461150     */
    11471151    private int matchGpxTrack(List<ImageEntry> images, GpxData selectedGpx, long offset) {
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/GeoImageLayer.java

    r9078 r9243  
    598598     *
    599599     * If successful, fills in the LatLon and EastNorth attributes of passed in image
     600     * @param e image entry
    600601     */
    601602    private static void extractExif(ImageEntry e) {
  • trunk/src/org/openstreetmap/josm/gui/layer/geoimage/ImageEntry.java

    r8840 r9243  
    5151
    5252    /**
    53      * getter methods that refer to the temporary value
     53     * Returns the cached temporary position value.
     54     * @return the cached temporary position value
    5455     */
    5556    public CachedLatLon getPos() {
     
    5960    }
    6061
     62    /**
     63     * Returns the cached temporary speed value.
     64     * @return the cached temporary speed value
     65     */
    6166    public Double getSpeed() {
    6267        if (tmp != null)
     
    6570    }
    6671
     72    /**
     73     * Returns the cached temporary elevation value.
     74     * @return the cached temporary elevation value
     75     */
    6776    public Double getElevation() {
    6877        if (tmp != null)
     
    7180    }
    7281
     82    /**
     83     * Returns the cached temporary GPS time value.
     84     * @return the cached temporary GPS time value
     85     */
    7386    public Date getGpsTime() {
    7487        if (tmp != null)
     
    87100
    88101    /**
    89      * other getter methods
     102     * Returns associated file.
     103     * @return associated file
    90104     */
    91105    public File getFile() {
     
    93107    }
    94108
     109    /**
     110     * Returns EXIF orientation
     111     * @return EXIF orientation
     112     */
    95113    public Integer getExifOrientation() {
    96114        return exifOrientation;
    97115    }
    98116
     117    /**
     118     * Returns EXIF time
     119     * @return EXIF time
     120     */
    99121    public Date getExifTime() {
    100122        return getDefensiveDate(exifTime);
     
    147169
    148170    /**
    149      * setter methods
     171     * Sets the position.
     172     * @param pos cached position
    150173     */
    151174    public void setPos(CachedLatLon pos) {
     
    153176    }
    154177
     178    /**
     179     * Sets the position.
     180     * @param pos position (will be cached)
     181     */
    155182    public void setPos(LatLon pos) {
    156         this.pos = new CachedLatLon(pos);
    157     }
    158 
     183        setPos(new CachedLatLon(pos));
     184    }
     185
     186    /**
     187     * Sets the speed.
     188     * @param speed speed
     189     */
    159190    public void setSpeed(Double speed) {
    160191        this.speed = speed;
    161192    }
    162193
     194    /**
     195     * Sets the elevation.
     196     * @param elevation elevation
     197     */
    163198    public void setElevation(Double elevation) {
    164199        this.elevation = elevation;
    165200    }
    166201
     202    /**
     203     * Sets associated file.
     204     * @param file associated file
     205     */
    167206    public void setFile(File file) {
    168207        this.file = file;
    169208    }
    170209
     210    /**
     211     * Sets EXIF orientation.
     212     * @param exifOrientation EXIF orientation
     213     */
    171214    public void setExifOrientation(Integer exifOrientation) {
    172215        this.exifOrientation = exifOrientation;
    173216    }
    174217
     218    /**
     219     * Sets EXIF time.
     220     * @param exifTime EXIF time
     221     */
    175222    public void setExifTime(Date exifTime) {
    176223        this.exifTime = getDefensiveDate(exifTime);
     
    245292    /**
    246293     * If it has been tagged i.e. matched to a gpx track or retrieved lat/lon from exif
     294     * @return {@code true} if it has been tagged
    247295     */
    248296    public boolean isTagged() {
Note: See TracChangeset for help on using the changeset viewer.