tit.summary.complete.CompleteSummaryTableModel Class Reference

List of all members.

Public Member Functions

 CompleteSummaryTableModel (AdjustableCompleteSummary initialsummary)
int getRowCount ()
int getColumnCount ()
String getColumnName (int column)
Class<?> getColumnClass (int column)
synchronized boolean isCellEditable (int row, int column)
synchronized Object getValueAt (int row, int column)
synchronized void setValueAt (Object value, int row, int column)
void loadSummary (AdjustableCompleteSummary newsummary)
synchronized void addTableModelListener (TableModelListener listener)
synchronized void removeTableModelListener (TableModelListener listener)

Private Member Functions

synchronized void notifyListeners ()
synchronized void notifyListeners (int row)

Private Attributes

AdjustableCompleteSummary summary
EventListenerList listeners

Static Private Attributes

static final int[] ZERO_ONE_TWO = {0, 1, 2}
static final int[] ZERO_ONE = {0, 1}
static final int ROW_COUNT = 62
static final int COLUMN_COUNT = 3
static final String[] COLUMN_NAME = {"Specified", "Attribute", "Value"}
static final Class<?>[] COLUMN_CLASS = {Boolean.class, String.class, String.class}
static final boolean[] COLUMN_EDITABLE = {true, false, true}
static final int SET_COLUMN = 0
static final int NAME_COLUMN = 1
static final int VALUE_COLUMN = 2
static final int ROW_RN = 0
static final int ROW_KLR = 1
static final int ROW_DATE = 2
static final int ROW_SES = 3
static final int ROW_KOOI = 4
static final int ROW_ME = 5
static final int ROW_WZ = 6
static final int ROW_SEQ = 7
static final int ROW_USE = 8
static final int ROW_WA = 9
static final int ROW_UUR = 10
static final int ROW_SCR = 11
static final int ROW_PANT = 12
static final int ROW_VOC = 13
static final int ROW_TSES = 14
static final int ROW_1B1 = 15
static final int ROW_1B2 = 16
static final int ROW_1B3 = 17
static final int ROW_1B4 = 18
static final int ROW_1B5 = 19
static final int ROW_A = 20
static final int ROW_O = 21
static final int ROW_F = 22
static final int ROW_H = 23
static final int ROW_B = 24
static final int ROW_P = 25
static final int ROW_BW = 26
static final int ROW_PR = 27
static final int ROW_B1 = 28
static final int ROW_B2 = 29
static final int ROW_B3 = 30
static final int ROW_B4 = 31
static final int ROW_B5 = 32
static final int ROW_W1 = 33
static final int ROW_W2 = 34
static final int ROW_W3 = 35
static final int ROW_W4 = 36
static final int ROW_G = 37
static final int ROW_HA = 38
static final int ROW_DW = 39
static final int ROW_BB = 40
static final int ROW_SS = 41
static final int ROW_SB = 42
static final int ROW_HH = 43
static final int ROW_HS = 44
static final int ROW_HB = 45
static final int ROW_DX = 46
static final int ROW_GX = 47
static final int ROW_TF = 48
static final int ROW_TB1 = 49
static final int ROW_TB2 = 50
static final int ROW_TB3 = 51
static final int ROW_TB4 = 52
static final int ROW_TB5 = 53
static final int ROW_TW1 = 54
static final int ROW_TW2 = 55
static final int ROW_TW3 = 56
static final int ROW_TW4 = 57
static final int ROW_TG = 58
static final int ROW_THA = 59
static final int ROW_TDW = 60
static final int ROW_COM = 61

Detailed Description

Table model which can be used to edit a CompleteSummary.
Author:
Bart Sas


Constructor & Destructor Documentation

tit.summary.complete.CompleteSummaryTableModel.CompleteSummaryTableModel ( AdjustableCompleteSummary  initialsummary  ) 

Constructs a new CompleteSummaryTableModel.

Parameters:
initialsummary The summary to edit.


Member Function Documentation

int tit.summary.complete.CompleteSummaryTableModel.getRowCount (  ) 

Returns the number of rows.

Returns:
The number of rows.

int tit.summary.complete.CompleteSummaryTableModel.getColumnCount (  ) 

Returns the number of columns.

Returns:
The number of columns.

String tit.summary.complete.CompleteSummaryTableModel.getColumnName ( int  column  ) 

Returns the name of a column.

Parameters:
column The column's index.
Returns:
Column column's name.

Class<?> tit.summary.complete.CompleteSummaryTableModel.getColumnClass ( int  column  ) 

Returns the class of a column.

Parameters:
column The column's index.
Returns:
Column column's class.

synchronized boolean tit.summary.complete.CompleteSummaryTableModel.isCellEditable ( int  row,
int  column 
)

Returns whether cell (row, column) is editable or not.

Parameters:
row The cell's row-index.
column The cell's column-index.
Returns:
true if cell (row, column) is editable, false otherwise.

synchronized void tit.summary.complete.CompleteSummaryTableModel.notifyListeners (  )  [private]

Notify all listeners that the TableModel has been changed.

synchronized void tit.summary.complete.CompleteSummaryTableModel.notifyListeners ( int  row  )  [private]

Notify all listeners that row row has changed.

Parameters:
row The index of the row that has been changed.

synchronized Object tit.summary.complete.CompleteSummaryTableModel.getValueAt ( int  row,
int  column 
)

Returns the value of cell (row, column).

Parameters:
row The cell's row-index.
column The cell's column-index.
Returns:
The value of cell (row, column).

synchronized void tit.summary.complete.CompleteSummaryTableModel.setValueAt ( Object  value,
int  row,
int  column 
)

Changes the value of cell (row, column).

Parameters:
value The new value of cell (row, column).
row The cell's row-index.
column The cell's column-index.

void tit.summary.complete.CompleteSummaryTableModel.loadSummary ( AdjustableCompleteSummary  newsummary  ) 

Loads a new summary.

Parameters:
newsummary The new summary.

synchronized void tit.summary.complete.CompleteSummaryTableModel.addTableModelListener ( TableModelListener  listener  ) 

Adds a TableModelListener to this ObservationTableModel.

Parameters:
listener The listener we want to add.

synchronized void tit.summary.complete.CompleteSummaryTableModel.removeTableModelListener ( TableModelListener  listener  ) 

Removes a TableModelListener from this ObservationTableModel.

Parameters:
listener The listener we want to remove.


Member Data Documentation

final int [] tit.summary.complete.CompleteSummaryTableModel.ZERO_ONE_TWO = {0, 1, 2} [static, private]

An array which contains the integers 0, 1, 2.

final int [] tit.summary.complete.CompleteSummaryTableModel.ZERO_ONE = {0, 1} [static, private]

An array which contains the integers 0, 1.

final int tit.summary.complete.CompleteSummaryTableModel.ROW_COUNT = 62 [static, private]

The number of rows.

final int tit.summary.complete.CompleteSummaryTableModel.COLUMN_COUNT = 3 [static, private]

The number of columns.

final String [] tit.summary.complete.CompleteSummaryTableModel.COLUMN_NAME = {"Specified", "Attribute", "Value"} [static, private]

The names of the columns.

final Class<?> [] tit.summary.complete.CompleteSummaryTableModel.COLUMN_CLASS = {Boolean.class, String.class, String.class} [static, private]

The classes of the columns.

final boolean [] tit.summary.complete.CompleteSummaryTableModel.COLUMN_EDITABLE = {true, false, true} [static, private]

Which columns are editable.

final int tit.summary.complete.CompleteSummaryTableModel.SET_COLUMN = 0 [static, private]

The set-column.

final int tit.summary.complete.CompleteSummaryTableModel.NAME_COLUMN = 1 [static, private]

The name-column.

final int tit.summary.complete.CompleteSummaryTableModel.VALUE_COLUMN = 2 [static, private]

The value column.

final int tit.summary.complete.CompleteSummaryTableModel.ROW_RN = 0 [static, private]

The index of the attribute rn row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_KLR = 1 [static, private]

The index of the attribute klr row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_DATE = 2 [static, private]

The index of the attribute date row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_SES = 3 [static, private]

The index of the attribute ses row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_KOOI = 4 [static, private]

The index of the attribute kooi row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_ME = 5 [static, private]

The index of the attribute me row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_WZ = 6 [static, private]

The index of the attribute wz row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_SEQ = 7 [static, private]

The index of the attribute seq row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_USE = 8 [static, private]

The index of the attribute use row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_WA = 9 [static, private]

The index of the attribute wa row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_UUR = 10 [static, private]

The index of the attribute uur row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_SCR = 11 [static, private]

The index of the attribute scr row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_PANT = 12 [static, private]

The index of the attribute pant row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_VOC = 13 [static, private]

The index of the attribute voc row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TSES = 14 [static, private]

The index of the attribute tses row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_1B1 = 15 [static, private]

The index of the attribute 1B1 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_1B2 = 16 [static, private]

The index of the attribute 1B2 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_1B3 = 17 [static, private]

The index of the attribute 1B3 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_1B4 = 18 [static, private]

The index of the attribute 1B4 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_1B5 = 19 [static, private]

The index of the attribute 1B5 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_A = 20 [static, private]

The index of the attribute a row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_O = 21 [static, private]

The index of the attribute o row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_F = 22 [static, private]

The index of the attribute f row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_H = 23 [static, private]

The index of the attribute h row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_B = 24 [static, private]

The index of the attribute b row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_P = 25 [static, private]

The index of the attribute p row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_BW = 26 [static, private]

The index of the attribute bw row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_PR = 27 [static, private]

The index of the attribute pr row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_B1 = 28 [static, private]

The index of the attribute b1 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_B2 = 29 [static, private]

The index of the attribute b2 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_B3 = 30 [static, private]

The index of the attribute b3 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_B4 = 31 [static, private]

The index of the attribute b4 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_B5 = 32 [static, private]

The index of the attribute b5 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_W1 = 33 [static, private]

The index of the attribute w1 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_W2 = 34 [static, private]

The index of the attribute w2 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_W3 = 35 [static, private]

The index of the attribute w3 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_W4 = 36 [static, private]

The index of the attribute w4 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_G = 37 [static, private]

The index of the attribute g row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_HA = 38 [static, private]

The index of the attribute ha row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_DW = 39 [static, private]

The index of the attribute dw row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_BB = 40 [static, private]

The index of the attribute bb row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_SS = 41 [static, private]

The index of the attribute ss row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_SB = 42 [static, private]

The index of the attribute sb row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_HH = 43 [static, private]

The index of the attribute hh row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_HS = 44 [static, private]

The index of the attribute hs row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_HB = 45 [static, private]

The index of the attribute hb row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_DX = 46 [static, private]

The index of the attribute dx row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_GX = 47 [static, private]

The index of the attribute gx row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TF = 48 [static, private]

The index of the attribute tf row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TB1 = 49 [static, private]

The index of the attribute tb1 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TB2 = 50 [static, private]

The index of the attribute tb2 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TB3 = 51 [static, private]

The index of the attribute tb3 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TB4 = 52 [static, private]

The index of the attribute tb4 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TB5 = 53 [static, private]

The index of the attribute tb5 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TW1 = 54 [static, private]

The index of the attribute tw1 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TW2 = 55 [static, private]

The index of the attribute tw2 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TW3 = 56 [static, private]

The index of the attribute tw3 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TW4 = 57 [static, private]

The index of the attribute tw4 row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TG = 58 [static, private]

The index of the attribute tg row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_THA = 59 [static, private]

The index of the attribute tha row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_TDW = 60 [static, private]

The index of the attribute tdw row

final int tit.summary.complete.CompleteSummaryTableModel.ROW_COM = 61 [static, private]

The index of the attribute COM row

AdjustableCompleteSummary tit.summary.complete.CompleteSummaryTableModel.summary [private]

The summary we are editing.

EventListenerList tit.summary.complete.CompleteSummaryTableModel.listeners [private]

This TableModel's listeners.


The documentation for this class was generated from the following file:
Generated on Sun Jun 3 16:44:01 2007 by  doxygen 1.5.1