Interface IImageEntry<I extends IImageEntry<I>>

    • Method Detail

      • selectNextImage

        default void selectNextImage​(ImageViewerDialog imageViewerDialog)
        Select the next image
        Parameters:
        imageViewerDialog - The image viewer to update
      • getNextImage

        I getNextImage()
        Get what would be the next image
        Returns:
        The next image
      • selectPreviousImage

        default void selectPreviousImage​(ImageViewerDialog imageViewerDialog)
        Select the previous image
        Parameters:
        imageViewerDialog - The image viewer to update
      • getPreviousImage

        I getPreviousImage()
        Get the previous image
        Returns:
        The previous image
      • selectFirstImage

        default void selectFirstImage​(ImageViewerDialog imageViewerDialog)
        Select the first image for the data or sequence
        Parameters:
        imageViewerDialog - The image viewer to update
      • getFirstImage

        I getFirstImage()
        Get the first image for the data or sequence
        Returns:
        The first image
      • selectLastImage

        default void selectLastImage​(ImageViewerDialog imageViewerDialog)
        Select the last image for the data or sequence
        Parameters:
        imageViewerDialog - The image viewer to update
      • selectImage

        default void selectImage​(ImageViewerDialog imageViewerDialog,
                                 IImageEntry<?> entry)
        Select a specific image
        Parameters:
        imageViewerDialog - The image viewer to update
        entry - The image to select
        Since:
        18290
      • getLastImage

        I getLastImage()
        Get the last image for the data or sequence
        Returns:
        The last image
      • remove

        default boolean remove()
        Remove the image
        Returns:
        true if removal was successful
        Throws:
        java.lang.UnsupportedOperationException - If the implementation does not support removal. Use isRemoveSupported()} to check for support.
      • isRemoveSupported

        default boolean isRemoveSupported()
        Check if image removal is supported
        Returns:
        true if removal is supported
      • delete

        default boolean delete()
        Delete the image
        Returns:
        true if deletion was successful
        Throws:
        java.lang.UnsupportedOperationException - If the implementation does not support deletion. Use isDeleteSupported()} to check for support.
        Since:
        18278
      • isDeleteSupported

        default boolean isDeleteSupported()
        Check if image deletion is supported
        Returns:
        true if deletion is supported
        Since:
        18278
      • getDisplayName

        java.lang.String getDisplayName()
        Returns a display name for this entry (shown in image viewer title bar)
        Returns:
        a display name for this entry
      • read

        default java.awt.image.BufferedImage read​(java.awt.Dimension target)
                                           throws java.io.IOException
        Reads the image represented by this entry in the given target dimension.
        Parameters:
        target - the desired dimension used for subsampling or null
        Returns:
        the read image, or null
        Throws:
        java.io.IOException - if any I/O error occurs
      • setWidth

        void setWidth​(int width)
        Sets the width of this ImageEntry.
        Parameters:
        width - set the width of this ImageEntry
      • setHeight

        void setHeight​(int height)
        Sets the height of this ImageEntry.
        Parameters:
        height - set the height of this ImageEntry
      • getFile

        java.io.File getFile()
        Returns associated file.
        Returns:
        associated file
      • getImageURI

        default java.net.URI getImageURI()
        Get the URI for the image
        Returns:
        The image URI
        Since:
        18427
      • getPos

        ILatLon getPos()
        Returns the position value. The position value from the temporary copy is returned if that copy exists.
        Returns:
        the position value
      • getSpeed

        java.lang.Double getSpeed()
        Returns the speed value. The speed value from the temporary copy is returned if that copy exists.
        Returns:
        the speed value
      • getElevation

        java.lang.Double getElevation()
        Returns the elevation value. The elevation value from the temporary copy is returned if that copy exists.
        Returns:
        the elevation value
      • getGpsDiffMode

        java.lang.Integer getGpsDiffMode()
        Return the GPS Differential mode value. The differential mode value from the temporary copy is returned if that copy exists.
        Returns:
        the fix mode value
        Since:
        19387
      • getGps2d3dMode

        java.lang.Integer getGps2d3dMode()
        Return the GPS 2d/3d mode value. The 2d/3d mode value from the temporary copy is returned if that copy exists.
        Returns:
        the 2d/3d mode value
        Since:
        19387
      • getExifGpsDop

        java.lang.Double getExifGpsDop()
        Return the GPS DOP value. The GPS DOP value from the temporary copy is return if that copy exists.
        Returns:
        the GPS DOP value
        Since:
        19387
      • getExifGpsDatum

        java.lang.String getExifGpsDatum()
        Return the GPS datum value. The GPS datum value from the temporary copy is return if that copy exists.
        Returns:
        the GPS datum value
        Since:
        19387
      • getExifGpsProcMethod

        java.lang.String getExifGpsProcMethod()
        Return the GPS processing method. The processing method value from the temporary copy is return if that copy exists.
        Returns:
        the GPS processing method
        Since:
        19387
      • getExifImgDir

        java.lang.Double getExifImgDir()
        Returns the image direction. The image direction from the temporary copy is returned if that copy exists.
        Returns:
        The image camera angle
      • getExifGpsTrack

        java.lang.Double getExifGpsTrack()
        Returns the image GPS track direction. The GPS track direction from the temporary copy is returned if that copy exists.
        Returns:
        the image GPS track direction angle
        Since:
        19387
      • getExifHPosErr

        java.lang.Double getExifHPosErr()
        Returns the image horizontal positionning error. The image positionning error from the temporary copy is returned if that copy exists.
        Returns:
        the image horizontal positionning error
        Since:
        19387
      • hasExifTime

        boolean hasExifTime()
        Convenient way to determine if this entry has a EXIF time, without the cost of building a defensive copy.
        Returns:
        true if this entry has a EXIF time
        Since:
        6450
      • getExifInstant

        java.time.Instant getExifInstant()
        Returns EXIF time
        Returns:
        EXIF time
      • hasGpsTime

        boolean hasGpsTime()
        Convenient way to determine if this entry has a GPS time, without the cost of building a defensive copy.
        Returns:
        true if this entry has a GPS time
      • getGpsInstant

        java.time.Instant getGpsInstant()
        Returns the GPS time value. The GPS time value from the temporary copy is returned if that copy exists.
        Returns:
        the GPS time value
      • getExifGpsInstant

        java.time.Instant getExifGpsInstant()
        Returns the Exif GPS Time value. The Exif GPS time value from the temporary copy is returned if that copy exists.
        Returns:
        the Exif GPS time value
        Since:
        19387
      • getIptcCaption

        java.lang.String getIptcCaption()
        Returns the IPTC caption.
        Returns:
        the IPTC caption
      • getIptcHeadline

        java.lang.String getIptcHeadline()
        Returns the IPTC headline.
        Returns:
        the IPTC headline
      • getIptcKeywords

        java.util.List<java.lang.String> getIptcKeywords()
        Returns the IPTC keywords.
        Returns:
        the IPTC keywords
      • getIptcObjectName

        java.lang.String getIptcObjectName()
        Returns the IPTC object name.
        Returns:
        the IPTC object name