net.ponec.jworksheet.gui.models
Class ParamTableModel

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

public class ParamTableModel
extends SingleUjoTabModel

Row of Parameters table.

See Also:
Serialized Form

Field Summary
static UjoPropertyRow PROPS
          Properties
 
Fields inherited from class org.ujoframework.swing.SingleUjoTabModel
ROWS
 
Fields inherited from class org.ujoframework.swing.UjoTableModel
columns, EVENT_REPAINT_HEADER, rows
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ParamTableModel(Parameters params, ApplContext applContext)
          Creates a new instance of ParamTableModel
 
Method Summary
 java.lang.String getColumnName(UjoProperty property)
          Returns a localized Column Name
 void setValueAt(java.lang.Object value, int rowIndex, UjoProperty column)
          Set a value to a cell of table model.
 
Methods inherited from class org.ujoframework.swing.SingleUjoTabModel
getCoder, getValueAt, isCellEditable
 
Methods inherited from class org.ujoframework.swing.UjoTableModel
addRow, cloneRow, deleteRow, fireTableAllRowUpdated, fireTableColumnUpdated, fireTableHeaderRepainted, getColumn, getColumnClass, getColumnClass, getColumnCount, getColumnIndex, getColumnName, getRow, getRowCount, getRowIndex, getRowLast, getRowNullable, getUjoManager, getValueAt, initData, 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 UjoPropertyRow PROPS
Properties

Constructor Detail

ParamTableModel

public ParamTableModel(Parameters params,
                       ApplContext applContext)
Creates a new instance of ParamTableModel

Method Detail

getColumnName

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

Overrides:
getColumnName in class UjoTableModel<UjoPropertyRow>

setValueAt

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

Overrides:
setValueAt in class SingleUjoTabModel


Copyright © 2007-2009 PPonec