gov.nasa.worldwindx.applications.dataimporter
Class FileSet
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwindx.applications.dataimporter.FileSet
- All Implemented Interfaces:
- AVList
- Direct Known Subclasses:
- FileSetRPF
public class FileSet
- extends AVListImpl
Represents a collection of installable data.
| 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 |
FILE_SET_ABBREVIATION
public static final String FILE_SET_ABBREVIATION
- See Also:
- Constant Field Values
FILE_SET_CODE
public static final String FILE_SET_CODE
- See Also:
- Constant Field Values
FILE_SET_GSD
public static final String FILE_SET_GSD
- See Also:
- Constant Field Values
FILE_SET_SCALE
public static final String FILE_SET_SCALE
- See Also:
- Constant Field Values
ICON_IMAGE_SIZE
protected static final int ICON_IMAGE_SIZE
- See Also:
- Constant Field Values
IMAGE_ICON
public static final String IMAGE_ICON
- See Also:
- Constant Field Values
IMAGE_IN_PROGRESS
public static final String IMAGE_IN_PROGRESS
- See Also:
- Constant Field Values
MAX_FILES_FOR_PREVIEW_IMAGE
protected static final int MAX_FILES_FOR_PREVIEW_IMAGE
- See Also:
- Constant Field Values
PREVIEW_IMAGE_SIZE
protected static final int PREVIEW_IMAGE_SIZE
- See Also:
- Constant Field Values
SECTOR_LIST
public static final String SECTOR_LIST
- See Also:
- Constant Field Values
threadPoolExecutor
protected static ThreadPoolExecutor threadPoolExecutor
FileSet
public FileSet()
addFile
public void addFile(File file)
addSectorList
public void addSectorList(Object[] sectorList)
clear
public void clear()
getColor
public Color getColor()
getDatasetType
public String getDatasetType()
getDataType
public String getDataType()
getFiles
public List<File> getFiles()
getImage
public BufferedImage getImage()
getImageIcon
public ImageIcon getImageIcon()
getLength
public int getLength()
- Returns the number of files in the file set.
- Returns:
- the number of files in the file set.
getMaxFilesForPreviewImage
public int getMaxFilesForPreviewImage()
getName
public String getName()
getScale
public String getScale()
getSector
public Sector getSector()
getSectorList
public Object[] getSectorList()
isElevation
public boolean isElevation()
isImagery
public boolean isImagery()
makeImage
protected void makeImage()
- Causes the preview image to be built.
makeImageIcon
protected ImageIcon makeImageIcon()
- Causes the preview thumbnail to be built, or returns it if it's already available.
- Returns:
- the preview thumbnail, or null if it's not yet available.
setColor
public void setColor(Color color)
setDatasetType
public void setDatasetType(String datasetType)
setDataType
public void setDataType(String dataType)
setImage
public void setImage(BufferedImage image)
setName
public void setName(String name)
setScale
public void setScale(String scale)
setSector
public void setSector(Sector sector)