Package d3
Class D3Control
- All Implemented Interfaces:
 OfflineDataStore,SettingsNameProvider
- 
Field Summary
FieldsFields inherited from class fileOfflineData.OfflineFileControl
fileParamsFields inherited from class PamController.PamControlledUnit
isMixed, isViewer - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected PamDataBlockcreateOfflineDataBlock(OfflineFileProcess offlineFileProcess) Get the datablock - need to be abstract so that it can be created for specific types in the concrete classes.intfindSensorIndex(int sensorId) Find sensor information corresponding to a specific id.intfindSensorIndex(String sensorName) Find a sensor by the name of it's cal field.findSensorInfo(int sensorId) Find sensor information corresponding to a specific id.findSensorInfo(String calName) Find sensor information corresponding to a specific id.Get the file type for the files to be listedbooleanloadData(PamDataBlock dataBlock, ArrayList<OfflineFileMapPoint> usedMapPoints, OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Load data from the files and pack into appropriate datablocks.protected voidprocessMapFile(File aFile, int fileIndex) Called for each file when making the data map.booleansaveData(PamDataBlock dataBlock) Save data previously loaded from the store during offline viewing.Methods inherited from class fileOfflineData.OfflineFileControl
createDetectionMenu, createOfflineDataMap, detectionMenuAction, getDatagramManager, getDataLocation, getDataSourceName, getFileParams, getOfflineFileDataMap, getOfflineFileProcess, loadData, notifyModelChanged, rewriteIndexFile, setDatagramManager, setFileParamsMethods inherited from class PamController.PamControlledUnit
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addPamProcess, addRelatedMenuItems, canClose, canPlayViewerSound, createDisplayMenu, createFileMenu, createHelpMenu, flushDataBlockBuffers, getBackupInformation, getFrameNumber, getGUI, getGuiFrame, getInstanceIndex, getModuleStatus, getModuleStatusManager, getModuleSummary, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineState, getOfflineTaskGroup, getPamConfiguration, getPamController, getPamModuleInfo, getPamProcess, getPamView, getPlugin, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitTaskManager, getUnitTaskManager, getUnitType, getVerboseLevel, gotoTab, isInMainConfiguration, isNetRx, isViewer, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setModuleStatusManager, setPamConfiguration, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setToolbarComponent, setUnitTaskManager, setupControlledUnit, stopViewerSound, tellModule, terminalPrint, terminalPrintln, toString 
- 
Field Details
- 
unitType
- See Also:
 
 
 - 
 - 
Constructor Details
- 
D3Control
 
 - 
 - 
Method Details
- 
processMapFile
Description copied from class:OfflineFileControlCalled for each file when making the data map. Concrete class should examine the file and create a datamap point for whatever is in there.- Specified by:
 processMapFilein classOfflineFileControl- Parameters:
 aFile-fileIndex-
 - 
getOfflineFileType
Description copied from class:OfflineFileControlGet the file type for the files to be listed- Specified by:
 getOfflineFileTypein classOfflineFileControl- Returns:
 - file type (e.g. xml)
 
 - 
createOfflineDataBlock
Description copied from class:OfflineFileControlGet the datablock - need to be abstract so that it can be created for specific types in the concrete classes.- Specified by:
 createOfflineDataBlockin classOfflineFileControl- Returns:
 
 - 
loadData
public boolean loadData(PamDataBlock dataBlock, ArrayList<OfflineFileMapPoint> usedMapPoints, OfflineDataLoadInfo offlineDataLoadInfo, ViewLoadObserver loadObserver) Description copied from class:OfflineFileControlLoad data from the files and pack into appropriate datablocks.- Specified by:
 loadDatain classOfflineFileControl- Parameters:
 dataBlock- dataBlock for datausedMapPoints- list of mappoints which may have data in the load timeloadObserver- update observer for loading data.- Returns:
 - true hopefully !
 
 - 
saveData
Description copied from interface:OfflineDataStoreSave data previously loaded from the store during offline viewing.- Parameters:
 dataBlock- datablock owner of the data- Returns:
 - true if saved or save not needed. False if an error prevents saving.
 
 - 
getD3DataBlock
- Returns:
 - the d3DataBlock
 
 - 
findSensorInfo
Find sensor information corresponding to a specific id.- Parameters:
 sensorId- integer sensor id- Returns:
 - sensor information.
 
 - 
findSensorInfo
Find sensor information corresponding to a specific id.- Parameters:
 sensorId- integer sensor id- Returns:
 - sensor information.
 
 - 
findSensorIndex
public int findSensorIndex(int sensorId) Find sensor information corresponding to a specific id.- Parameters:
 sensorId- integer sensor id- Returns:
 - sensor index.
 
 - 
findSensorIndex
Find a sensor by the name of it's cal field.- Parameters:
 sensorName-- Returns:
 
 - 
getD3SensorInfos
- Returns:
 - the d3SensorInfos
 
 - 
getD3DataPlotProvider
- Returns:
 - the d3DataPlotProvider
 
 
 -