tecgraf.javautils.excel.v1.util
Class ExcelTableUtil

java.lang.Object
  extended by tecgraf.javautils.excel.v1.util.ExcelTableUtil

public abstract class ExcelTableUtil
extends Object

Facilitadores de Excel

Author:
bbreder

Constructor Summary
ExcelTableUtil()
           
 
Method Summary
static void exportData(ExcelDataTool data, ExcelStyleTool style, JTable table, ExcelTable format, boolean firstIsRowHeader, int dataRow, int dataColumn)
          Exporta o conteúdo da tabela
static Component getCorner(JScrollPane scroll)
          Retorna o Corner do ScrollPane
static void setTable(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, int column, int row, JTable table)
          Atribui uma tabela a uma planilha excel
static void setTable(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, int column, int row, JTable table, ExcelTable format)
          Atribui uma tabela a uma planilha excel
static void setTable(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, int column, int row, JTable table, ExcelTable format, boolean firstIsRowHeader)
          Atribui uma tabela a uma planilha excel
static void showRowHeader(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, JTable table, int row, int column, ExcelTable format)
          Imprime o cabeçalho de linha
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelTableUtil

public ExcelTableUtil()
Method Detail

setTable

public static void setTable(ExcelStructureTool head,
                            ExcelDataTool data,
                            ExcelStyleTool style,
                            int column,
                            int row,
                            JTable table)
Atribui uma tabela a uma planilha excel

Parameters:
head -
data -
style -
column -
row -
table -

setTable

public static void setTable(ExcelStructureTool head,
                            ExcelDataTool data,
                            ExcelStyleTool style,
                            int column,
                            int row,
                            JTable table,
                            ExcelTable format)
Atribui uma tabela a uma planilha excel

Parameters:
head -
data -
style -
column -
row -
table -
format -

setTable

public static void setTable(ExcelStructureTool head,
                            ExcelDataTool data,
                            ExcelStyleTool style,
                            int column,
                            int row,
                            JTable table,
                            ExcelTable format,
                            boolean firstIsRowHeader)
Atribui uma tabela a uma planilha excel

Parameters:
head -
data -
style -
column -
row -
table -
format -
firstIsRowHeader -

exportData

public static void exportData(ExcelDataTool data,
                              ExcelStyleTool style,
                              JTable table,
                              ExcelTable format,
                              boolean firstIsRowHeader,
                              int dataRow,
                              int dataColumn)
Exporta o conteúdo da tabela

Parameters:
data -
style -
table -
format -
firstIsRowHeader -
dataRow -
dataColumn -

showRowHeader

public static void showRowHeader(ExcelStructureTool head,
                                 ExcelDataTool data,
                                 ExcelStyleTool style,
                                 JTable table,
                                 int row,
                                 int column,
                                 ExcelTable format)
Imprime o cabeçalho de linha

Parameters:
head -
data -
style -
table -
row -
column -
format -

getCorner

public static Component getCorner(JScrollPane scroll)
Retorna o Corner do ScrollPane

Parameters:
scroll -
Returns:
corner


Copyright © 2014 Tecgraf/PUC-Rio. All rights reserved.