public class ControlDataTableModel extends ControlTableModel
| Modifier and Type | Field and Description |
|---|---|
protected CoserConstants.Category |
category |
protected DataStorage |
data |
protected String[] |
header |
listenerList| Constructor and Description |
|---|
ControlDataTableModel(ControlView controlView,
CoserConstants.Category category) |
| Modifier and Type | Method and Description |
|---|---|
CoserConstants.Category |
getCategory()
Return category managed by model.
|
int |
getColumnCount() |
String |
getColumnName(int column) |
String[] |
getDataAt(int rowIndex)
Retourne la donnée (toutes le String[]) à la ligne demandée.
|
int |
getRealIndexOfLine(String lineNumber)
Retourne l'index dans la liste des données du numero de ligne demandée.
|
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
protected void |
updateData(ControlView controlView) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtprotected DataStorage data
protected CoserConstants.Category category
protected String[] header
public ControlDataTableModel(ControlView controlView, CoserConstants.Category category)
public CoserConstants.Category getCategory()
ControlTableModelgetCategory in class ControlTableModelprotected void updateData(ControlView controlView)
public int getRowCount()
public int getColumnCount()
public String getColumnName(int column)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelpublic Object getValueAt(int rowIndex, int columnIndex)
public String[] getDataAt(int rowIndex)
getDataAt in class ControlTableModelrowIndex - public int getRealIndexOfLine(String lineNumber)
getRealIndexOfLine in class ControlTableModellineNumber - le numero de donnéesCopyright © 2010-2013 Ifremer. All Rights Reserved.