public class CDMStationProfileAdapter extends SoundingAdapterImpl implements SoundingAdapter
debug, defaults, haveInitialized, soundings, stations, times
Constructor and Description |
---|
CDMStationProfileAdapter()
Instantiates a new CDM station profile adapter.
|
CDMStationProfileAdapter(java.io.File file)
Instantiates a new CDM station profile adapter.
|
CDMStationProfileAdapter(java.lang.String filename)
Instantiates a new CDM station profile adapter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSource()
Get the source for this Adapter; used mostly by XML persistence.
|
protected void |
init()
Initialize the adapter.
|
SoundingOb |
initSoundingOb(SoundingOb sound)
Initialize a sounding ob
|
void |
setSource(java.lang.String s)
Set the source for this Adapter; used mostly by XML persistence.
|
void |
update()
Update internal data to reflect the current state
|
checkInit, dbPrint, getDflt, getSoundingOb, getSoundingObs, getSoundingTimes, getSoundingTimes, getStations, getStations
addProperty, addPropertyChangeListener, addPropertyChangeListener, disablePropertyChangeEvents, enablePropertyChangeEvents, getTitle, removePropertyChangeListener, removePropertyChangeListener, setTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSoundingObs, getSoundingTimes, getSoundingTimes, getStations, getStations
public CDMStationProfileAdapter()
public CDMStationProfileAdapter(java.lang.String filename)
filename
- the filenamepublic CDMStationProfileAdapter(java.io.File file)
file
- the fileprotected void init() throws java.lang.Exception
init
in class SoundingAdapterImpl
java.lang.Exception
- problem initializingpublic void update()
update
in interface SoundingAdapter
public java.lang.String getSource()
getSource
in interface SoundingAdapter
public void setSource(java.lang.String s)
setSource
in interface SoundingAdapter
s
- new sourcepublic SoundingOb initSoundingOb(SoundingOb sound)
initSoundingOb
in interface SoundingAdapter
initSoundingOb
in class SoundingAdapterImpl
sound
- ob to initialize