NASA World Wind

gov.nasa.worldwindx.applications.dataimporter
Class FileSetPreviewImageGenerator

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwindx.applications.dataimporter.FileSetPreviewImageGenerator
All Implemented Interfaces:
AVList, Runnable

public class FileSetPreviewImageGenerator
extends AVListImpl
implements Runnable

Generates a preview image for a file set.


Field Summary
protected  FileSet fileSet
           
protected  int height
           
protected  BufferedImageRaster thumbnailRaster
           
protected  int width
           
 
Constructor Summary
FileSetPreviewImageGenerator(FileSet fileSet, int width, int height)
           
 
Method Summary
protected  void composeImage()
           
protected  void createImageRaster()
           
 BufferedImage getPreviewImage()
           
 void run()
           
 
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fileSet

protected FileSet fileSet

height

protected int height

thumbnailRaster

protected BufferedImageRaster thumbnailRaster

width

protected int width
Constructor Detail

FileSetPreviewImageGenerator

public FileSetPreviewImageGenerator(FileSet fileSet,
                                    int width,
                                    int height)
Method Detail

composeImage

protected void composeImage()

createImageRaster

protected void createImageRaster()

getPreviewImage

public BufferedImage getPreviewImage()

run

public void run()
Specified by:
run in interface Runnable

NASA World Wind