|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
databionics.esom.tool.data.SelectedDataTableModel
public class SelectedDataTableModel
Field Summary | |
---|---|
protected cern.colt.matrix.DoubleMatrix2D |
data
DoubleMatrix2D with selected rows of lrnFile |
protected DataclassTool |
dataclassTool
the renderer |
protected cern.colt.list.IntArrayList |
idxs
the selected Indexes |
protected static org.apache.log4j.Logger |
log
interface to log4j system |
protected LrnFile |
lrn
the underlying data |
protected cern.colt.list.IntArrayList |
selectedClasses
IntArrayList with selected classes |
protected cern.colt.list.IntArrayList |
selectedKeys
IntArray with selected keys |
protected LrnFile |
selectedLrn
the underlying data |
protected AbstractTool |
tool
|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
SelectedDataTableModel(AbstractTool tool)
constructor |
Method Summary | |
---|---|
int |
getColumnCount()
returns the number of columns |
java.lang.String |
getColumnName(int columnIndex)
returns the name of each column |
cern.colt.list.IntArrayList |
getIdxs()
|
LrnFile |
getLrnFile()
|
int |
getRowCount()
returns the number of rows |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
returns the value of the wanted cell |
void |
reset()
resets the selected LrnFile |
void |
setSelection(cern.colt.list.IntArrayList indexes)
sets the selected data in selectedLrn |
void |
setValueAt(java.lang.Object aValue,
int rowIndex,
int columnIndex)
handles value, which is set to one cell |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.apache.log4j.Logger log
protected LrnFile lrn
protected LrnFile selectedLrn
protected cern.colt.list.IntArrayList idxs
protected cern.colt.matrix.DoubleMatrix2D data
protected cern.colt.list.IntArrayList selectedClasses
protected cern.colt.list.IntArrayList selectedKeys
protected DataclassTool dataclassTool
protected AbstractTool tool
Constructor Detail |
---|
public SelectedDataTableModel(AbstractTool tool)
renderer
- the main RendererbottomBar
- the bottomBarMethod Detail |
---|
public void setSelection(cern.colt.list.IntArrayList indexes)
indexes
- IntarrayList with indexes of selected datapointspublic java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
public int getColumnCount()
public int getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- row numbercolumnIndex
- column numberpublic void setValueAt(java.lang.Object aValue, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
aValue
- value of cellrowIndex
- row number of cellcolumnIndex
- column number of cellpublic LrnFile getLrnFile()
public void reset()
public cern.colt.list.IntArrayList getIdxs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |