Java Doc for ResultSetTablePanel.java in  » IDE-Netbeans » etl.project » org » netbeans » modules » sql » framework » ui » output » dataview » 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 » IDE Netbeans » etl.project » org.netbeans.modules.sql.framework.ui.output.dataview 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   org.netbeans.modules.sql.framework.ui.output.dataview.ResultSetTablePanel

ResultSetTablePanel
public class ResultSetTablePanel extends JPanel (Code)
Renders rows and columns of an arbitrary ResultSet via JTable.
author:
   Jonathan Giron
author:
   Ahimanikya Satapathy
version:
   $Revision$


Field Summary
 intMAX_COLUMN_WIDTH
    
protected  TableModelmodel
    
protected  JTabletable
    

Constructor Summary
public  ResultSetTablePanel()
     Constructs empty instance of SQLResultSetTableView.
public  ResultSetTablePanel(DataOutputPanel panel)
    
public  ResultSetTablePanel(Map rsMap)
     Constructs instance of SQLResultSetTableView to display the result sets contained in the given Map.
public  ResultSetTablePanel(ResultSet rs)
     Constructs instance of SQLResultSetTableView to display the given result set.

Method Summary
public  voidclearView()
    
 voidcloseResources(PreparedStatement pstmt, Connection conn)
    
 TableModelcreateModelFrom(ResultSet rs, int maxRowsToShow, int startFrom)
    
 TableModelcreateModelFrom(ResultSet rs, int maxRowsToShow)
    
public  intexecuteDeleteRow(DBTableMetadata meta, int rowNum)
    
public  voidfireTableModelChange()
    
 List<Integer>getColumnWidthList(ResultSetMetaData md)
    
public  ListgetTypeList(String key)
    
public  Set<String>getUpdateKeys()
    
public  StringgetUpdateStmt(String key)
    
public  ListgetValueList(String key)
    
public  booleanisDirty()
    
public  voidsetDirtyStatus(boolean dirty)
    
public  voidsetEditable(boolean edit)
    
 voidsetHeader(JTable table, List<Integer> columnWidthList)
    
public  voidsetResultSet(Map rsMap)
     Updates this view's data model with the results sets contained in the given Map.
public  voidsetResultSet(ResultSet rs)
     Updates this view's data model to display the contents of the given ResultSet.
public  voidsetResultSet(ResultSet rs, int maxRowsToShow, int startFrom)
     Updates this view's data model to display the contents of the given ResultSet.

Field Detail
MAX_COLUMN_WIDTH
int MAX_COLUMN_WIDTH(Code)



model
protected TableModel model(Code)



table
protected JTable table(Code)




Constructor Detail
ResultSetTablePanel
public ResultSetTablePanel()(Code)
Constructs empty instance of SQLResultSetTableView. Call setResultSet(ResultSet) to display the contents of a given ResultSet.
See Also:   ResultSetTablePanel.setResultSet



ResultSetTablePanel
public ResultSetTablePanel(DataOutputPanel panel)(Code)



ResultSetTablePanel
public ResultSetTablePanel(Map rsMap)(Code)
Constructs instance of SQLResultSetTableView to display the result sets contained in the given Map.
Parameters:
  rsMap - Map of ResultSets; possibly empty



ResultSetTablePanel
public ResultSetTablePanel(ResultSet rs)(Code)
Constructs instance of SQLResultSetTableView to display the given result set.
Parameters:
  rsMap - ResultSet




Method Detail
clearView
public void clearView()(Code)



closeResources
void closeResources(PreparedStatement pstmt, Connection conn)(Code)



createModelFrom
TableModel createModelFrom(ResultSet rs, int maxRowsToShow, int startFrom)(Code)
create a table model
Parameters:
  rs - resultset TableModel



createModelFrom
TableModel createModelFrom(ResultSet rs, int maxRowsToShow)(Code)
create a table model
Parameters:
  rsMap - resultset TableModel



executeDeleteRow
public int executeDeleteRow(DBTableMetadata meta, int rowNum)(Code)



fireTableModelChange
public void fireTableModelChange()(Code)



getColumnWidthList
List<Integer> getColumnWidthList(ResultSetMetaData md)(Code)



getTypeList
public List getTypeList(String key)(Code)



getUpdateKeys
public Set<String> getUpdateKeys()(Code)



getUpdateStmt
public String getUpdateStmt(String key)(Code)



getValueList
public List getValueList(String key)(Code)



isDirty
public boolean isDirty()(Code)



setDirtyStatus
public void setDirtyStatus(boolean dirty)(Code)



setEditable
public void setEditable(boolean edit)(Code)



setHeader
void setHeader(JTable table, List<Integer> columnWidthList)(Code)



setResultSet
public void setResultSet(Map rsMap)(Code)
Updates this view's data model with the results sets contained in the given Map.
Parameters:
  rsMap - Map of ResultSets; possibly empty



setResultSet
public void setResultSet(ResultSet rs)(Code)
Updates this view's data model to display the contents of the given ResultSet.
Parameters:
  rsMap - new ResultSet to be displayed.



setResultSet
public void setResultSet(ResultSet rs, int maxRowsToShow, int startFrom)(Code)
Updates this view's data model to display the contents of the given ResultSet.
Parameters:
  rsMap - new ResultSet to be displayed.



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)

ww__w.__j__a_v___a_2s_._c___om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.