net.ponec.jworksheet.gui.models
Class TaskTableModel

Package class diagram package TaskTableModel
java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by org.ujoframework.swing.UjoTableModel<TaskType>
          extended by net.ponec.jworksheet.gui.models.TaskTableModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class TaskTableModel
extends UjoTableModel<TaskType>

Task Table Model

See Also:
Serialized Form

Field Summary
static TaskType 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
TaskTableModel(ApplContext applContext)
          Creates a new instance of TaskTableModel
 
Method Summary
 void addRow(TaskType row)
           
 java.lang.String getColumnName(UjoProperty property)
          Returns a localized Column Name
protected  java.lang.Integer nextTaskId()
          Get next Task 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

PROPS

public static final TaskType PROPS
Properties

Constructor Detail

TaskTableModel

public TaskTableModel(ApplContext applContext)
Creates a new instance of TaskTableModel

Method Detail

getColumnName

public java.lang.String getColumnName(UjoProperty property)
Returns a localized Column Name

Overrides:
getColumnName in class UjoTableModel<TaskType>

nextTaskId

protected java.lang.Integer nextTaskId()
Get next Task id


addRow

public void addRow(TaskType row)
Overrides:
addRow in class UjoTableModel<TaskType>

setValueAt

public void setValueAt(java.lang.Object value,
                       int rowIndex,
                       UjoProperty column)
Set value to cell.

Overrides:
setValueAt in class UjoTableModel<TaskType>


Copyright © 2007-2009 PPonec