Java Doc for QueryTool.java in  » Database-DBMS » hsql » org » hsqldb » util » 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 DBMS » hsql » org.hsqldb.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.awt.Panel
   java.applet.Applet
      org.hsqldb.util.QueryTool

QueryTool
public class QueryTool extends Applet implements WindowListener,ActionListener(Code)
Simple demonstration applet
author:
   Thomas Mueller (Hypersonic SQL Group)
version:
   1.7.0
since:
   Hypersonic SQL


Field Summary
 booleanbApplication
    
 ButtonbutExecutebutScript
    
 ButtonbutImport
    
 ConnectioncConn
    
 ChoicechoRecent
    
static  FramefMain
     You can start QueryTool without a browser and applet using using this method.
 GridgResult
    
static  intiMaxRecent
    
 intiRecent
    
static  PropertiespProperties
    
 String[]sRecent
    
 StatementsStatement
    
static  String[]sTestData
    
 TextAreatxtCommand
    


Method Summary
public  booleanaction(Event evt, Object arg)
     This is function handles the events when a button is clicked or when the used double-clicked on the listbox of recent commands.
public  voidactionPerformed(ActionEvent ev)
    
 voidformatResultSet(ResultSet r)
    
 StringgetImport()
    
 StringgetScript()
    
public  voidinit()
     Initializes the window and the database and inserts some test data.
 voidinsertTestData()
    
public static  voidmain(String[] arg)
    
static  voidprintHelp()
    
 voidtrace(String s)
    
public  voidwindowActivated(WindowEvent e)
    
public  voidwindowClosed(WindowEvent e)
    
public  voidwindowClosing(WindowEvent ev)
    
public  voidwindowDeactivated(WindowEvent e)
    
public  voidwindowDeiconified(WindowEvent e)
    
public  voidwindowIconified(WindowEvent e)
    
public  voidwindowOpened(WindowEvent e)
    

Field Detail
bApplication
boolean bApplication(Code)



butExecutebutScript
Button butExecutebutScript(Code)



butImport
Button butImport(Code)



cConn
Connection cConn(Code)



choRecent
Choice choRecent(Code)



fMain
static Frame fMain(Code)
You can start QueryTool without a browser and applet using using this method. Type 'java QueryTool' to start it. This is necessary if you want to use the standalone version because appletviewer and internet browers do not allow the applet to write to disk.



gResult
Grid gResult(Code)



iMaxRecent
static int iMaxRecent(Code)



iRecent
int iRecent(Code)



pProperties
static Properties pProperties(Code)



sRecent
String[] sRecent(Code)



sStatement
Statement sStatement(Code)



sTestData
static String[] sTestData(Code)



txtCommand
TextArea txtCommand(Code)





Method Detail
action
public boolean action(Event evt, Object arg)(Code)
This is function handles the events when a button is clicked or when the used double-clicked on the listbox of recent commands.



actionPerformed
public void actionPerformed(ActionEvent ev)(Code)
Method declaration
Parameters:
  ev -



formatResultSet
void formatResultSet(ResultSet r)(Code)
Method declaration
Parameters:
  r -



getImport
String getImport()(Code)
Method declaration



getScript
String getScript()(Code)
Method declaration



init
public void init()(Code)
Initializes the window and the database and inserts some test data.



insertTestData
void insertTestData()(Code)
Method declaration



main
public static void main(String[] arg)(Code)
Method declaration
Parameters:
  arg -



printHelp
static void printHelp()(Code)
Method declaration



trace
void trace(String s)(Code)
Method declaration
Parameters:
  s -



windowActivated
public void windowActivated(WindowEvent e)(Code)
Method declaration
Parameters:
  e -



windowClosed
public void windowClosed(WindowEvent e)(Code)
Method declaration
Parameters:
  e -



windowClosing
public void windowClosing(WindowEvent ev)(Code)
Method declaration
Parameters:
  ev -



windowDeactivated
public void windowDeactivated(WindowEvent e)(Code)
Method declaration
Parameters:
  e -



windowDeiconified
public void windowDeiconified(WindowEvent e)(Code)
Method declaration
Parameters:
  e -



windowIconified
public void windowIconified(WindowEvent e)(Code)
Method declaration
Parameters:
  e -



windowOpened
public void windowOpened(WindowEvent e)(Code)
Method declaration
Parameters:
  e -



Methods inherited from java.applet.Applet
public void destroy()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public AppletContext getAppletContext()(Code)(Java Doc)
public String getAppletInfo()(Code)(Java Doc)
public AudioClip getAudioClip(URL url)(Code)(Java Doc)
public AudioClip getAudioClip(URL url, String name)(Code)(Java Doc)
public URL getCodeBase()(Code)(Java Doc)
public URL getDocumentBase()(Code)(Java Doc)
public Image getImage(URL url)(Code)(Java Doc)
public Image getImage(URL url, String name)(Code)(Java Doc)
public Locale getLocale()(Code)(Java Doc)
public String getParameter(String name)(Code)(Java Doc)
public String[][] getParameterInfo()(Code)(Java Doc)
public void init()(Code)(Java Doc)
public boolean isActive()(Code)(Java Doc)
final public static AudioClip newAudioClip(URL url)(Code)(Java Doc)
public void play(URL url)(Code)(Java Doc)
public void play(URL url, String name)(Code)(Java Doc)
public void resize(int width, int height)(Code)(Java Doc)
public void resize(Dimension d)(Code)(Java Doc)
final public void setStub(AppletStub stub)(Code)(Java Doc)
public void showStatus(String msg)(Code)(Java Doc)
public void start()(Code)(Java Doc)
public void stop()(Code)(Java Doc)

Methods inherited from java.awt.Panel
public void addNotify()(Code)(Java Doc)
public AccessibleContext getAccessibleContext()(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.