A C D E F G M O Q R S T U W

A

actionPerformed(ActionEvent) - Method in class FM
 
appendLog(String, String) - Static method in class FM
Append one entry to the log file(index.html)

C

clear() - Method in class TableComponent
 
closeLog() - Static method in class FM
closes the log file invoked then the application closes
convertUml(StringBuffer) - Static method in class TableComponent
MacOs and Windows Version of the Method converts german umlaute to html ¨aute;

D

DBBean - class DBBean.
DBBean - Database bean a Javabean to perform queries on a JDBC Database, or excute any other SQL statement Usage: DBean bean = new DBBean(); // setting user and passwd bean.setUserAndPasswd("bla","bla"); try { bean.setConnection("jdbc:fmpro:http://localhost"); Vector names=bean.getTableNames(); Vector[] result=bean.getQueryData(names.get(0).toString()); // print results to screen for(int i=0;i<result[1].size();++i) { //print Header System.out.print(" "+result[1].get(i)); } System.out.println(); for(int j=0;j<result[0].size();++j) { Vector row=(Vector)result[0].get(j); //print rows for(int k=0;k<row.size();++k) System.out.print(" "+row.get(k)); System.out.println(); } } catch(Exception e) { System.out.println("Error while connecting to database"+ e); }
DBBean() - Constructor for class DBBean
Constructs a database bean
DBBean(String) - Constructor for class DBBean
Constructs a database bean and tries to connect to database specified in the jdbcConnectionURL
DBFront - class DBFront.
 
DBFront() - Constructor for class DBFront
 
disable(boolean) - Method in class TableComponent
 

E

enlarge(int, int) - Method in class TableComponent
 
exportQueryToHTML(String) - Method in class ResultWindow
exports the current results to HTML
exportToHTML() - Method in class TableComponent
exports the current data in this tablecomponent to HTML

F

FM - class FM.

FileMaker Test (JDBC Database Driver Test) Main class : contains the main Frame, all event handlers etc
The Database access is made over DBBean class all other classes are just for the visualization of the data
FM() - Constructor for class FM
tries to connect to database specified in url-Variable. initializes all GUI components, then fails throws an exception

G

getColumnNames() - Method in class DBBean
 
getColumnNames() - Method in class DBFront
 
getConnection() - Method in class DBBean
returns the Connection if null creates a new one from the url property.
getLayoutNames(String) - Method in class DBBean
returns a Vector containing the layoutNames for the specified Table if the database supports this otherwise Vector containing an empty String
getMaxHeaderWidth() - Method in class TableComponent
 
getMaxHits() - Method in class DBBean
gets the maximum number of hits
getNextRow() - Method in class DBBean
 
getNextRow() - Method in class DBFront
 
getQueryData() - Method in class DBFront
 
getQueryData(String) - Method in class DBBean
Returns the result for select * from table with maxHits = 500 default value
getQueryData(String, int) - Method in class DBBean
Returns the result of the query or an Vector array of Vectors containing error messages
getTableNames() - Method in class DBBean
returns a Vector containing the Tablenames or an error message in the Vector

M

main(String[]) - Static method in class FM
 
makeQuery(String, int) - Method in class DBBean
makes the database Query with the numberOfHits as maximum
maxHits - Variable in class DBBean
 

O

openLog() - Static method in class FM
open the log file (index.html)

Q

query() - Method in class DBFront
 
query(String) - Method in class DBFront
 
query(String, String) - Method in class DBFront
 

R

ResultWindow - class ResultWindow.
ResultWindow - used to display the results of the query
ResultWindow(JFrame) - Constructor for class ResultWindow
Constructs the result Window with the JFrame argument as parent

S

setConnection(String) - Method in class DBBean
sets the connection of this DBBean to the database specified in the url property
setConnection(String) - Method in class DBFront
 
setConnection(String, String, String) - Method in class DBBean
sets the connection of this DBBean to the database specified in the url and the url,user and passwd property of this DBBean instance
setConnection(String, String, String) - Method in class DBFront
 
setData(Object[][]) - Method in class TableComponent
Fills the table with the array of Objects
setEnabled(boolean) - Method in class TableComponent
 
setMaxHits(int) - Method in class DBBean
sets the maximum number of hits
setPasswd(String) - Method in class DBBean
sets the database passwd
setPasswd(String) - Method in class DBFront
 
setQuery(String) - Method in class DBFront
 
setURL(String) - Method in class DBBean
just sets the connection URL
setURL(String) - Method in class DBFront
 
setUrlAndQuery(String, String) - Method in class DBFront
 
setUser(String) - Method in class DBBean
sets the database user
setUser(String) - Method in class DBFront
 
setUserAndPasswd(String, String) - Method in class DBBean
sets the database user and passwd
setUserAndPasswd(String, String) - Method in class DBFront
 
sizeToFit(int, int) - Method in class TableComponent
 

T

tableChanged(TableModelEvent) - Method in class FM
invoked then the user changes the table or the tableModel changes
tableChanged(TableModelEvent) - Method in class TableComponent
 
TableComponent - class TableComponent.
Table component
TableComponent() - Constructor for class TableComponent
Constructs an empty table with default header and dummy data
TestDB(DatabaseMetaData) - Method in class DBBean
Test the database drivers features given by the DatabaseMetaData object
testQuery(String) - Method in class FM
Test the specified Query and display the result

U

updateResult(Vector, Vector) - Method in class ResultWindow
Fills the table component of this window with new data

W

writeResult() - Method in class ResultWindow
Actual write the result to a file( in HTML)

A C D E F G M O Q R S T U W