|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.DefaultTableColumnModel com.jstatcom.equation.SubMatModel
public final class SubMatModel
A special table column model for the CoeffTable
.
Constructor Summary | |
---|---|
SubMatModel(int part)
Creates a SubMatModel for an index denoting the
part and a table. |
Method Summary | |
---|---|
void |
addColumn(javax.swing.table.TableColumn tc)
Adds only those columns that are in the sub matrix range. |
int |
getIndex()
Gets the index represented by this part. |
int |
getNumberOfColumns()
Gets the number of columns of this table model. |
void |
setIndex(int arg)
Sets the index of this part of the equation. |
void |
setNumberOfColumns(int arg)
Sets the number of columns in this model. |
Methods inherited from class javax.swing.table.DefaultTableColumnModel |
---|
addColumnModelListener, getColumn, getColumnCount, getColumnIndex, getColumnIndexAtX, getColumnMargin, getColumnModelListeners, getColumns, getColumnSelectionAllowed, getListeners, getSelectedColumnCount, getSelectedColumns, getSelectionModel, getTotalColumnWidth, moveColumn, propertyChange, removeColumn, removeColumnModelListener, setColumnMargin, setColumnSelectionAllowed, setSelectionModel, valueChanged |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubMatModel(int part)
SubMatModel
for an index denoting the
part and a table.
part
- index running from 0,...,nMethod Detail |
---|
public void addColumn(javax.swing.table.TableColumn tc)
addColumn
in interface javax.swing.table.TableColumnModel
addColumn
in class javax.swing.table.DefaultTableColumnModel
tc
- the column to addpublic int getIndex()
public int getNumberOfColumns()
public void setIndex(int arg)
arg
- indexpublic void setNumberOfColumns(int arg)
arg
- number of columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |