|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectPamController.PamControlledUnit
generalDatabase.DBControl
generalDatabase.DBControlSettings
public class DBControlSettings
Version of DBControl for loading settings at program startup.
DBControl| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class generalDatabase.DBControl |
|---|
DBControl.DatabaseFileMenuAction |
| Field Summary |
|---|
| Fields inherited from class generalDatabase.DBControl |
|---|
databaseSystem, databaseSystems, dbParameters, dbSidePanel |
| Fields inherited from class PamController.PamControlledUnit |
|---|
isViewer |
| Constructor Summary | |
|---|---|
DBControlSettings()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class generalDatabase.DBControl |
|---|
browseDatabases, createDBControl, createFileMenu, createPamCursor, getConnection, getDatabaseName, getDbProcess, getDbUnitType, getLoggingDataBlocks, getNumSettings, getSettings, getSettingsReference, getSettingsSourceName, getSettingsVersion, getSidePanel, getSystem, isFullTablesCheck, restoreSettings, saveSettingsToDB, saveStartSettings, selectDatabase, selectSystem, setFullTablesCheck, setWriteCount |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface PamController.PamSettings |
|---|
getUnitName, getUnitType |
| Constructor Detail |
|---|
public DBControlSettings()
| Method Detail |
|---|
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 DBControlchangeType - type of change
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||