Java Doc for DataPumper.java in  » Database-Client » SQL-Workbench » workbench » gui » tools » 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 » SQL Workbench » workbench.gui.tools 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   workbench.gui.tools.DataPumper

DataPumper
public class DataPumper extends JPanel implements ActionListener,WindowListener,PropertyChangeListener,RowActionMonitor,ToolWindow,StatusBar(Code)
A GUI frontend to the workbench.db.datacopy.DataCopier and workbench.db.importer.DataImporter tools.
author:
   support@sql-workbench.net


Field Summary
protected  javax.swing.JTextFieldbatchSize
    
protected  javax.swing.JLabelbatchSizeLabel
    
protected  javax.swing.JPanelbuttonPanel
    
protected  javax.swing.JButtoncancelButton
    
protected  javax.swing.JButtoncheckQueryButton
    
protected  javax.swing.JButtoncloseButton
    
protected  javax.swing.JTextFieldcommitEvery
    
protected  javax.swing.JLabelcommitLabel
    
protected  AutoCompletionActioncompletionAction
    
protected  javax.swing.JCheckBoxcontinueOnErrorCbx
    
protected  booleancopyRunning
    
protected  javax.swing.JCheckBoxdeleteTargetCbx
    
protected  javax.swing.JCheckBoxdropTargetCbx
    
protected  javax.swing.JButtonhelpButton
    
 booleanisConnecting
    
protected  javax.swing.JLabeljLabel1
    
protected  javax.swing.JPaneljPanel1
    
protected  javax.swing.JPaneljPanel2
    
protected  javax.swing.JPaneljPanel3
    
protected  javax.swing.JPaneljPanel4
    
protected  javax.swing.JPaneljPanel5
    
protected  javax.swing.JSplitPanejSplitPane1
    
protected  javax.swing.JPanelmapperPanel
    
protected  javax.swing.JComboBoxmodeComboBox
    
protected  javax.swing.JLabelmodeLabel
    
protected  javax.swing.JButtonopenFileButton
    
protected  javax.swing.JPaneloptionsPanel
    
protected  javax.swing.JButtonselectSourceButton
    
protected  javax.swing.JButtonselectTargetButton
    
protected  javax.swing.JButtonshowLogButton
    
protected  javax.swing.JButtonshowWbCommand
    
protected  WbConnectionsourceConnection
    
protected  javax.swing.JLabelsourceHeader
    
protected  javax.swing.JLabelsourceProfileLabel
    
protected  javax.swing.JPanelsourceProfilePanel
    
protected  workbench.gui.tools.TableSelectorPanelsourceTable
    
protected  javax.swing.JLabelsqlEditorLabel
    
protected  javax.swing.JPanelsqlPanel
    
protected  javax.swing.JButtonstartButton
    
protected  javax.swing.JLabelstatusLabel
    
protected  WbConnectiontargetConnection
    
protected  javax.swing.JLabeltargetHeader
    
protected  javax.swing.JLabeltargetProfileLabel
    
protected  javax.swing.JPaneltargetProfilePanel
    
protected  workbench.gui.tools.TableSelectorPaneltargetTable
    
protected  javax.swing.JPanelupdateOptionPanel
    
protected  javax.swing.JCheckBoxuseQueryCbx
    
protected  javax.swing.JPanelwherePanel
    

Constructor Summary
public  DataPumper(ConnectionProfile source, ConnectionProfile target)
    

Method Summary
public  voidactionPerformed(java.awt.event.ActionEvent e)
    
public  voidactivate()
    
protected  voidcheckConnections()
    
public  voidclearStatusMessage()
    
public  voidcloseWindow()
    
public  voiddisconnect()
    
protected  voiddoCancel()
    
public  voiddone()
    
protected  intgetBatchSize()
    
public  WbConnectiongetConnection()
    
public  intgetMonitorType()
    
public  StringgetText()
    
public  booleanhasSource()
    
protected  voidinitColumnMapper()
    
public  booleanisRunning()
    
public  voidjobFinished()
    
public  voidpropertyChange(java.beans.PropertyChangeEvent evt)
     We have registered with both table selectors to be informed when the user changes the selection.
public  voidrestoreSettings()
    
public  voidrestoreType(String type)
    
public  voidsaveCurrentType(String type)
    
public  voidsaveSettings()
    
public  voidsetCurrentObject(String object, long currentRow, long total)
    
public  voidsetCurrentRow(long currentRow, long totalRows)
    
public  voidsetMonitorType(int aType)
    
public  voidsetStatusMessage(String message)
    
protected  voidshowLog()
    
public  voidshowWindow(MainWindow aParent)
    
protected  voidunregister()
    
protected  voidupdateWindowTitle()
    
public  voidwindowActivated(java.awt.event.WindowEvent e)
    
public  voidwindowClosed(java.awt.event.WindowEvent e)
    
public  voidwindowClosing(java.awt.event.WindowEvent e)
    
public  voidwindowDeactivated(java.awt.event.WindowEvent e)
    
public  voidwindowDeiconified(java.awt.event.WindowEvent e)
    
public  voidwindowIconified(java.awt.event.WindowEvent e)
    
public  voidwindowOpened(java.awt.event.WindowEvent e)
    

Field Detail
batchSize
protected javax.swing.JTextField batchSize(Code)



batchSizeLabel
protected javax.swing.JLabel batchSizeLabel(Code)



buttonPanel
protected javax.swing.JPanel buttonPanel(Code)



cancelButton
protected javax.swing.JButton cancelButton(Code)



checkQueryButton
protected javax.swing.JButton checkQueryButton(Code)



closeButton
protected javax.swing.JButton closeButton(Code)



commitEvery
protected javax.swing.JTextField commitEvery(Code)



commitLabel
protected javax.swing.JLabel commitLabel(Code)



completionAction
protected AutoCompletionAction completionAction(Code)



continueOnErrorCbx
protected javax.swing.JCheckBox continueOnErrorCbx(Code)



copyRunning
protected boolean copyRunning(Code)



deleteTargetCbx
protected javax.swing.JCheckBox deleteTargetCbx(Code)



dropTargetCbx
protected javax.swing.JCheckBox dropTargetCbx(Code)



helpButton
protected javax.swing.JButton helpButton(Code)



isConnecting
boolean isConnecting(Code)



jLabel1
protected javax.swing.JLabel jLabel1(Code)



jPanel1
protected javax.swing.JPanel jPanel1(Code)



jPanel2
protected javax.swing.JPanel jPanel2(Code)



jPanel3
protected javax.swing.JPanel jPanel3(Code)



jPanel4
protected javax.swing.JPanel jPanel4(Code)



jPanel5
protected javax.swing.JPanel jPanel5(Code)



jSplitPane1
protected javax.swing.JSplitPane jSplitPane1(Code)



mapperPanel
protected javax.swing.JPanel mapperPanel(Code)



modeComboBox
protected javax.swing.JComboBox modeComboBox(Code)



modeLabel
protected javax.swing.JLabel modeLabel(Code)



openFileButton
protected javax.swing.JButton openFileButton(Code)



optionsPanel
protected javax.swing.JPanel optionsPanel(Code)



selectSourceButton
protected javax.swing.JButton selectSourceButton(Code)



selectTargetButton
protected javax.swing.JButton selectTargetButton(Code)



showLogButton
protected javax.swing.JButton showLogButton(Code)



showWbCommand
protected javax.swing.JButton showWbCommand(Code)



sourceConnection
protected WbConnection sourceConnection(Code)



sourceHeader
protected javax.swing.JLabel sourceHeader(Code)



sourceProfileLabel
protected javax.swing.JLabel sourceProfileLabel(Code)



sourceProfilePanel
protected javax.swing.JPanel sourceProfilePanel(Code)



sourceTable
protected workbench.gui.tools.TableSelectorPanel sourceTable(Code)



sqlEditorLabel
protected javax.swing.JLabel sqlEditorLabel(Code)



sqlPanel
protected javax.swing.JPanel sqlPanel(Code)



startButton
protected javax.swing.JButton startButton(Code)



statusLabel
protected javax.swing.JLabel statusLabel(Code)



targetConnection
protected WbConnection targetConnection(Code)



targetHeader
protected javax.swing.JLabel targetHeader(Code)



targetProfileLabel
protected javax.swing.JLabel targetProfileLabel(Code)



targetProfilePanel
protected javax.swing.JPanel targetProfilePanel(Code)



targetTable
protected workbench.gui.tools.TableSelectorPanel targetTable(Code)



updateOptionPanel
protected javax.swing.JPanel updateOptionPanel(Code)



useQueryCbx
protected javax.swing.JCheckBox useQueryCbx(Code)



wherePanel
protected javax.swing.JPanel wherePanel(Code)




Constructor Detail
DataPumper
public DataPumper(ConnectionProfile source, ConnectionProfile target)(Code)




Method Detail
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)(Code)



activate
public void activate()(Code)



checkConnections
protected void checkConnections()(Code)



clearStatusMessage
public void clearStatusMessage()(Code)



closeWindow
public void closeWindow()(Code)



disconnect
public void disconnect()(Code)



doCancel
protected void doCancel()(Code)



done
public void done()(Code)



getBatchSize
protected int getBatchSize()(Code)



getConnection
public WbConnection getConnection()(Code)



getMonitorType
public int getMonitorType()(Code)



getText
public String getText()(Code)



hasSource
public boolean hasSource()(Code)



initColumnMapper
protected void initColumnMapper()(Code)



isRunning
public boolean isRunning()(Code)



jobFinished
public void jobFinished()(Code)



propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)(Code)
We have registered with both table selectors to be informed when the user changes the selection. After each change (and we don't actually care where it came from) the tables are checked, and if both are present, we'll initialize the ColumnMapper



restoreSettings
public void restoreSettings()(Code)



restoreType
public void restoreType(String type)(Code)



saveCurrentType
public void saveCurrentType(String type)(Code)



saveSettings
public void saveSettings()(Code)



setCurrentObject
public void setCurrentObject(String object, long currentRow, long total)(Code)



setCurrentRow
public void setCurrentRow(long currentRow, long totalRows)(Code)



setMonitorType
public void setMonitorType(int aType)(Code)



setStatusMessage
public void setStatusMessage(String message)(Code)



showLog
protected void showLog()(Code)



showWindow
public void showWindow(MainWindow aParent)(Code)



unregister
protected void unregister()(Code)



updateWindowTitle
protected void updateWindowTitle()(Code)



windowActivated
public void windowActivated(java.awt.event.WindowEvent e)(Code)



windowClosed
public void windowClosed(java.awt.event.WindowEvent e)(Code)



windowClosing
public void windowClosing(java.awt.event.WindowEvent e)(Code)



windowDeactivated
public void windowDeactivated(java.awt.event.WindowEvent e)(Code)



windowDeiconified
public void windowDeiconified(java.awt.event.WindowEvent e)(Code)



windowIconified
public void windowIconified(java.awt.event.WindowEvent e)(Code)



windowOpened
public void windowOpened(java.awt.event.WindowEvent e)(Code)



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(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.