org.grinvin.about

Class VersionTableModel


public class VersionTableModel
extends AbstractTableModel

Table which displays module version information.

Method Summary

void
addVersionForModel(String name)
Add a row to the table for the module of the given name.
Class
getColumnClass(int columnIndex)
int
getColumnCount()
String
getColumnName(int column)
static VersionTableModel
getInstance()
Return the unique table model containing versioning information for all modules that are active during the current build.
int
getRowCount()
Object
getValueAt(int rowIndex, int columnIndex)
boolean
isCellEditable(int rowIndex, int columnIndex)

Method Details

addVersionForModel

public void addVersionForModel(String name)
Add a row to the table for the module of the given name. No row is added if version information for that module cannot be found.

getColumnClass

public Class getColumnClass(int columnIndex)

getColumnCount

public int getColumnCount()

getColumnName

public String getColumnName(int column)

getInstance

public static VersionTableModel getInstance()
Return the unique table model containing versioning information for all modules that are active during the current build.

getRowCount

public int getRowCount()

getValueAt

public Object getValueAt(int rowIndex,
                         int columnIndex)

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)