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
void
addPropertyChangeListener
(
PropertyChangeListener
listener)
public
void
doJdbcDebugToStream
()
Helper method.
public
void
doJdbcDebugToWriter
()
Helper method.
public
void
dontDoJdbcDebug
()
Helper method.
public
ActionKeys
[]
getActionKeys
()
public
ActionKeys
getActionKeys
(int idx)
public
int
getAliasesSelectedIndex
()
Retrieve the index of the selected alias in the aliases window.
public
boolean
getConfirmSessionClose
()
Should user confirm whether sessions should be closed.
public
int
getDriversSelectedIndex
()
Retrieve the index of the selected driver in the drivers window.
public
String
getFilePreviousDir
()
public
String
getFileSpecifiedDir
()
public
int
getJdbcDebugType
()
public
int
getLargeScriptStmtCount
()
public
int
getLoginTimeout
()
public
MainFrameWindowState
getMainFrameWindowState
()
public
boolean
getMaximizeSessionSheetOnOpen
()
public
String
getNewSessionView
()
public
PluginStatus
getPluginStatus
(int idx)
public
synchronized
PluginStatus
[]
getPluginStatuses
()
public
ProxySettings
getProxySettings
()
Retrieve the proxy settings.
public
boolean
getSavePreferencesImmediately
()
public
SessionProperties
getSessionProperties
()
public
boolean
getShowAliasesToolBar
()
public
boolean
getShowColoriconsInToolbar
()
public
boolean
getShowContentsWhenDragging
()
public
boolean
getShowDebugLogMessage
()
public
boolean
getShowDriversToolBar
()
public
boolean
getShowErrorLogMessages
()
public
boolean
getShowInfoLogMessages
()
public
boolean
getShowLoadedDriversOnly
()
public
boolean
getShowMainStatusBar
()
public
boolean
getShowMainToolBar
()
public
boolean
getShowPluginFilesInSplashScreen
()
public
boolean
getShowSessionStartupTimeHint
()
public
boolean
getShowToolTips
()
public
boolean
getUseScrollableTabbedPanes
()
public
boolean
getWarnForUnsavedBufferEdits
()
public
boolean
getWarnForUnsavedFileEdits
()
public
boolean
getWarnJreJdbcMismatch
()
public
boolean
isFileOpenInPreviousDir
()
public
boolean
isFileOpenInSpecifiedDir
()
public
boolean
isFirstRun
()
public
boolean
isJdbcDebugDontDebug
()
Helper method.
public
boolean
isJdbcDebugToStream
()
Helper method.
public
boolean
isJdbcDebugToWriter
()
Helper method.
public
static
SquirrelPreferences
load
()
public
void
removePropertyChangeListener
(
PropertyChangeListener
listener)
public
synchronized void
save
()
Save preferences to disk.
public
synchronized void
setActionKeys
(
ActionKeys
[] data)
public
void
setActionKeys
(int idx,
ActionKeys
value)
public
synchronized void
setAliasesSelectedIndex
(int idx)
Set the index of the selected alias.
public
synchronized void
setConfirmSessionClose
(boolean data)
public
synchronized void
setDriversSelectedIndex
(int idx)
Set the index of the selected driver.
public
synchronized void
setFileOpenInPreviousDir
(boolean data)
public
synchronized void
setFileOpenInSpecifiedDir
(boolean data)
public
synchronized void
setFilePreviousDir
(
String
data)
public
synchronized void
setFileSpecifiedDir
(
String
data)
public
synchronized void
setFirstRun
(boolean data)
public
synchronized void
setJdbcDebugType
(int data)
public
synchronized void
setLargeScriptStmtCount
(int count)
public
synchronized void
setLoginTimeout
(int data)
public
synchronized void
setMainFrameWindowState
(
MainFrameWindowState
data)
public
synchronized void
setMaximizeSessionSheetOnOpen
(boolean data)
public
synchronized void
setNewSessionView
(
String
data)
public
synchronized void
setPluginStatus
(int idx,
PluginStatus
value)
public
synchronized void
setPluginStatuses
(
PluginStatus
[] data)
public
synchronized void
setProxySettings
(
ProxySettings
data)
public
void
setSavePreferencesImmediately
(boolean data)
public
synchronized void
setSessionProperties
(
SessionProperties
data)
public
synchronized void
setShowAliasesToolBar
(boolean data)
public
synchronized void
setShowColoriconsInToolbar
(boolean data)
public
synchronized void
setShowContentsWhenDragging
(boolean data)
public
synchronized void
setShowDebugLogMessages
(boolean data)
public
synchronized void
setShowDriversToolBar
(boolean data)
public
void
setShowErrorLogMessages
(boolean data)
public
void
setShowInfoLogMessages
(boolean data)
public
synchronized void
setShowLoadedDriversOnly
(boolean data)
Set whether only the loaded JDBC drivers are displayed in the Drivers window.
public
synchronized void
setShowMainStatusBar
(boolean data)
public
synchronized void
setShowMainToolBar
(boolean data)
public
synchronized void
setShowPluginFilesInSplashScreen
(boolean data)
public
synchronized void
setShowSessionStartupTimeHint
(boolean data)
public
synchronized void
setShowToolTips
(boolean data)
public
synchronized void
setUseScrollableTabbedPanes
(boolean data)
public
synchronized void
setWarnForUnsavedBufferEdits
(boolean data)
public
synchronized void
setWarnForUnsavedFileEdits
(boolean data)
public
synchronized void
setWarnJreJdbcMismatch
(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.