|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel org.ujoframework.swing.UjoTableModel<Project> net.ponec.jworksheet.gui.models.ProjectTableModel
public class ProjectTableModel
Project Table Model
Field Summary | |
---|---|
static Project |
PROPS
Properties |
Fields inherited from class org.ujoframework.swing.UjoTableModel |
---|
columns, EVENT_REPAINT_HEADER, rows |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
ProjectTableModel(ApplContext applContext)
Creates a new instance of UjoTableModel |
Method Summary | |
---|---|
void |
addRow(Project proj)
|
java.lang.String |
getColumnName(UjoProperty property)
Returns a localized Column Name |
protected java.lang.Integer |
nextProjectId()
Get next Project id |
void |
setValueAt(java.lang.Object value,
int rowIndex,
UjoProperty column)
Set value to cell. |
Methods inherited from class org.ujoframework.swing.UjoTableModel |
---|
cloneRow, deleteRow, fireTableAllRowUpdated, fireTableColumnUpdated, fireTableHeaderRepainted, getColumn, getColumnClass, getColumnClass, getColumnCount, getColumnIndex, getColumnName, getRow, getRowCount, getRowIndex, getRowLast, getRowNullable, getUjoManager, getValueAt, getValueAt, initData, isCellEditable, isCellEditable, setColumns, setRows, setValueAt, sort, sort |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Project PROPS
Constructor Detail |
---|
public ProjectTableModel(ApplContext applContext)
Method Detail |
---|
public java.lang.String getColumnName(UjoProperty property)
getColumnName
in class UjoTableModel<Project>
protected java.lang.Integer nextProjectId()
public void addRow(Project proj)
addRow
in class UjoTableModel<Project>
public void setValueAt(java.lang.Object value, int rowIndex, UjoProperty column)
setValueAt
in class UjoTableModel<Project>
|
jWorkSheet release 0.90 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |