Package util.tableheader
Class AttributiveCellTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- javax.swing.table.DefaultTableModel
-
- util.tableheader.AttributiveCellTableModel
-
- All Implemented Interfaces:
Serializable,TableModel
public class AttributiveCellTableModel extends DefaultTableModel
- Version:
- 1.0 11/22/98
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CellAttributecellAtt-
Fields inherited from class javax.swing.table.DefaultTableModel
columnIdentifiers, dataVector
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description AttributiveCellTableModel()AttributiveCellTableModel(int numRows, int numColumns)AttributiveCellTableModel(Object[][] data, Object[] columnNames)AttributiveCellTableModel(Object[] columnNames, int numRows)AttributiveCellTableModel(Vector columnNames, int numRows)AttributiveCellTableModel(Vector data, Vector columnNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddColumn(Object columnName, Vector columnData)voidaddRow(Vector rowData)CellAttributegetCellAttribute()voidinsertRow(int row, Vector rowData)voidsetCellAttribute(CellAttribute newCellAtt)voidsetDataVector(Vector newData, Vector columnNames)-
Methods inherited from class javax.swing.table.DefaultTableModel
addColumn, addColumn, addRow, convertToVector, convertToVector, getColumnCount, getColumnName, getDataVector, getRowCount, getValueAt, insertRow, isCellEditable, moveRow, newDataAvailable, newRowsAdded, removeRow, rowsRemoved, setColumnCount, setColumnIdentifiers, setColumnIdentifiers, setDataVector, setNumRows, setRowCount, setValueAt
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener
-
-
-
-
Field Detail
-
cellAtt
protected CellAttribute cellAtt
-
-
Constructor Detail
-
AttributiveCellTableModel
public AttributiveCellTableModel()
-
AttributiveCellTableModel
public AttributiveCellTableModel(int numRows, int numColumns)
-
AttributiveCellTableModel
public AttributiveCellTableModel(Vector columnNames, int numRows)
-
AttributiveCellTableModel
public AttributiveCellTableModel(Object[] columnNames, int numRows)
-
-
Method Detail
-
setDataVector
public void setDataVector(Vector newData, Vector columnNames)
- Overrides:
setDataVectorin classDefaultTableModel
-
addColumn
public void addColumn(Object columnName, Vector columnData)
- Overrides:
addColumnin classDefaultTableModel
-
addRow
public void addRow(Vector rowData)
- Overrides:
addRowin classDefaultTableModel
-
insertRow
public void insertRow(int row, Vector rowData)- Overrides:
insertRowin classDefaultTableModel
-
getCellAttribute
public CellAttribute getCellAttribute()
-
setCellAttribute
public void setCellAttribute(CellAttribute newCellAtt)
-
-