es.aeat.eett.plugins.action_hssf
Class StoreTableRubikHssf
java.lang.Object
es.aeat.eett.jRubik.rubik.util.export.StoreTable
es.aeat.eett.plugins.action_hssf.StoreTableRubikHssf
- All Implemented Interfaces:
- java.util.EventListener, com.tonbeller.jpivot.core.ModelChangeListener
- public class StoreTableRubikHssf
- extends StoreTable
- implements com.tonbeller.jpivot.core.ModelChangeListener
- Author:
- f00992
en:
Exports tableRubik component to Excel format.
es:
Exporta tableRubik a formato Excel
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 |
ROW_INI
private final short ROW_INI
- See Also:
- Constant Field Values
COL_INI
private final short COL_INI
- See Also:
- Constant Field Values
locale
private java.util.Locale locale
dataModel
private javax.swing.table.TableModel dataModel
fixedTableModel
private javax.swing.table.TableModel fixedTableModel
fixedTableHeader
private MultiHeader fixedTableHeader
dataHeader
private MultiHeader dataHeader
tableRubik
private TableRubik tableRubik
dirty
boolean dirty
StoreTableRubikHssf
public StoreTableRubikHssf(java.lang.String pathDir,
java.awt.Component parent)
- Parameters:
pathDir
- parent
-
saveDocumentHssf
public void saveDocumentHssf(TableRubik tableRubik,
java.util.Locale locale)
throws java.lang.Exception
- Throws:
java.lang.Exception
getTableModels
private void getTableModels(TableRubik tablaRubik)
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
getNumberValue
private java.lang.Number getNumberValue(java.lang.String value)
- Get String value as a Number. Parses the value string
using the locale set in this.locale.
- Parameters:
value
-
- Returns:
- value as Number (can be null)
modelChanged
public void modelChanged(com.tonbeller.jpivot.core.ModelChangeEvent e)
- Specified by:
modelChanged
in interface com.tonbeller.jpivot.core.ModelChangeListener
structureChanged
public void structureChanged(com.tonbeller.jpivot.core.ModelChangeEvent e)
- Specified by:
structureChanged
in interface com.tonbeller.jpivot.core.ModelChangeListener
JRubik v0.6