Java Doc for DatabaseManager.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.DatabaseManager

All known Subclasses:   org.hsqldb.util.ZaurusDatabaseManager,  org.hsqldb.sample.DatabaseManagerSample,
DatabaseManager
public class DatabaseManager extends Applet implements ActionListener,WindowListener,KeyListener(Code)
AWT Tool for manageing a JDBC database.

 Usage: java DatabaseManagerSwing [--options]
 where options include:
 --driver   jdbc driver class
 --url           jdbc url
 --user          username used for connection
 --password  password for this user
 --urlid        get connection info from RC file
 --rcfile        use instead of default (with urlid)
 --dir           default directory
 --script        reads from script file
 
Tue Apr 26 16:38:54 EDT 2005 Switched default switch method from "-switch" to "--switch" because "-switch" usage is ambiguous as used here. Single switches should be reserved for single-letter switches which can be mixed like "-u -r -l" = "-url". -blaine
author:
   Thomas Mueller (Hypersonic SQL Group)
version:
   1.8.0
since:
   Hypersonic SQL


Field Summary
final static  StringNL
    
 booleanbHelp
    
static  booleanbMustExit
    
 ButtonbutClear
    
 ButtonbutExecute
    
 ConnectioncConn
    
 DatabaseMetaDatadMeta
    
static  StringdefDirectory
    
static  StringdefDriver
    
static  StringdefPassword
    
static  StringdefScript
    
static  StringdefURL
    
static  StringdefUser
    
 FramefMain
    
 GridgResult
    
final static  intiMaxRecent
    
 intiRecent
    
 intiResult
    
 StringifHuge
    
 ImageimgEmpty
    
 longlTime
    
 MenumRecent
    
 PanelpResult
    
 String[]sRecent
    
 StatementsStatement
    
 TreetTree
    
 TextAreatxtCommand
    
 TextAreatxtResult
    


Method Summary
public  voidactionPerformed(ActionEvent ev)
    
 voidaddMenu(MenuBar b, String name, String[] items)
    
 voidaddMenuItems(Menu f, String[] m)
    
 voidclear()
     Method declaration Clear SQL Statements.
public  voidconnect(Connection c)
    
 voidexecute()
     Method declaration Adjust this method for large strings...ie multi megabtypes.
 voidformatResultSet(ResultSet r)
    
public  voidinit()
    
 voidinsertTestData()
    
public  voidkeyPressed(KeyEvent k)
    
public  voidkeyReleased(KeyEvent k)
    
public  voidkeyTyped(KeyEvent k)
    
public static  voidmain(String[] arg)
    
public  voidmain()
    
protected  voidrefreshTree()
    
 voidsaveAsCsv(String filename)
    
 voidshowHelp(String[] help)
    
 voidshowResultInText()
    
 voidtestPerformance()
    
 voidupdateResult()
    
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
NL
final static String NL(Code)



bHelp
boolean bHelp(Code)



bMustExit
static boolean bMustExit(Code)



butClear
Button butClear(Code)



butExecute
Button butExecute(Code)



cConn
Connection cConn(Code)



dMeta
DatabaseMetaData dMeta(Code)



defDirectory
static String defDirectory(Code)



defDriver
static String defDriver(Code)



defPassword
static String defPassword(Code)



defScript
static String defScript(Code)



defURL
static String defURL(Code)



defUser
static String defUser(Code)



fMain
Frame fMain(Code)



gResult
Grid gResult(Code)



iMaxRecent
final static int iMaxRecent(Code)



iRecent
int iRecent(Code)



iResult
int iResult(Code)



ifHuge
String ifHuge(Code)



imgEmpty
Image imgEmpty(Code)



lTime
long lTime(Code)



mRecent
Menu mRecent(Code)



pResult
Panel pResult(Code)



sRecent
String[] sRecent(Code)



sStatement
Statement sStatement(Code)



tTree
Tree tTree(Code)



txtCommand
TextArea txtCommand(Code)



txtResult
TextArea txtResult(Code)





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



addMenu
void addMenu(MenuBar b, String name, String[] items)(Code)
Method declaration
Parameters:
  b -
Parameters:
  name -
Parameters:
  items -



addMenuItems
void addMenuItems(Menu f, String[] m)(Code)
Method declaration
Parameters:
  f -
Parameters:
  m -



clear
void clear()(Code)
Method declaration Clear SQL Statements.



connect
public void connect(Connection c)(Code)
Method declaration
Parameters:
  c -



execute
void execute()(Code)
Method declaration Adjust this method for large strings...ie multi megabtypes.



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



init
public void init()(Code)
Method declaration



insertTestData
void insertTestData()(Code)
Method declaration



keyPressed
public void keyPressed(KeyEvent k)(Code)
Method declaration
Parameters:
  k -



keyReleased
public void keyReleased(KeyEvent k)(Code)
Method declaration
Parameters:
  k -



keyTyped
public void keyTyped(KeyEvent k)(Code)
Method declaration
Parameters:
  k -



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



main
public void main()(Code)
Method declaration



refreshTree
protected void refreshTree()(Code)
Method declaration



saveAsCsv
void saveAsCsv(String filename)(Code)



showHelp
void showHelp(String[] help)(Code)
Method declaration
Parameters:
  s -
Parameters:
  help -



showResultInText
void showResultInText()(Code)
Method declaration



testPerformance
void testPerformance()(Code)
Method declaration



updateResult
void updateResult()(Code)
Method declaration



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.