|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.table.AbstractTableModel | +--corina.editor.DecadalModel | +--corina.editor.WJTableModel
Special DecadalModel for Weiserjahre.
Differences from the stock DecadalModel:
Fields inherited from class corina.editor.DecadalModel |
row_max, row_min, s, ZERO |
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
Constructor Summary | |
WJTableModel(Sample s)
Constructor, given a Sample to view. |
Method Summary | |
int |
getRowCount()
Return the row count. |
Object |
getValueAt(int row,
int col)
Return the value of the specified cell. |
boolean |
isCellEditable(int row,
int col)
Return false: no cell is editable. |
void |
sampleDataChanged(SampleEvent e)
One or more of the numbers of the dataset have changed. |
void |
sampleElementsChanged(SampleEvent e)
The elements were changed. |
void |
sampleFormatChanged(SampleEvent e)
The format (raw/indexed/summed) was changed. |
void |
sampleMetadataChanged(SampleEvent e)
One or more of the metadata fields has been changed (the element changed, or a key was added or removed). |
void |
sampleRedated(SampleEvent e)
The starting/ending dates of this sample have changed. |
Methods inherited from class corina.editor.DecadalModel |
countRows, getColumnClass, getColumnCount, getColumnName, getMean, getSample, getYear, setValueAt |
Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WJTableModel(Sample s)
s
- the Sample to viewMethod Detail |
public int getRowCount()
getRowCount
in class DecadalModel
public Object getValueAt(int row, int col)
getValueAt
in class DecadalModel
row
- the row to queryrow
- the column to querypublic boolean isCellEditable(int row, int col)
isCellEditable
in class DecadalModel
row
- the row to queryrow
- the column to querypublic void sampleRedated(SampleEvent e)
SampleListener
sampleRedated
in interface SampleListener
corina.SampleListener
e
- the Event objectpublic void sampleDataChanged(SampleEvent e)
SampleListener
sampleDataChanged
in interface SampleListener
corina.SampleListener
e
- the Event objectpublic void sampleMetadataChanged(SampleEvent e)
SampleListener
sampleMetadataChanged
in interface SampleListener
corina.SampleListener
e
- the Event objectpublic void sampleFormatChanged(SampleEvent e)
SampleListener
sampleFormatChanged
in interface SampleListener
corina.SampleListener
e
- the Event objectpublic void sampleElementsChanged(SampleEvent e)
SampleListener
sampleElementsChanged
in interface SampleListener
corina.SampleListener
e
- the Event object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |