Java Doc for SessionProperties.java in  » Database-Client » squirrel-sql-2.6.5a » net » sourceforge » squirrel_sql » client » session » properties » 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.session.properties 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   net.sourceforge.squirrel_sql.client.session.properties.SessionProperties

SessionProperties
public class SessionProperties implements Cloneable,Serializable,ISessionProperties(Code)
This class represents the settings for a session.
author:
   Colin Bell

Inner Class :public interface IDataSetDestinations
Inner Class :public interface IPropertyNames


Constructor Summary
public  SessionProperties()
     Default ctor.

Method Summary
public  voidaddPropertyChangeListener(PropertyChangeListener listener)
    
public  Objectclone()
     Return a copy of this object.
public  booleangetAbortOnError()
    
public  booleangetAutoCommit()
     Force a re-build of the GUI when a user makes a table temporarily editable.
public  String[]getCatalogPrefixArray()
     Return array of catalog prefixes to display in the object tree.
public  StringgetCatalogPrefixList()
     Return comma-separated catalog of schema prefixes to display in the object tree.
public  booleangetCommitOnClosingConnection()
    
public  booleangetContentsLimitRows()
    
public  intgetContentsNbrRowsToShow()
    
public  StringgetEditableTableOutputClassName()
    
public  FontInfogetFontInfo()
    
public  booleangetLimitSQLEntryHistorySize()
    
public  booleangetLimitSQLResultTabs()
    
public  booleangetLoadColumnsInBackground()
    
public  booleangetLoadSchemasCatalogs()
     Return true if schemas and catalogs should be loaded into the object tree.
public  intgetMainTabPlacement()
    
public  StringgetMetaDataOutputClassName()
    
public  StringgetObjectFilter()
    
public  intgetObjectTabPlacement()
    
public  StringgetReadOnlySQLResultsOutputClassName()
     Get the name of the read-only form of the user-selected preference, which may be TEXT or READ_ONLY_TABLE.
public  StringgetReadOnlyTableOutputClassName()
     Normally we display data using the class selected by the user in the Session Preferences, but there are occasions in which the application needs to override the user selection and explicitly use either a read-only or an editable table.
public  booleangetRemoveMultiLineComment()
    
public  intgetSQLEntryHistorySize()
    
public  intgetSQLExecutionTabPlacement()
    
public  booleangetSQLLimitRows()
    
public  intgetSQLNbrRowsToShow()
    
public  StringgetSQLResultsOutputClassName()
     Get the type of output display selected by the user in the Session Properties, which may be text, read-only table, or editable table; the caller must be able to handle any of those (especially editable).
public  intgetSQLResultsTabPlacement()
    
public  booleangetSQLShareHistory()
    
public  StringgetSQLStatementSeparator()
     Retrieve the string used to separate multiple SQL statements.
public  String[]getSchemaPrefixArray()
     Return array of schema prefixes to display in the object tree.
public  StringgetSchemaPrefixList()
     Return comma-separated list of schema prefixes to display in the object tree.
public  booleangetShowResultsMetaData()
     Return true if sql results meta data should be loaded.
public  booleangetShowRowCount()
     Return true if row count should be displayed for every table in object tree.
public  booleangetShowToolBar()
    
public  intgetSqlResultTabLimit()
    
public  StringgetStartOfLineComment()
     Return the string used to represent a Start of Line Comment in SQL.
public  StringgetTableContentsOutputClassName()
    
public  booleangetWriteSQLErrorsToLog()
    
public  voidremovePropertyChangeListener(PropertyChangeListener listener)
    
public  voidsetAbortOnError(boolean value)
    
public  voidsetAutoCommit(boolean value)
    
public synchronized  voidsetCatalogPrefixList(String data)
     Set the comma-separated list of catalog prefixes to display in the object tree.
public synchronized  voidsetCommitOnClosingConnection(boolean data)
    
public  voidsetContentsLimitRows(boolean value)
    
public  voidsetContentsNbrRowsToShow(int value)
    
public  voidsetFontInfo(FontInfo data)
    
public  voidsetLimitSQLEntryHistorySize(boolean data)
    
public  voidsetLimitSQLResultTabs(boolean data)
    
public  voidsetLoadColumnsInBackground(boolean value)
    
public synchronized  voidsetLoadSchemasCatalogs(boolean data)
     Set true if schemas and catalogs should be loaded into the object tree.
public  voidsetMainTabPlacement(int value)
    
public  voidsetMetaDataOutputClassName(String value)
    
public synchronized  voidsetObjectFilter(String data)
    
public  voidsetObjectTabPlacement(int value)
    
public synchronized  voidsetRemoveMultiLineComment(boolean data)
    
public  voidsetSQLEntryHistorySize(int data)
    
public  voidsetSQLExecutionTabPlacement(int value)
    
public  voidsetSQLLimitRows(boolean value)
    
public  voidsetSQLNbrRowsToShow(int value)
    
public  voidsetSQLResultsOutputClassName(String value)
     Set the type of output display to user selection, which may be text, read-only table, or editable table.
public  voidsetSQLResultsTabPlacement(int value)
    
public  voidsetSQLShareHistory(boolean data)
     Set whether this session shares its SQL History with other sessions.
public  voidsetSQLStatementSeparator(String value)
     Set the string used to separate multiple SQL statements.
public synchronized  voidsetSchemaPrefixList(String data)
     Set the comma-separated list of schema prefixes to display in the object tree.
public synchronized  voidsetShowResultsMetaData(boolean data)
     Set true if sql results meta data should be loaded.
public synchronized  voidsetShowRowCount(boolean data)
     Specify whether row count should be displayed for every table in object tree.
public  voidsetShowToolBar(boolean value)
    
public  voidsetSqlResultTabLimit(int value)
    
public synchronized  voidsetStartOfLineComment(String data)
     Set the string used to represent a Start of Line Comment in SQL.
public  voidsetTableContentsOutputClassName(String value)
    
public  voidsetWriteSQLErrorsToLog(boolean value)
    


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




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



clone
public Object clone()(Code)
Return a copy of this object.



getAbortOnError
public boolean getAbortOnError()(Code)



getAutoCommit
public boolean getAutoCommit()(Code)
Force a re-build of the GUI when a user makes a table temporarily editable. The situation is that the current SessionProperties _tableContentsClassName is a read-only class (either table or text) and the user has requested that the information be made editable. This can only be requested in the ContentsTab and only when the sqlResults is read-only. We make the table editable by: - setting the underlying data model (e.g. ContentsTab) so that it internally overrides the SessionProperties when getting the output class name, and - telling the listeners that the SessionProperties have changed. This function is called by the underlying data model to tell the listeners to update the GUI. This is done by pretending that the SessionPropertied have just changed from being EDITABLE_TABLE to some read-only class. (We know that the current value of the _tableContentsClassName is a read-only class.) This is not a very nice way to cause the interface to be updated, but it was the simplest one that I could find. GWG 10/30/02 CB TODO: (Move this elsewhere).



getCatalogPrefixArray
public String[] getCatalogPrefixArray()(Code)
Return array of catalog prefixes to display in the object tree.



getCatalogPrefixList
public String getCatalogPrefixList()(Code)
Return comma-separated catalog of schema prefixes to display in the object tree.



getCommitOnClosingConnection
public boolean getCommitOnClosingConnection()(Code)



getContentsLimitRows
public boolean getContentsLimitRows()(Code)



getContentsNbrRowsToShow
public int getContentsNbrRowsToShow()(Code)



getEditableTableOutputClassName
public String getEditableTableOutputClassName()(Code)



getFontInfo
public FontInfo getFontInfo()(Code)



getLimitSQLEntryHistorySize
public boolean getLimitSQLEntryHistorySize()(Code)



getLimitSQLResultTabs
public boolean getLimitSQLResultTabs()(Code)



getLoadColumnsInBackground
public boolean getLoadColumnsInBackground()(Code)



getLoadSchemasCatalogs
public boolean getLoadSchemasCatalogs()(Code)
Return true if schemas and catalogs should be loaded into the object tree.



getMainTabPlacement
public int getMainTabPlacement()(Code)



getMetaDataOutputClassName
public String getMetaDataOutputClassName()(Code)



getObjectFilter
public String getObjectFilter()(Code)



getObjectTabPlacement
public int getObjectTabPlacement()(Code)



getReadOnlySQLResultsOutputClassName
public String getReadOnlySQLResultsOutputClassName()(Code)
Get the name of the read-only form of the user-selected preference, which may be TEXT or READ_ONLY_TABLE. The user may have selected EDITABLE_TABLE, but the caller wants to get the read-only version (because it does not know how to handle and changes the user makes, e.g. because the data represents a multi-table join).



getReadOnlyTableOutputClassName
public String getReadOnlyTableOutputClassName()(Code)
Normally we display data using the class selected by the user in the Session Preferences, but there are occasions in which the application needs to override the user selection and explicitly use either a read-only or an editable table. These functions provide access to those class names.



getRemoveMultiLineComment
public boolean getRemoveMultiLineComment()(Code)



getSQLEntryHistorySize
public int getSQLEntryHistorySize()(Code)



getSQLExecutionTabPlacement
public int getSQLExecutionTabPlacement()(Code)



getSQLLimitRows
public boolean getSQLLimitRows()(Code)



getSQLNbrRowsToShow
public int getSQLNbrRowsToShow()(Code)



getSQLResultsOutputClassName
public String getSQLResultsOutputClassName()(Code)
Get the type of output display selected by the user in the Session Properties, which may be text, read-only table, or editable table; the caller must be able to handle any of those (especially editable).



getSQLResultsTabPlacement
public int getSQLResultsTabPlacement()(Code)



getSQLShareHistory
public boolean getSQLShareHistory()(Code)
Does this session share its SQL History with other sessions? true if this session shares its history.



getSQLStatementSeparator
public String getSQLStatementSeparator()(Code)
Retrieve the string used to separate multiple SQL statements. Possible examples are ";" or "GO"; String used to separate SQL statements.



getSchemaPrefixArray
public String[] getSchemaPrefixArray()(Code)
Return array of schema prefixes to display in the object tree.



getSchemaPrefixList
public String getSchemaPrefixList()(Code)
Return comma-separated list of schema prefixes to display in the object tree.



getShowResultsMetaData
public boolean getShowResultsMetaData()(Code)
Return true if sql results meta data should be loaded.



getShowRowCount
public boolean getShowRowCount()(Code)
Return true if row count should be displayed for every table in object tree.



getShowToolBar
public boolean getShowToolBar()(Code)



getSqlResultTabLimit
public int getSqlResultTabLimit()(Code)



getStartOfLineComment
public String getStartOfLineComment()(Code)
Return the string used to represent a Start of Line Comment in SQL.



getTableContentsOutputClassName
public String getTableContentsOutputClassName()(Code)



getWriteSQLErrorsToLog
public boolean getWriteSQLErrorsToLog()(Code)



removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)(Code)



setAbortOnError
public void setAbortOnError(boolean value)(Code)



setAutoCommit
public void setAutoCommit(boolean value)(Code)



setCatalogPrefixList
public synchronized void setCatalogPrefixList(String data)(Code)
Set the comma-separated list of catalog prefixes to display in the object tree.



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



setContentsLimitRows
public void setContentsLimitRows(boolean value)(Code)



setContentsNbrRowsToShow
public void setContentsNbrRowsToShow(int value)(Code)



setFontInfo
public void setFontInfo(FontInfo data)(Code)



setLimitSQLEntryHistorySize
public void setLimitSQLEntryHistorySize(boolean data)(Code)



setLimitSQLResultTabs
public void setLimitSQLResultTabs(boolean data)(Code)



setLoadColumnsInBackground
public void setLoadColumnsInBackground(boolean value)(Code)



setLoadSchemasCatalogs
public synchronized void setLoadSchemasCatalogs(boolean data)(Code)
Set true if schemas and catalogs should be loaded into the object tree.



setMainTabPlacement
public void setMainTabPlacement(int value)(Code)



setMetaDataOutputClassName
public void setMetaDataOutputClassName(String value)(Code)



setObjectFilter
public synchronized void setObjectFilter(String data)(Code)
Set the objectFilter



setObjectTabPlacement
public void setObjectTabPlacement(int value)(Code)



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



setSQLEntryHistorySize
public void setSQLEntryHistorySize(int data)(Code)



setSQLExecutionTabPlacement
public void setSQLExecutionTabPlacement(int value)(Code)



setSQLLimitRows
public void setSQLLimitRows(boolean value)(Code)



setSQLNbrRowsToShow
public void setSQLNbrRowsToShow(int value)(Code)



setSQLResultsOutputClassName
public void setSQLResultsOutputClassName(String value)(Code)
Set the type of output display to user selection, which may be text, read-only table, or editable table. This is called when the user makes a selection, and also when loading the preferences object from the saved data during Squirrel startup.



setSQLResultsTabPlacement
public void setSQLResultsTabPlacement(int value)(Code)



setSQLShareHistory
public void setSQLShareHistory(boolean data)(Code)
Set whether this session shares its SQL History with other sessions.
Parameters:
  data - true if this session shares its history.



setSQLStatementSeparator
public void setSQLStatementSeparator(String value)(Code)
Set the string used to separate multiple SQL statements. Possible examples are ";" or "GO";
Parameters:
  value - Separator string.



setSchemaPrefixList
public synchronized void setSchemaPrefixList(String data)(Code)
Set the comma-separated list of schema prefixes to display in the object tree.



setShowResultsMetaData
public synchronized void setShowResultsMetaData(boolean data)(Code)
Set true if sql results meta data should be loaded.



setShowRowCount
public synchronized void setShowRowCount(boolean data)(Code)
Specify whether row count should be displayed for every table in object tree.
Parameters:
  data - true fi row count should be displayedelse false.



setShowToolBar
public void setShowToolBar(boolean value)(Code)



setSqlResultTabLimit
public void setSqlResultTabLimit(int value)(Code)



setStartOfLineComment
public synchronized void setStartOfLineComment(String data)(Code)
Set the string used to represent a Start of Line Comment in SQL.



setTableContentsOutputClassName
public void setTableContentsOutputClassName(String value)(Code)



setWriteSQLErrorsToLog
public void setWriteSQLErrorsToLog(boolean value)(Code)



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.