public abstract class ExcelTableUtil extends Object
| Constructor and Description |
|---|
ExcelTableUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportData(ExcelDataTool data,
ExcelStyleTool style,
JTable table,
ExcelTable format,
boolean firstIsRowHeader,
int dataRow,
int dataColumn)
Exporta o conteúdo da tabela
|
protected static Component |
getColumnHeader(JScrollPane scroll)
Retorna o cabeçalho de coluna
|
static Component |
getCorner(JScrollPane scroll)
Retorna o Corner do ScrollPane
|
protected static Component |
getRowHeader(JScrollPane scroll)
Retorna o cabeçalho de linha
|
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 |
showBasicColumnHeader(ExcelStructureTool head,
ExcelDataTool data,
ExcelStyleTool style,
JTable table,
int dataRow,
int dataColumn,
ExcelTable format)
Imprime o cabeçalho de linha no modo basico
|
static void |
showCorner(ExcelStructureTool head,
ExcelDataTool data,
ExcelStyleTool style,
JTable table,
int row,
int column,
int dataRow,
int dataColumn,
ExcelTable format)
Função responsável por exibir o corner da tabela
|
static void |
showRowHeader(ExcelStructureTool head,
ExcelDataTool data,
ExcelStyleTool style,
JTable table,
int row,
int column,
ExcelTable format)
Imprime o cabeçalho de linha
|
public static void setTable(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, int column, int row, JTable table)
head - data - style - column - row - table - public static void setTable(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, int column, int row, JTable table, ExcelTable format)
head - data - style - column - row - table - format - public static void setTable(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, int column, int row, JTable table, ExcelTable format, boolean firstIsRowHeader)
head - data - style - column - row - table - format - firstIsRowHeader - public static void exportData(ExcelDataTool data, ExcelStyleTool style, JTable table, ExcelTable format, boolean firstIsRowHeader, int dataRow, int dataColumn)
data - style - table - format - firstIsRowHeader - dataRow - dataColumn - public static void showRowHeader(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, JTable table, int row, int column, ExcelTable format)
head - data - style - table - row - column - format - protected static Component getRowHeader(JScrollPane scroll)
scroll - protected static Component getColumnHeader(JScrollPane scroll)
scroll - public static void showBasicColumnHeader(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, JTable table, int dataRow, int dataColumn, ExcelTable format)
head - data - style - table - dataRow - dataColumn - format - public static void showCorner(ExcelStructureTool head, ExcelDataTool data, ExcelStyleTool style, JTable table, int row, int column, int dataRow, int dataColumn, ExcelTable format)
head - data - style - table - row - column - dataColumn - dataRow - format - public static Component getCorner(JScrollPane scroll)
scroll - Copyright © 2019 Tecgraf/PUC-Rio. All rights reserved.