JRubik v0.6

es.aeat.eett.plugins.action_hssf
Class StoreTableHssf

java.lang.Object
  extended byes.aeat.eett.jRubik.rubik.util.export.StoreTable
      extended byes.aeat.eett.plugins.action_hssf.StoreTableHssf

public class StoreTableHssf
extends StoreTable

Author:
f00992

en: Exports JTable component to Excel format.

es: Exporta una JTable a formato Excel


Field Summary
private  short COL_INI
           
private  short ROW_INI
           
private  javax.swing.JTable table
           
 
Fields inherited from class es.aeat.eett.jRubik.rubik.util.export.StoreTable
fileOut, fileSeparator, parent, pathDir
 
Constructor Summary
StoreTableHssf(java.lang.String pathDir, java.awt.Component parent)
           
 
Method Summary
private  org.apache.poi.hssf.usermodel.HSSFSheet buidSheet(org.apache.poi.hssf.usermodel.HSSFWorkbook book)
           
private  org.apache.poi.hssf.usermodel.HSSFWorkbook buidWorkbook(java.lang.String nameFile)
           
 void saveDocumentHssf(javax.swing.JTable table)
           
 
Methods inherited from class es.aeat.eett.jRubik.rubik.util.export.StoreTable
getFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROW_INI

private final short ROW_INI
See Also:
Constant Field Values

COL_INI

private final short COL_INI
See Also:
Constant Field Values

table

private javax.swing.JTable table
Constructor Detail

StoreTableHssf

public StoreTableHssf(java.lang.String pathDir,
                      java.awt.Component parent)
Parameters:
pathDir -
parent -
Method Detail

saveDocumentHssf

public void saveDocumentHssf(javax.swing.JTable table)
                      throws java.lang.Exception
Throws:
java.lang.Exception

buidWorkbook

private org.apache.poi.hssf.usermodel.HSSFWorkbook buidWorkbook(java.lang.String nameFile)
                                                         throws java.lang.Exception
Throws:
java.lang.Exception

buidSheet

private org.apache.poi.hssf.usermodel.HSSFSheet buidSheet(org.apache.poi.hssf.usermodel.HSSFWorkbook book)
                                                   throws java.lang.Exception
Throws:
java.lang.Exception

JRubik v0.6

JRubik v0.6