Java Doc for SquirrelPreferences.java in  » Database-Client » squirrel-sql-2.6.5a » net » sourceforge » squirrel_sql » client » preferences » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » squirrel sql 2.6.5a » net.sourceforge.squirrel_sql.client.preferences 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.squirrel_sql.client.preferences.SquirrelPreferences

All known Subclasses:   net.sourceforge.squirrel_sql.client.preferences.SquirrelPreferencesBeanInfo,
SquirrelPreferences
public class SquirrelPreferences implements Serializable(Code)
This class represents the application preferences.
author:
   Colin Bell

Inner Class :public interface IPropertyNames
Inner Class :public interface IJdbcDebugTypes


Constructor Summary
public  SquirrelPreferences()
     Default ctor.

Method Summary
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
    
public  voiddoJdbcDebugToStream()
     Helper method.
public  voiddoJdbcDebugToWriter()
     Helper method.
public  voiddontDoJdbcDebug()
     Helper method.
public  ActionKeys[]getActionKeys()
    
public  ActionKeysgetActionKeys(int idx)
    
public  intgetAliasesSelectedIndex()
     Retrieve the index of the selected alias in the aliases window.
public  booleangetConfirmSessionClose()
     Should user confirm whether sessions should be closed.
public  intgetDriversSelectedIndex()
     Retrieve the index of the selected driver in the drivers window.
public  StringgetFilePreviousDir()
    
public  StringgetFileSpecifiedDir()
    
public  intgetJdbcDebugType()
    
public  intgetLargeScriptStmtCount()
    
public  intgetLoginTimeout()
    
public  MainFrameWindowStategetMainFrameWindowState()
    
public  booleangetMaximizeSessionSheetOnOpen()
    
public  StringgetNewSessionView()
    
public  PluginStatusgetPluginStatus(int idx)
    
public synchronized  PluginStatus[]getPluginStatuses()
    
public  ProxySettingsgetProxySettings()
     Retrieve the proxy settings.
public  booleangetSavePreferencesImmediately()
    
public  SessionPropertiesgetSessionProperties()
    
public  booleangetShowAliasesToolBar()
    
public  booleangetShowColoriconsInToolbar()
    
public  booleangetShowContentsWhenDragging()
    
public  booleangetShowDebugLogMessage()
    
public  booleangetShowDriversToolBar()
    
public  booleangetShowErrorLogMessages()
    
public  booleangetShowInfoLogMessages()
    
public  booleangetShowLoadedDriversOnly()
    
public  booleangetShowMainStatusBar()
    
public  booleangetShowMainToolBar()
    
public  booleangetShowPluginFilesInSplashScreen()
    
public  booleangetShowSessionStartupTimeHint()
    
public  booleangetShowToolTips()
    
public  booleangetUseScrollableTabbedPanes()
    
public  booleangetWarnForUnsavedBufferEdits()
    
public  booleangetWarnForUnsavedFileEdits()
    
public  booleangetWarnJreJdbcMismatch()
    
public  booleanisFileOpenInPreviousDir()
    
public  booleanisFileOpenInSpecifiedDir()
    
public  booleanisFirstRun()
    
public  booleanisJdbcDebugDontDebug()
     Helper method.
public  booleanisJdbcDebugToStream()
     Helper method.
public  booleanisJdbcDebugToWriter()
     Helper method.
public static  SquirrelPreferencesload()
    
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
    
public synchronized  voidsave()
     Save preferences to disk.
public synchronized  voidsetActionKeys(ActionKeys[] data)
    
public  voidsetActionKeys(int idx, ActionKeys value)
    
public synchronized  voidsetAliasesSelectedIndex(int idx)
     Set the index of the selected alias.
public synchronized  voidsetConfirmSessionClose(boolean data)
    
public synchronized  voidsetDriversSelectedIndex(int idx)
     Set the index of the selected driver.
public synchronized  voidsetFileOpenInPreviousDir(boolean data)
    
public synchronized  voidsetFileOpenInSpecifiedDir(boolean data)
    
public synchronized  voidsetFilePreviousDir(String data)
    
public synchronized  voidsetFileSpecifiedDir(String data)
    
public synchronized  voidsetFirstRun(boolean data)
    
public synchronized  voidsetJdbcDebugType(int data)
    
public synchronized  voidsetLargeScriptStmtCount(int count)
    
public synchronized  voidsetLoginTimeout(int data)
    
public synchronized  voidsetMainFrameWindowState(MainFrameWindowState data)
    
public synchronized  voidsetMaximizeSessionSheetOnOpen(boolean data)
    
public synchronized  voidsetNewSessionView(String data)
    
public synchronized  voidsetPluginStatus(int idx, PluginStatus value)
    
public synchronized  voidsetPluginStatuses(PluginStatus[] data)
    
public synchronized  voidsetProxySettings(ProxySettings data)
    
public  voidsetSavePreferencesImmediately(boolean data)
    
public synchronized  voidsetSessionProperties(SessionProperties data)
    
public synchronized  voidsetShowAliasesToolBar(boolean data)
    
public synchronized  voidsetShowColoriconsInToolbar(boolean data)
    
public synchronized  voidsetShowContentsWhenDragging(boolean data)
    
public synchronized  voidsetShowDebugLogMessages(boolean data)
    
public synchronized  voidsetShowDriversToolBar(boolean data)
    
public  voidsetShowErrorLogMessages(boolean data)
    
public  voidsetShowInfoLogMessages(boolean data)
    
public synchronized  voidsetShowLoadedDriversOnly(boolean data)
     Set whether only the loaded JDBC drivers are displayed in the Drivers window.
public synchronized  voidsetShowMainStatusBar(boolean data)
    
public synchronized  voidsetShowMainToolBar(boolean data)
    
public synchronized  voidsetShowPluginFilesInSplashScreen(boolean data)
    
public synchronized  voidsetShowSessionStartupTimeHint(boolean data)
    
public synchronized  voidsetShowToolTips(boolean data)
    
public synchronized  voidsetUseScrollableTabbedPanes(boolean data)
    
public synchronized  voidsetWarnForUnsavedBufferEdits(boolean data)
    
public synchronized  voidsetWarnForUnsavedFileEdits(boolean data)
    
public synchronized  voidsetWarnJreJdbcMismatch(boolean data)
    


Constructor Detail
SquirrelPreferences
public SquirrelPreferences()(Code)
Default ctor.




Method Detail
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)(Code)



doJdbcDebugToStream
public void doJdbcDebugToStream()(Code)
Helper method.



doJdbcDebugToWriter
public void doJdbcDebugToWriter()(Code)
Helper method.



dontDoJdbcDebug
public void dontDoJdbcDebug()(Code)
Helper method.



getActionKeys
public ActionKeys[] getActionKeys()(Code)



getActionKeys
public ActionKeys getActionKeys(int idx)(Code)



getAliasesSelectedIndex
public int getAliasesSelectedIndex()(Code)
Retrieve the index of the selected alias in the aliases window. the index of the selected alias in the aliases windowor -1 if none selected.



getConfirmSessionClose
public boolean getConfirmSessionClose()(Code)
Should user confirm whether sessions should be closed. true if user should have to confirm session closeelse false.



getDriversSelectedIndex
public int getDriversSelectedIndex()(Code)
Retrieve the index of the selected driver in the drivers window. the index of the selected driver in the drivers windowor -1 if none selected.



getFilePreviousDir
public String getFilePreviousDir()(Code)



getFileSpecifiedDir
public String getFileSpecifiedDir()(Code)



getJdbcDebugType
public int getJdbcDebugType()(Code)



getLargeScriptStmtCount
public int getLargeScriptStmtCount()(Code)



getLoginTimeout
public int getLoginTimeout()(Code)



getMainFrameWindowState
public MainFrameWindowState getMainFrameWindowState()(Code)



getMaximizeSessionSheetOnOpen
public boolean getMaximizeSessionSheetOnOpen()(Code)



getNewSessionView
public String getNewSessionView()(Code)



getPluginStatus
public PluginStatus getPluginStatus(int idx)(Code)



getPluginStatuses
public synchronized PluginStatus[] getPluginStatuses()(Code)



getProxySettings
public ProxySettings getProxySettings()(Code)
Retrieve the proxy settings. Note that this method returns a clone of the actual proxy settings used. ProxySettings object.



getSavePreferencesImmediately
public boolean getSavePreferencesImmediately()(Code)
the _showErrorLogMessages



getSessionProperties
public SessionProperties getSessionProperties()(Code)



getShowAliasesToolBar
public boolean getShowAliasesToolBar()(Code)



getShowColoriconsInToolbar
public boolean getShowColoriconsInToolbar()(Code)



getShowContentsWhenDragging
public boolean getShowContentsWhenDragging()(Code)



getShowDebugLogMessage
public boolean getShowDebugLogMessage()(Code)
Returns the _warnForUnsaveFileEdits.



getShowDriversToolBar
public boolean getShowDriversToolBar()(Code)



getShowErrorLogMessages
public boolean getShowErrorLogMessages()(Code)
the _showErrorLogMessages



getShowInfoLogMessages
public boolean getShowInfoLogMessages()(Code)
the _showInfoLogMessages



getShowLoadedDriversOnly
public boolean getShowLoadedDriversOnly()(Code)
whether only the loaded JDBC drivers are displayed in theDrivers window.



getShowMainStatusBar
public boolean getShowMainStatusBar()(Code)



getShowMainToolBar
public boolean getShowMainToolBar()(Code)



getShowPluginFilesInSplashScreen
public boolean getShowPluginFilesInSplashScreen()(Code)



getShowSessionStartupTimeHint
public boolean getShowSessionStartupTimeHint()(Code)
Returns the _warnForUnsaveFileEdits.



getShowToolTips
public boolean getShowToolTips()(Code)



getUseScrollableTabbedPanes
public boolean getUseScrollableTabbedPanes()(Code)



getWarnForUnsavedBufferEdits
public boolean getWarnForUnsavedBufferEdits()(Code)
Returns the _warnForUnsaveFileEdits.



getWarnForUnsavedFileEdits
public boolean getWarnForUnsavedFileEdits()(Code)
Returns the _warnForUnsaveFileEdits.



getWarnJreJdbcMismatch
public boolean getWarnJreJdbcMismatch()(Code)
Returns the _warnJreJdbcMismatch.



isFileOpenInPreviousDir
public boolean isFileOpenInPreviousDir()(Code)



isFileOpenInSpecifiedDir
public boolean isFileOpenInSpecifiedDir()(Code)



isFirstRun
public boolean isFirstRun()(Code)
Is this the first time SQuirreL has been run? true if this is the first time SQuirreL has been runelse false.



isJdbcDebugDontDebug
public boolean isJdbcDebugDontDebug()(Code)
Helper method.



isJdbcDebugToStream
public boolean isJdbcDebugToStream()(Code)
Helper method.



isJdbcDebugToWriter
public boolean isJdbcDebugToWriter()(Code)
Helper method.



load
public static SquirrelPreferences load()(Code)



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)



save
public synchronized void save()(Code)
Save preferences to disk.



setActionKeys
public synchronized void setActionKeys(ActionKeys[] data)(Code)



setActionKeys
public void setActionKeys(int idx, ActionKeys value)(Code)



setAliasesSelectedIndex
public synchronized void setAliasesSelectedIndex(int idx)(Code)
Set the index of the selected alias.
Parameters:
  idx - the index of the selected alias in the aliases windowor -1 if none selected.



setConfirmSessionClose
public synchronized void setConfirmSessionClose(boolean data)(Code)



setDriversSelectedIndex
public synchronized void setDriversSelectedIndex(int idx)(Code)
Set the index of the selected driver.
Parameters:
  idx - the index of the selected driver in the drivers windowor -1 if none selected.



setFileOpenInPreviousDir
public synchronized void setFileOpenInPreviousDir(boolean data)(Code)



setFileOpenInSpecifiedDir
public synchronized void setFileOpenInSpecifiedDir(boolean data)(Code)



setFilePreviousDir
public synchronized void setFilePreviousDir(String data)(Code)



setFileSpecifiedDir
public synchronized void setFileSpecifiedDir(String data)(Code)



setFirstRun
public synchronized void setFirstRun(boolean data)(Code)



setJdbcDebugType
public synchronized void setJdbcDebugType(int data)(Code)



setLargeScriptStmtCount
public synchronized void setLargeScriptStmtCount(int count)(Code)



setLoginTimeout
public synchronized void setLoginTimeout(int data)(Code)



setMainFrameWindowState
public synchronized void setMainFrameWindowState(MainFrameWindowState data)(Code)



setMaximizeSessionSheetOnOpen
public synchronized void setMaximizeSessionSheetOnOpen(boolean data)(Code)



setNewSessionView
public synchronized void setNewSessionView(String data)(Code)



setPluginStatus
public synchronized void setPluginStatus(int idx, PluginStatus value)(Code)



setPluginStatuses
public synchronized void setPluginStatuses(PluginStatus[] data)(Code)



setProxySettings
public synchronized void setProxySettings(ProxySettings data)(Code)



setSavePreferencesImmediately
public void setSavePreferencesImmediately(boolean data)(Code)

Parameters:
  data - the _savePreferencesImmediately to set



setSessionProperties
public synchronized void setSessionProperties(SessionProperties data)(Code)



setShowAliasesToolBar
public synchronized void setShowAliasesToolBar(boolean data)(Code)



setShowColoriconsInToolbar
public synchronized void setShowColoriconsInToolbar(boolean data)(Code)



setShowContentsWhenDragging
public synchronized void setShowContentsWhenDragging(boolean data)(Code)



setShowDebugLogMessages
public synchronized void setShowDebugLogMessages(boolean data)(Code)

Parameters:
  data - The _warnForUnsavedBufferEdits to set.



setShowDriversToolBar
public synchronized void setShowDriversToolBar(boolean data)(Code)



setShowErrorLogMessages
public void setShowErrorLogMessages(boolean data)(Code)

Parameters:
  data - the _showErrorLogMessages to set



setShowInfoLogMessages
public void setShowInfoLogMessages(boolean data)(Code)

Parameters:
  data - the _showInfoLogMessages to set



setShowLoadedDriversOnly
public synchronized void setShowLoadedDriversOnly(boolean data)(Code)
Set whether only the loaded JDBC drivers are displayed in the Drivers window.
Parameters:
  data - New value for this property.



setShowMainStatusBar
public synchronized void setShowMainStatusBar(boolean data)(Code)



setShowMainToolBar
public synchronized void setShowMainToolBar(boolean data)(Code)



setShowPluginFilesInSplashScreen
public synchronized void setShowPluginFilesInSplashScreen(boolean data)(Code)



setShowSessionStartupTimeHint
public synchronized void setShowSessionStartupTimeHint(boolean data)(Code)

Parameters:
  data - The _warnForUnsavedBufferEdits to set.



setShowToolTips
public synchronized void setShowToolTips(boolean data)(Code)



setUseScrollableTabbedPanes
public synchronized void setUseScrollableTabbedPanes(boolean data)(Code)



setWarnForUnsavedBufferEdits
public synchronized void setWarnForUnsavedBufferEdits(boolean data)(Code)

Parameters:
  data - The _warnForUnsavedBufferEdits to set.



setWarnForUnsavedFileEdits
public synchronized void setWarnForUnsavedFileEdits(boolean data)(Code)

Parameters:
  data - The _warnForUnsaveFileEdits to set.



setWarnJreJdbcMismatch
public synchronized void setWarnJreJdbcMismatch(boolean data)(Code)

Parameters:
  data - The _warnJreJdbcMismatch to set.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.