java.lang.Object | ||
↳ | javax.swing.table.AbstractTableModel | |
↳ | vars.annotation.ui.table.JXObservationTableModel |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
vars.annotation.ui.table.ObservationTableModel
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.table.AbstractTableModel
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs ...
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add and observation to the table model.
| |||||||||||
Remove all observations from the model
| |||||||||||
Gets the columnCount attribute of the ObservationTableModel object
| |||||||||||
Gets the numberOfObservations attribute of the ObservationTableModel object
| |||||||||||
Get the observation at the given model index (not view)
| |||||||||||
Get the model index of the given observation
| |||||||||||
Gets the rowCount attribute of the ObservationTableModel object
| |||||||||||
Fires a table data changed event which will cause a redraw of the table
| |||||||||||
Description of the Method
| |||||||||||
NOTE: If an observation has a videoFrame attached to it, it will NOT
be removed from the model.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
javax.swing.table.AbstractTableModel
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.swing.table.TableModel
| |||||||||||
From interface
vars.annotation.ui.table.ObservationTableModel
|
Constructs ...
Add and observation to the table model. THe obs must have a primary key. If an observation with the same primary key already exists in the model then the new observation will NOT be added.
obs | The observation to add |
---|
Remove all observations from the model
Gets the columnCount attribute of the ObservationTableModel object
Gets the numberOfObservations attribute of the ObservationTableModel object
Get the observation at the given model index (not view)
rowIndex | THe row of interest |
---|
Get the model index of the given observation
observation | THe observation of interest |
---|
Gets the rowCount attribute of the ObservationTableModel object
Fires a table data changed event which will cause a redraw of the table
Description of the Method
row | Description of the Parameter |
---|
NOTE: If an observation has a videoFrame attached to it, it will NOT be removed from the model. You must first remove it's videoFrame!!
obs | The observation to be removed. |
---|