Class OpenSourceProjects
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.pentaho.reporting.engine.classic.demo.ancient.demo.opensource.OpenSourceProjects
-
- All Implemented Interfaces:
Serializable
,TableModel
public class OpenSourceProjects extends AbstractTableModel
A TableModel containing (hard-coded) data about Java projects that are free / open source. If you would like to have your project listed here (and also at http://www.object-refinery.com/open.html), please send an e-mail to David Gilbert at: david.gilbert@object-refinery.com- Author:
- David Gilbert
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description OpenSourceProjects()
Creates a new TableModel, populated with data about various software projects.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
Returns the column count.String
getColumnName(int column)
Returns the column name.int
getRowCount()
Returns the row count.Object
getValueAt(int row, int column)
Returns the value at a particular row and column.-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
-
-
-
Method Detail
-
getRowCount
public int getRowCount()
Returns the row count.- Returns:
- the row count.
-
getColumnCount
public int getColumnCount()
Returns the column count.- Returns:
- the column count.
-
getColumnName
public String getColumnName(int column)
Returns the column name.- Specified by:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
- Parameters:
column
- the column (zero-based index).- Returns:
- the column name.
-
getValueAt
public Object getValueAt(int row, int column)
Returns the value at a particular row and column.- Parameters:
row
- the row (zero-based index).column
- the column (zero-based index).- Returns:
- the value.
-
-