Package ucar.unidata.idv.ui
Class ImageWrapper
java.lang.Object
ucar.unidata.idv.ui.ImageWrapper
Class ImageWrapper Holds information about captured images
- Version:
- $Revision: 1.3 $
- Author:
- IDV Development Team
-
Constructor Summary
ConstructorsConstructorDescriptionImageWrapper(String path) ctorImageWrapper(String path, DateTime dttm) ctorImageWrapper(String path, DateTime dttm, GeoLocationInfo bounds) ctorImageWrapper(String path, DateTime dttm, GeoLocationInfo bounds, double[] position) ctor -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete the image fileGet the Bounds property.getDttm()Get the Dttm property.getPath()Get the Path property.double[]Get the Position property.Get the Properties property.getProperty(Object key) _more_makeFileList(List<ImageWrapper> wrappers) utility to return a list of the image paths in the given list of ImageWrappersstatic List<ImageWrapper> makeImageWrappers(List source) utility to create a list of ImageWrapper from a list of file namesvoidsetBounds(GeoLocationInfo value) Set the Bounds property.voidSet the Dttm property.voidSet the Path property.voidsetPosition(double[] value) Set the Position property.voidsetProperties(Hashtable value) Set the Properties property.toString()to string
-
Constructor Details
-
ImageWrapper
ctor- Parameters:
path- the image path
-
ImageWrapper
ctor- Parameters:
path- image file pathdttm- date
-
ImageWrapper
ctor- Parameters:
path- image pathdttm- date timebounds- bounds
-
ImageWrapper
ctor- Parameters:
path- image pathdttm- date/timebounds- boundsposition- viewpoint position
-
-
Method Details
-
makeFileList
utility to return a list of the image paths in the given list of ImageWrappers- Parameters:
wrappers- image wrappers- Returns:
- image file paths
-
makeImageWrappers
utility to create a list of ImageWrapper from a list of file names- Parameters:
source- list of file names- Returns:
- list of image wrappers
-
toString
to string -
deleteFile
public void deleteFile()delete the image file -
setPath
Set the Path property.- Parameters:
value- The new value for Path
-
getPath
Get the Path property.- Returns:
- The Path
-
setDttm
Set the Dttm property.- Parameters:
value- The new value for Dttm
-
getDttm
Get the Dttm property.- Returns:
- The Dttm
-
setBounds
Set the Bounds property.- Parameters:
value- The new value for Bounds
-
getBounds
Get the Bounds property.- Returns:
- The Bounds
-
setPosition
public void setPosition(double[] value) Set the Position property.- Parameters:
value- The new value for Position
-
getPosition
public double[] getPosition()Get the Position property.- Returns:
- The Position
-
setProperties
Set the Properties property.- Parameters:
value- The new value for Properties
-
getProperties
Get the Properties property.- Returns:
- The Properties
-
getProperty
_more_- Parameters:
key- _more_- Returns:
- _more_
-