|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.swing.table.DefaultTableColumnModel
|
+--com.rubecula.spreadsheet.RowModel
Row Model class for the Spreadsheet Application. It extends DefaultTableColumnModel by requiring that columns are of the class Column.
| Field Summary | |
(package private) boolean |
_First
|
| Fields inherited from class javax.swing.table.DefaultTableColumnModel |
changeEvent, columnMargin, columnSelectionAllowed, listenerList, selectionModel, tableColumns, totalColumnWidth |
| Constructor Summary | |
RowModel()
Primary constructor. |
|
| Method Summary | |
void |
addColumn(javax.swing.table.TableColumn column)
Appends aColumn to the end of the
tableColumns array. |
void |
addRow()
Add a new row to this RowModel by adding a new attribute map. |
AttrMap |
getAttributes(int row)
|
| Methods inherited from class javax.swing.table.DefaultTableColumnModel |
addColumnModelListener, createSelectionModel, fireColumnAdded, fireColumnMarginChanged, fireColumnMoved, fireColumnRemoved, fireColumnSelectionChanged, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, propertyChange, recalcWidthCache, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
boolean _First
| Constructor Detail |
public RowModel()
| Method Detail |
public void addColumn(javax.swing.table.TableColumn column)
aColumn to the end of the
tableColumns array.
This method also posts the columnAdded
event to its listeners.
addColumn in interface javax.swing.table.TableColumnModeladdColumn in class javax.swing.table.DefaultTableColumnModelcolumn - the TableColumn to be added
java.lang.IllegalArgumentException - if aColumn is
nullDefaultTableColumnModel.removeColumn(javax.swing.table.TableColumn)public void addRow()
public AttrMap getAttributes(int row)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||