ucar.unidata.data.imagery
Class AddeImageDataSource

java.lang.Object
  extended by ucar.unidata.collab.SharableImpl
      extended by ucar.unidata.data.DataSourceImpl
          extended by ucar.unidata.data.imagery.ImageDataSource
              extended by ucar.unidata.data.imagery.AddeImageDataSource
All Implemented Interfaces:
Sharable, DataSource, DataSourceFactory, XmlPersistable

public class AddeImageDataSource
extends ImageDataSource

A data source for ADDE images. This is a thin wrapper (derived class) around the ImageDataSource which does all of the work.

Version:
$Revision: 1.56 $ $Date: 2007/07/05 18:46:09 $
Author:
Don Murray

Nested Class Summary
 
Nested classes/interfaces inherited from class ucar.unidata.data.imagery.ImageDataSource
ImageDataSource.ImageDataInfo
 
Field Summary
 
Fields inherited from class ucar.unidata.data.imagery.ImageDataSource
imageList, imageTimes, PROP_BANDINFO, PROP_IMAGETYPE, TYPE_RADAR, TYPE_SATELLITE
 
Fields inherited from class ucar.unidata.data.DataSourceImpl
changeDataPathsCbx, dataCacheKey, dataChoices, geoSelectionPanel, haveBeenUnPersisted, okToContinue, PARAM_SHOW_HIDE, PARAM_SHOW_NO, PARAM_SHOW_YES
 
Fields inherited from interface ucar.unidata.data.DataSource
MOST_RECENT, ordinalNames, PROP_AUTOCREATEDISPLAY, PROP_BASEDIRECTORY, PROP_CACHEABLE, PROP_DATACHOICENAME, PROP_DISPLAYPROPERTIES, PROP_DOCUMENTLINKS, PROP_FILEPATTERN, PROP_GEOLOCATION, PROP_ICON, PROP_NAME, PROP_POLLINFO, PROP_RESOLVERURL, PROP_SERVICE_HTTP, PROP_SUBPROPERTIES, PROP_TIMELABELS, PROP_TITLE
 
Constructor Summary
AddeImageDataSource()
          The parameterless ctor unpersisting.
AddeImageDataSource(DataSourceDescriptor descriptor, ImageDataset ids, Hashtable properties)
          Create a new AddeImageDataSource with the given dataset.
AddeImageDataSource(DataSourceDescriptor descriptor, List images, Hashtable properties)
          Create a new AddeImageDataSource with an array (String) image ADDE urls.
AddeImageDataSource(DataSourceDescriptor descriptor, String[] images, Hashtable properties)
          Create a new AddeImageDataSource with an array (String) image ADDE urls.
AddeImageDataSource(DataSourceDescriptor descriptor, String image, Hashtable properties)
          Create a new AddeImageDataSource with an a single image ADDE url.
 
Method Summary
 String getDataName()
          Get the name for this data.
 String getImageDataSourceName()
          Overwrite base class method to return the name of this class.
 
Methods inherited from class ucar.unidata.data.imagery.ImageDataSource
canCacheDataToDisk, canSaveDataToLocalDisk, doMakeDataChoices, doMakeDateTimes, doRemove, equals, getAllDateTimes, getBandCategories, getBandTimeSeriesCategories, getCompositeDataChoices, getDataInner, getDataPaths, getFullDescription, getImageList, getLocationsForPolling, getSelectedDateTimes, getTwoDCategories, getTwoDTimeSeriesCategories, hashCode, initAfterUnpersistence, initDataFromPollingInfo, isFileBased, makeImage, makeImageDataset, makeImageDescriptors, makeImageSequence, newFileFromPolling, propertiesChanged, saveDataToLocalDisk, setImageList, updateState
 
Methods inherited from class ucar.unidata.data.DataSourceImpl
addActions, addDataChangeListener, addDataChoice, addPropertiesTabs, applyFieldMask, applyProperties, beginWritingDataToLocalDisk, canChangeData, canDoFieldMask, canDoGeoSelection, canDoGeoSelectionMap, canDoGeoSelectionStride, canPoll, canShowParameter, checkForInitAfterUnPersistence, clearCachedData, clearFileCache, clearTimes, convertToFilesIfDirectory, createAutoDisplay, createCacheKey, createElement, decrOutstandingGetDataCalls, doDirectory, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSelectionPanel, doMakeGeoSubsetPropertiesComponent, endWritingDataToLocalDisk, expandIfNeeded, findDataChoice, findDataChoices, flushCache, getAbsoluteDateTimes, getActions, getAlias, getAllDateTimes, getAllLevels, getAllLevels, getCache, getCacheClearDelay, getCacheDataToDisk, getData, getData, getDataCachePath, getDataChangeListeners, getDataChoices, getDataContext, getDataInner, getDataIsEditable, getDataPrefix, getDataSelection, getDataSelectionComponents, getDataSource, getDateTimes, getDateTimeSelection, getDescription, getDescriptor, getErrorMessage, getExtraGeoSelectionComponent, getFileFilterForPolling, getid, getInError, getLocalDirectory, getLocationForPolling, getMostRecentFiles, getName, getNameForDataSource, getNeedToShowErrorToUser, getNextId, getOutstandingGetDataCalls, getPartialDescription, getPassword, getPathsThatCanBeRelative, getPollingInfo, getProperties, getPropertiesComponents, getPropertiesHeader, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getRelativePaths, getSampleDataProjection, getSaveDataFileLabel, getSelectedDateTimes, getTimesFromDataSelection, getTmpPaths, getTypeName, getUserName, handlePropertiesAction, hasPollingInfo, holdsDateTimes, holdsIndices, identifiedBy, identifiedByName, incrOutstandingGetDataCalls, initAfter, initAfterCreation, initDataChoice, initDataSelectionComponents, initFromXml, isPolling, loadFieldMask, loadFieldMask, loadLatestFile, logException, logException, makeDerivedDataChoices, makeSaveLocalActions, newFilesFromPolling, notifyDataChange, putCache, reloadData, removeCache, removeDataChangeListener, removeDataChoice, removeProperty, replaceDataChoice, resetTmpState, saveDataToLocalDisk, saveDataToLocalDisk, setAlias, setAskToUpdate, setCacheClearDelay, setCacheDataToDisk, setDataEditableStrings, setDataIsEditable, setDataIsRelative, setDataRelativeStrings, setDataSelection, setDateTimeSelection, setDescription, setDescriptor, setDirectory, setInError, setInError, setInError, setName, setNewFiles, setObjectProperties, setObjectProperty, setPassword, setPollingInfo, setPollLocation, setProperties, setProperty, setProperty, setRelativePaths, setTemplateName, setTmpPaths, setUserName, shouldCache, showPasswordDialog, showPropertiesDialog, showPropertiesDialog, showPropertiesDialog, showWaitDialog, tick, toString, toStringTruncated, updateDetailsText, writeFieldMaskFile, writeFieldMaskFile
 
Methods inherited from class ucar.unidata.collab.SharableImpl
applySharableProperties, doShare, doShare, doShareExternal, doShareInternal, getSharablePropertiesComponent, getShareGroup, getSharing, getUniqueId, initSharable, receiveShareData, removeSharable, setShareGroup, setSharing, setUniqueId, showSharableDialog
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ucar.unidata.data.DataSource
getUniqueId
 

Constructor Detail

AddeImageDataSource

public AddeImageDataSource()
The parameterless ctor unpersisting.


AddeImageDataSource

public AddeImageDataSource(DataSourceDescriptor descriptor,
                           String image,
                           Hashtable properties)
                    throws VisADException
Create a new AddeImageDataSource with an a single image ADDE url.

Parameters:
descriptor - The descriptor for this data source.
image - ADDE Url
properties - The properties for this data source.
Throws:
VisADException

AddeImageDataSource

public AddeImageDataSource(DataSourceDescriptor descriptor,
                           String[] images,
                           Hashtable properties)
                    throws VisADException
Create a new AddeImageDataSource with an array (String) image ADDE urls.

Parameters:
descriptor - The descriptor for this data source.
images - Array of ADDE urls.
properties - The properties for this data source.
Throws:
VisADException

AddeImageDataSource

public AddeImageDataSource(DataSourceDescriptor descriptor,
                           List images,
                           Hashtable properties)
                    throws VisADException
Create a new AddeImageDataSource with an array (String) image ADDE urls.

Parameters:
descriptor - The descriptor for this data source.
images - Array of ADDE urls.
properties - The properties for this data source.
Throws:
VisADException

AddeImageDataSource

public AddeImageDataSource(DataSourceDescriptor descriptor,
                           ImageDataset ids,
                           Hashtable properties)
                    throws VisADException
Create a new AddeImageDataSource with the given dataset.

Parameters:
descriptor - The descriptor for this data source.
ids - The dataset.
properties - The properties for this data source.
Throws:
VisADException
Method Detail

getImageDataSourceName

public String getImageDataSourceName()
Overwrite base class method to return the name of this class.

Specified by:
getImageDataSourceName in class ImageDataSource
Returns:
The name.

getDataName

public String getDataName()
Get the name for this data. Override base class for more info.

Overrides:
getDataName in class ImageDataSource
Returns:
name for the main data object