Package analoginput
Class AnalogDevicesManager
java.lang.Object
analoginput.AnalogDevicesManager
- All Implemented Interfaces:
 PamSettings,SettingsNameProvider
- 
Constructor Summary
ConstructorsConstructorDescriptionAnalogDevicesManager(SettingsNameProvider settingsNameProvider, AnalogSensorUser sensorUser)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddInputObserver(AnalogInputObserver inputObserver) findDeviceType(String selectedType) getDialogPanel(PamDialog parentFrame, AnalogSensorUser sensorUser) longvoidvoidnotifyData(ItemAllData itemData) voidCalled when settings have changes so that device can be selected and prepared.booleanrestoreSettings(PamControlledUnitSettings pamControlledUnitSettings)  
- 
Constructor Details
- 
AnalogDevicesManager
 
 - 
 - 
Method Details
- 
getUnitName
- Specified by:
 getUnitNamein interfaceSettingsNameProvider- Returns:
 - A Name specific to this instance of the particular class, e.g. Sperm whale detector, Beaked whale detector, etc.
 
 - 
findDeviceType
 - 
getDialogPanel
- Returns:
 - A component that can go into a larger dialog
 
 - 
findDeviceType
 - 
getUnitType
- Specified by:
 getUnitTypein interfacePamSettings- Returns:
 - A Name specific to the type, e.g. Click detector
 
 - 
getSettingsReference
- Specified by:
 getSettingsReferencein interfacePamSettings- Returns:
 - The serialisable object that will be stored
 
 - 
getSettingsVersion
public long getSettingsVersion()- Specified by:
 getSettingsVersionin interfacePamSettings- Returns:
 - An integer version number for the settings
 
 - 
restoreSettings
- Specified by:
 restoreSettingsin interfacePamSettings- Parameters:
 pamControlledUnitSettings-- Returns:
 - true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
 
 - 
getAvailableTypes
- Returns:
 - the availableTypes
 
 - 
getAnalogDeviceParams
- Returns:
 - the analogDeviceParams
 
 - 
getInputParams
 - 
getSensorUser
- Returns:
 - the sensorUser
 
 - 
prepareDevice
public void prepareDevice()Called when settings have changes so that device can be selected and prepared. - 
getActiveDevice
- Returns:
 - the activeDevice
 
 - 
addInputObserver
 - 
notifyChange
public void notifyChange() - 
notifyData
 - 
getAnalogInputParams
- Returns:
 - the analogInputParams
 
 
 -