com.openindex.openestate.tool.utils
Class QuickTableExport

java.lang.Object
  extended by com.openindex.openestate.tool.utils.QuickTableExport

public class QuickTableExport
extends Object

QuickTableExport.
$Id: QuickTableExport.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Method Summary
static org.jdesktop.swingx.table.ColumnControlButton createColumnControl(org.jdesktop.swingx.JXTable table)
           
 void doExportCsv()
           
 void doExportPdf()
           
 void doExportXls()
           
static DateFormat getDateFormat()
           
static void writeCsv(org.jdesktop.swingx.JXTable table, File file)
           
static void writePdf(org.jdesktop.swingx.JXTable table, com.lowagie.text.Rectangle pageSize, File file)
           
static void writeXls(org.jdesktop.swingx.JXTable table, File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createColumnControl

public static org.jdesktop.swingx.table.ColumnControlButton createColumnControl(org.jdesktop.swingx.JXTable table)

doExportCsv

@Action
public void doExportCsv()

doExportPdf

@Action
public void doExportPdf()

doExportXls

@Action
public void doExportXls()

getDateFormat

public static DateFormat getDateFormat()

writeCsv

public static void writeCsv(org.jdesktop.swingx.JXTable table,
                            File file)
                     throws IOException
Throws:
IOException

writePdf

public static void writePdf(org.jdesktop.swingx.JXTable table,
                            com.lowagie.text.Rectangle pageSize,
                            File file)
                     throws com.lowagie.text.DocumentException,
                            FileNotFoundException
Throws:
com.lowagie.text.DocumentException
FileNotFoundException

writeXls

public static void writeXls(org.jdesktop.swingx.JXTable table,
                            File file)
                     throws IOException,
                            jxl.write.WriteException
Throws:
IOException
jxl.write.WriteException


Copyright © 2012 OpenEstate. All Rights Reserved.