JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.page
Class JCPageTableFromJDBC

java.lang.Object
  |
  +--com.klg.jclass.page.JCPageTableFromJDBC

public class JCPageTableFromJDBC
extends Object

Creates a JCPageTable from a JDBC ResultSet.


Field Summary
static com.klg.jclass.page.JCTextStyle defStyle
           
 
Constructor Summary
JCPageTableFromJDBC()
           
 
Method Summary
static com.klg.jclass.page.JCPageTable createTable(com.klg.jclass.page.JCDocument doc, ResultSet resultSet)
          Creates a JCPageTable from a JDBC ResultSet and populates it with the data from that result set.
static com.klg.jclass.page.JCPageTable createTable(com.klg.jclass.page.JCDocument doc, ResultSet resultSet, boolean populate)
          Creates a JCPageTable from a JDBC ResultSet.
protected static com.klg.jclass.page.JCTextStyle deriveCellStyle(JCPageTable.Cell cell)
           
static void populateTable(com.klg.jclass.page.JCPageTable table, ResultSet resultSet)
          Populates an existing JCPageTable from a JDBC ResultSet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defStyle

public static com.klg.jclass.page.JCTextStyle defStyle
Constructor Detail

JCPageTableFromJDBC

public JCPageTableFromJDBC()
Method Detail

createTable

public static com.klg.jclass.page.JCPageTable createTable(com.klg.jclass.page.JCDocument doc,
                                                          ResultSet resultSet)
Creates a JCPageTable from a JDBC ResultSet and populates it with the data from that result set.

Parameters:
doc -
resultSet -
Returns:

createTable

public static com.klg.jclass.page.JCPageTable createTable(com.klg.jclass.page.JCDocument doc,
                                                          ResultSet resultSet,
                                                          boolean populate)
Creates a JCPageTable from a JDBC ResultSet. If populate is true, then the table will be populated with the contents of the result set.

Parameters:
doc -
resultSet -
populate -
Returns:

populateTable

public static void populateTable(com.klg.jclass.page.JCPageTable table,
                                 ResultSet resultSet)
Populates an existing JCPageTable from a JDBC ResultSet.

Parameters:
table -
resultSet -

deriveCellStyle

protected static com.klg.jclass.page.JCTextStyle deriveCellStyle(JCPageTable.Cell cell)

Copyright © 2004 Quest Software Inc..
All rights reserved.