public class DBControlSettings extends DBControl
DBControl
Constructor and Description |
---|
DBControlSettings() |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<PamControlledUnitSettings> |
loadSettingsFromDB()
Try to load the serialised settings from the database.
|
java.util.ArrayList<PamControlledUnitSettings> |
loadSettingsFromDB(PamControlledUnitSettings pamControlledUnitSettings) |
void |
notifyModelChanged(int changeType)
General notification when the PAMGAURD model changes.
|
browseDatabases, canClose, createFileMenu, createPamCursor, getConnection, getDatabaseName, getDatabaseSystem, getDbProcess, getDbUnitType, getNumSettings, getSettings, getSettingsReference, getSettingsSourceName, getSettingsVersion, getSidePanel, isFullTablesCheck, pamClose, restoreSettings, saveSettingsToDB, saveStartSettings, selectSystem, setFullTablesCheck
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addRelatedMenuItems, addXMLParameter, addXMLParameter, addXMLParameter, addXMLParameter, canPlayViewerSound, createDetectionMenu, createDisplayMenu, createHelpMenu, fillXMLElement, flushDataBlockBuffers, getFrameNumber, getGuiFrame, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineTaskGroup, getPamController, getPamModuleInfo, getPamProcess, getPamView, getShortUnitType, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitType, getVerboseLevel, gotoTab, isViewer, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setupControlledUnit, stopViewerSound, terminalPrint, terminalPrintln, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getUnitName, getUnitType
public java.util.ArrayList<PamControlledUnitSettings> loadSettingsFromDB(PamControlledUnitSettings pamControlledUnitSettings)
public java.util.ArrayList<PamControlledUnitSettings> loadSettingsFromDB()
First go for the last settings which are in a separate table, then if that's empty (which it will in many cases since the last settings table (Pamguard_Settings_Last) only appeared in February 2009), get the last entry in the cumulative settings stored in the Pamguard_Settings table.
public void notifyModelChanged(int changeType)
PamControlledUnit
notifyModelChanged
in class DBControl
changeType
- type of change