Class ImageWrapper

java.lang.Object
ucar.unidata.idv.ui.ImageWrapper

public class ImageWrapper extends Object
Class ImageWrapper Holds information about captured images
Version:
$Revision: 1.3 $
Author:
IDV Development Team
  • Constructor Details

    • ImageWrapper

      public ImageWrapper(String path)
      ctor
      Parameters:
      path - the image path
    • ImageWrapper

      public ImageWrapper(String path, DateTime dttm)
      ctor
      Parameters:
      path - image file path
      dttm - date
    • ImageWrapper

      public ImageWrapper(String path, DateTime dttm, GeoLocationInfo bounds)
      ctor
      Parameters:
      path - image path
      dttm - date time
      bounds - bounds
    • ImageWrapper

      public ImageWrapper(String path, DateTime dttm, GeoLocationInfo bounds, double[] position)
      ctor
      Parameters:
      path - image path
      dttm - date/time
      bounds - bounds
      position - viewpoint position
  • Method Details

    • makeFileList

      public static List<String> makeFileList(List<ImageWrapper> wrappers)
      utility to return a list of the image paths in the given list of ImageWrappers
      Parameters:
      wrappers - image wrappers
      Returns:
      image file paths
    • makeImageWrappers

      public static List<ImageWrapper> makeImageWrappers(List source)
      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

      public String toString()
      to string
      Overrides:
      toString in class Object
      Returns:
      to string
    • deleteFile

      public void deleteFile()
      delete the image file
    • setPath

      public void setPath(String value)
      Set the Path property.
      Parameters:
      value - The new value for Path
    • getPath

      public String getPath()
      Get the Path property.
      Returns:
      The Path
    • setDttm

      public void setDttm(DateTime value)
      Set the Dttm property.
      Parameters:
      value - The new value for Dttm
    • getDttm

      public DateTime getDttm()
      Get the Dttm property.
      Returns:
      The Dttm
    • setBounds

      public void setBounds(GeoLocationInfo value)
      Set the Bounds property.
      Parameters:
      value - The new value for Bounds
    • getBounds

      public GeoLocationInfo 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

      public void setProperties(Hashtable value)
      Set the Properties property.
      Parameters:
      value - The new value for Properties
    • getProperties

      public Hashtable getProperties()
      Get the Properties property.
      Returns:
      The Properties
    • getProperty

      public Object getProperty(Object key)
      _more_
      Parameters:
      key - _more_
      Returns:
      _more_