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


net.sourceforge.squirrel_sql.client.session.ISQLPanelAPI

All known Subclasses:   net.sourceforge.squirrel_sql.client.session.SQLPanelAPI,
ISQLPanelAPI
public interface ISQLPanelAPI (Code)
This interface defines the API through which plugins can work with the SQL panel.
author:
   Colin Bell




Method Summary
 voidaddExecuterTabListener(ISQLResultExecuterTabListener lis)
     Add a listener for events in this sql panel executer tabs.
 voidaddExecutor(ISQLResultExecuter exec)
    
 voidaddResultTabListener(IResultTabListener lis)
     Add a listener for events in this sessions result tabs.
 voidaddSQLExecutionListener(ISQLExecutionListener lis)
     Add a listener listening for SQL Execution.
 voidaddSQLPanelListener(ISQLPanelListener lis)
     Add a listener for events in this SQL Panel.
 voidaddSQLToHistory(String sql)
     The passed SQL should be added to the SQL history.
 voidaddSqlPanelListener(SqlPanelListener sqlPanelListener)
    
 voidaddToSQLEntryAreaMenu(JMenu menu)
     Add a hierarchical menu to the SQL Entry Area popup menu.
 JMenuItemaddToSQLEntryAreaMenu(Action action)
     Add an Action to the SQL Entry Area popup menu.
 voidaddToToolsPopUp(String selectionString, Action action)
    
 voidappendSQLScript(String sqlScript)
     Append the passed SQL script to the SQL entry area but don't select it.
 voidappendSQLScript(String sqlScript, boolean select)
     Append the passed SQL script to the SQL entry area and specify whether it should be selected.
 voidcloseAllButCurrentResultTabs()
     Close all the SQL result tabs except from the selected.
 voidcloseAllSQLResultFrames()
     Close all the "torn off" SQL result frames.
 voidcloseAllSQLResultTabs()
     Close all the SQL result tabs.
 voidcloseCurrentResultTab()
     Close the selected result tab.
 booleanconfirmClose()
    
 voidexecuteCurrentSQL()
     Execute the current SQL.
 voidexecuteSQL(String sql)
     Execute the passed SQL.
 voidfileAppend()
    
 voidfileClose()
    
 voidfileNew()
    
 voidfileOpen()
    
 voidfileOpen(File f)
    
 voidfilePrint()
    
 booleanfileSave()
    
 voidfileSaveAs()
    
 StringgetEntireSQLScript()
     Return the entire contents of the SQL entry area.
 ISQLEntryPanelgetSQLEntryPanel()
    
 ArrayList<SQLHistoryItem>getSQLHistoryItems()
    
 ISQLResultExecutergetSQLResultExecuter()
    
 intgetSQLScriptSelectionEnd()
     Return the offset into the SQL entry area where the current select ends.
 intgetSQLScriptSelectionStart()
     Return the offset into the SQL entry area where the current select starts.
 StringgetSQLScriptToBeExecuted()
     Return the SQL script to be executed.
 StringgetSelectedSQLScript()
     Return the selected contents of the SQL entry area.
 ISessiongetSession()
    
 voidgotoNextResultsTab()
     Display the next tab in the SQL results.
 voidgotoPreviousResultsTab()
     Display the previous tab in the SQL results.
 booleanisInMainSessionWindow()
    
 voidremoveExecuterTabListener(ISQLResultExecuterTabListener lis)
     Remove a listener for events in this sql panel executer tabs.
 voidremoveExecutor(ISQLResultExecuter exec)
    
 voidremoveResultTabListener(IResultTabListener lis)
     Remove a listener for events in this sessions result tabs.
 voidremoveSQLExecutionListener(ISQLExecutionListener lis)
     Remove an SQL execution listener.
 voidremoveSQLPanelListener(ISQLPanelListener lis)
     Remove a listener.
 voidreplaceSelectedSQLScript(String sqlScript, boolean select)
     Replace the currently selected text in the SQL entry area with the passed text.
 voidsetEntireSQLScript(String sqlScript)
     Replace the contents of the SQL entry area with the passed SQL script without selecting it.
 voidsetEntireSQLScript(String sqlScript, boolean select)
     Replace the contents of the SQL entry area with the passed SQL script and specify whether to select it.
 voidsetSQLScriptSelectionEnd(int end)
     Set the offset into the SQL entry area where the current select ends.
 voidsetSQLScriptSelectionStart(int start)
     Set the offset into the SQL entry area where the current select starts.
 voidshowToolsPopup()
    
 voidtoggleCurrentSQLResultTabSticky()
     Toggle if all further SQL resutls should go to the current tab.



Method Detail
addExecuterTabListener
void addExecuterTabListener(ISQLResultExecuterTabListener lis)(Code)
Add a listener for events in this sql panel executer tabs.
Parameters:
  lis - The listener.



addExecutor
void addExecutor(ISQLResultExecuter exec)(Code)



addResultTabListener
void addResultTabListener(IResultTabListener lis)(Code)
Add a listener for events in this sessions result tabs.
Parameters:
  lis - The listener.



addSQLExecutionListener
void addSQLExecutionListener(ISQLExecutionListener lis)(Code)
Add a listener listening for SQL Execution.
Parameters:
  lis - Listener
throws:
  IllegalArgumentException - If a null ISQLExecutionListener passed.



addSQLPanelListener
void addSQLPanelListener(ISQLPanelListener lis)(Code)
Add a listener for events in this SQL Panel.
Parameters:
  lis - Listener
throws:
  IllegalArgumentException - If a null ISQLPanelListener passed.



addSQLToHistory
void addSQLToHistory(String sql)(Code)
The passed SQL should be added to the SQL history.
Parameters:
  sql - SQL to be added to history.
throws:
  IllegalArgumentException - Thrown if null sql passed.



addSqlPanelListener
void addSqlPanelListener(SqlPanelListener sqlPanelListener)(Code)



addToSQLEntryAreaMenu
void addToSQLEntryAreaMenu(JMenu menu)(Code)
Add a hierarchical menu to the SQL Entry Area popup menu.
Parameters:
  menu - The menu that will be added.



addToSQLEntryAreaMenu
JMenuItem addToSQLEntryAreaMenu(Action action)(Code)
Add an Action to the SQL Entry Area popup menu.
Parameters:
  action - The action to be added.



addToToolsPopUp
void addToToolsPopUp(String selectionString, Action action)(Code)



appendSQLScript
void appendSQLScript(String sqlScript)(Code)
Append the passed SQL script to the SQL entry area but don't select it.
Parameters:
  sqlScript - The script to be appended.



appendSQLScript
void appendSQLScript(String sqlScript, boolean select)(Code)
Append the passed SQL script to the SQL entry area and specify whether it should be selected.
Parameters:
  sqlScript - The script to be appended.
Parameters:
  select - If true then select the passed scriptin the sql entry area.



closeAllButCurrentResultTabs
void closeAllButCurrentResultTabs()(Code)
Close all the SQL result tabs except from the selected.



closeAllSQLResultFrames
void closeAllSQLResultFrames()(Code)
Close all the "torn off" SQL result frames.



closeAllSQLResultTabs
void closeAllSQLResultTabs()(Code)
Close all the SQL result tabs.



closeCurrentResultTab
void closeCurrentResultTab()(Code)
Close the selected result tab.



confirmClose
boolean confirmClose()(Code)



executeCurrentSQL
void executeCurrentSQL()(Code)
Execute the current SQL.



executeSQL
void executeSQL(String sql)(Code)
Execute the passed SQL.
Parameters:
  sql - SQL to be executed.



fileAppend
void fileAppend()(Code)



fileClose
void fileClose()(Code)



fileNew
void fileNew()(Code)



fileOpen
void fileOpen()(Code)



fileOpen
void fileOpen(File f)(Code)



filePrint
void filePrint()(Code)



fileSave
boolean fileSave()(Code)



fileSaveAs
void fileSaveAs()(Code)



getEntireSQLScript
String getEntireSQLScript()(Code)
Return the entire contents of the SQL entry area. the entire contents of the SQL entry area.



getSQLEntryPanel
ISQLEntryPanel getSQLEntryPanel()(Code)



getSQLHistoryItems
ArrayList<SQLHistoryItem> getSQLHistoryItems()(Code)



getSQLResultExecuter
ISQLResultExecuter getSQLResultExecuter()(Code)
Returns the result execution panel that stores such things as IResultTabs an implementation of ISQLResultExecuter



getSQLScriptSelectionEnd
int getSQLScriptSelectionEnd()(Code)
Return the offset into the SQL entry area where the current select ends. the current selections end position.



getSQLScriptSelectionStart
int getSQLScriptSelectionStart()(Code)
Return the offset into the SQL entry area where the current select starts. the current selections start position.



getSQLScriptToBeExecuted
String getSQLScriptToBeExecuted()(Code)
Return the SQL script to be executed. the SQL script to be executed.



getSelectedSQLScript
String getSelectedSQLScript()(Code)
Return the selected contents of the SQL entry area. the selected contents of the SQL entry area.



getSession
ISession getSession()(Code)



gotoNextResultsTab
void gotoNextResultsTab()(Code)
Display the next tab in the SQL results.



gotoPreviousResultsTab
void gotoPreviousResultsTab()(Code)
Display the previous tab in the SQL results.



isInMainSessionWindow
boolean isInMainSessionWindow()(Code)



removeExecuterTabListener
void removeExecuterTabListener(ISQLResultExecuterTabListener lis)(Code)
Remove a listener for events in this sql panel executer tabs.
Parameters:
  lis - The listener.



removeExecutor
void removeExecutor(ISQLResultExecuter exec)(Code)



removeResultTabListener
void removeResultTabListener(IResultTabListener lis)(Code)
Remove a listener for events in this sessions result tabs.
Parameters:
  lis - The listener.



removeSQLExecutionListener
void removeSQLExecutionListener(ISQLExecutionListener lis)(Code)
Remove an SQL execution listener.
Parameters:
  lis - Listener
throws:
  IllegalArgumentException - If a null ISQLExecutionListener passed.



removeSQLPanelListener
void removeSQLPanelListener(ISQLPanelListener lis)(Code)
Remove a listener.
Parameters:
  lis - Listener
throws:
  IllegalArgumentException - If a null ISQLPanelListener passed.



replaceSelectedSQLScript
void replaceSelectedSQLScript(String sqlScript, boolean select)(Code)
Replace the currently selected text in the SQL entry area with the passed text.
Parameters:
  sqlScript - The script to be placed in the SQL entry area.
Parameters:
  select - If true then select the passed scriptin the sql entry area.



setEntireSQLScript
void setEntireSQLScript(String sqlScript)(Code)
Replace the contents of the SQL entry area with the passed SQL script without selecting it.
Parameters:
  sqlScript - The script to be placed in the SQL entry area.



setEntireSQLScript
void setEntireSQLScript(String sqlScript, boolean select)(Code)
Replace the contents of the SQL entry area with the passed SQL script and specify whether to select it.
Parameters:
  sqlScript - The script to be placed in the SQL entry area.
Parameters:
  select - If true then select the passed scriptin the sql entry area.



setSQLScriptSelectionEnd
void setSQLScriptSelectionEnd(int end)(Code)
Set the offset into the SQL entry area where the current select ends. param start the new selections start position.



setSQLScriptSelectionStart
void setSQLScriptSelectionStart(int start)(Code)
Set the offset into the SQL entry area where the current select starts. param start the new selections start position.



showToolsPopup
void showToolsPopup()(Code)



toggleCurrentSQLResultTabSticky
void toggleCurrentSQLResultTabSticky()(Code)
Toggle if all further SQL resutls should go to the current tab.



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