public class LargeColumnModel extends Object implements TableModel
| Constructor and Description |
|---|
LargeColumnModel(TableModel model,
int largeCol)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTableModelListener(TableModelListener l) |
Class<?> |
getColumnClass(int columnIndex) |
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
BitSet |
getInsertedRows()
Obtém as linhas inseridas no modelo.
|
int |
getLargeCol()
Obtém a coluna muito grande a ser impressa como uma linha.
|
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellEditable(int rowIndex,
int columnIndex) |
void |
removeTableModelListener(TableModelListener l) |
void |
setValueAt(Object aValue,
int rowIndex,
int columnIndex) |
public LargeColumnModel(TableModel model, int largeCol)
model - modelo da tabela a ser impressa.largeCol - coluna muito grande a ser impressa como uma linha.public void addTableModelListener(TableModelListener l)
addTableModelListener in interface TableModelpublic Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int columnIndex)
getColumnName in interface TableModelpublic int getRowCount()
getRowCount in interface TableModelpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic boolean isCellEditable(int rowIndex,
int columnIndex)
isCellEditable in interface TableModelpublic void removeTableModelListener(TableModelListener l)
removeTableModelListener in interface TableModelpublic void setValueAt(Object aValue, int rowIndex, int columnIndex)
setValueAt in interface TableModelpublic BitSet getInsertedRows()
public int getLargeCol()
Copyright © 2016 Tecgraf/PUC-Rio. All rights reserved.