XlsType
- Klasse des XLS-Quellobjektespublic abstract class XlsExportTask<XlsType> extends ImmoToolTask<Long,Void>
ImmoToolTask
zum Export von Excel-Tabellen.ImmoToolTask.Adapter, ImmoToolTask.Callback, ImmoToolTask.Listener
SwingWorker.StateValue
Modifier | Constructor and Description |
---|---|
protected |
XlsExportTask(AbstractDbDriver dbDriver,
File xlsFile,
Charset xlsCharset,
String xlsTitle) |
Modifier and Type | Method and Description |
---|---|
protected jxl.write.WritableWorkbook |
createWorkbook(File f,
jxl.WorkbookSettings settings) |
protected Long |
doInBackground() |
protected Long |
executeExport() |
AbstractDbDriver |
getDbDriver() |
protected abstract String |
getFieldTitle(int index) |
protected jxl.write.WritableCellFormat |
getFootlineFormat(boolean bold) |
protected jxl.write.WritableCellFormat |
getHeadlineFormat(boolean bold) |
protected int |
getHeadlineRowspan() |
protected String[] |
getHeadlineValues(int index) |
protected jxl.write.WritableCellFormat |
getRow1Format() |
protected jxl.write.WritableCellFormat |
getRow2Format() |
File |
getXlsFile() |
protected abstract String[] |
loadEmptyContainer() |
protected abstract XlsType[] |
loadXlsObjects() |
protected void |
writeValue(int field,
String value,
String[] values) |
protected abstract void |
writeValues(XlsType src,
String[] dest) |
addListener, cancelled, checkCancelled, createCallback, done, executeAndWait, executeAndWait, failed, finished, getDescription, getId, getMessage, getParentWindow, getTaskDialog, getTitle, isCancelException, isPending, isStarted, process, propertyChange, removeListener, setDescription, setMessage, setParentWindow, setProgress, setProgress, setProgress, setProgress, setTaskDialog, setTitle, succeeded
addPropertyChangeListener, cancel, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, publish, removePropertyChangeListener, run, setProgress
protected XlsExportTask(AbstractDbDriver dbDriver, File xlsFile, Charset xlsCharset, String xlsTitle)
protected jxl.write.WritableWorkbook createWorkbook(File f, jxl.WorkbookSettings settings) throws IOException
IOException
protected Long doInBackground() throws Exception
doInBackground
in class ImmoToolTask<Long,Void>
Exception
protected Long executeExport() throws IOException, jxl.write.WriteException, SQLException
IOException
jxl.write.WriteException
SQLException
public AbstractDbDriver getDbDriver()
protected abstract String getFieldTitle(int index)
protected jxl.write.WritableCellFormat getFootlineFormat(boolean bold) throws jxl.write.WriteException
jxl.write.WriteException
protected jxl.write.WritableCellFormat getHeadlineFormat(boolean bold) throws jxl.write.WriteException
jxl.write.WriteException
protected int getHeadlineRowspan()
protected String[] getHeadlineValues(int index)
protected jxl.write.WritableCellFormat getRow1Format() throws jxl.write.WriteException
jxl.write.WriteException
protected jxl.write.WritableCellFormat getRow2Format() throws jxl.write.WriteException
jxl.write.WriteException
public File getXlsFile()
protected abstract String[] loadEmptyContainer()
protected abstract XlsType[] loadXlsObjects() throws SQLException
SQLException
Copyright © 2017 OpenEstate. All rights reserved.