public final class ImageEntry extends GpxImageEntry
Modifier and Type | Field and Description |
---|---|
private java.awt.Image |
thumbnail |
Constructor and Description |
---|
ImageEntry()
Constructs a new
ImageEntry . |
ImageEntry(java.io.File file)
Constructs a new
ImageEntry . |
ImageEntry(ImageEntry other)
Constructs a new
ImageEntry from an existing instance. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.awt.Image |
getThumbnail()
Returns the thumbnail.
|
int |
hashCode() |
boolean |
hasThumbnail()
Determines whether a thumbnail is set
|
void |
loadThumbnail()
Loads the thumbnail if it was not loaded yet.
|
void |
setThumbnail(java.awt.Image thumbnail)
Sets the thumbnail.
|
applyTmp, compareTo, createTmp, discardTmp, extractExif, flagNewGpsData, getElevation, getExifCoor, getExifGpsTime, getExifImgDir, getExifOrientation, getExifTime, getFile, getGpsTime, getHeight, getIptcCaption, getIptcHeadline, getIptcKeywords, getIptcObjectName, getPos, getSpeed, getTmp, getWidth, hasExifGpsTime, hasExifTime, hasGpsTime, hasNewGpsData, isTagged, setElevation, setExifCoor, setExifGpsTime, setExifImgDir, setExifOrientation, setExifTime, setFile, setGpsTime, setHeight, setIptcCaption, setIptcHeadline, setIptcKeywords, setIptcObjectName, setPos, setPos, setSpeed, setWidth, toString, unflagNewGpsData
private java.awt.Image thumbnail
public ImageEntry()
ImageEntry
.public ImageEntry(ImageEntry other)
ImageEntry
from an existing instance.other
- existing instancepublic ImageEntry(java.io.File file)
ImageEntry
.file
- Path to image file on diskpublic boolean hasThumbnail()
true
if a thumbnail is setpublic java.awt.Image getThumbnail()
public void setThumbnail(java.awt.Image thumbnail)
thumbnail
- thumbnailpublic void loadThumbnail()
ThumbsLoader
public int hashCode()
hashCode
in class GpxImageEntry
public boolean equals(java.lang.Object obj)
equals
in class GpxImageEntry