jaxx.runtime.swing.editor.config.model
Class ConfigTableModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by jaxx.runtime.swing.editor.config.model.ConfigTableModel
All Implemented Interfaces:
Serializable, TableModel

public class ConfigTableModel
extends AbstractTableModel

le modele du tableau d'options pour une categorie donnee. Le modele se base sur le modele d'une categorie d'option.

Author:
tchemit
See Also:
CategoryModel, Serialized Form

Field Summary
protected  CategoryModel categoryModel
          le modele d'une categorie
 
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
 
Constructor Summary
ConfigTableModel(CategoryModel categoryModel)
           
 
Method Summary
 CategoryModel getCategoryModel()
           
 Class<?> getColumnClass(int columnIndex)
           
 int getColumnCount()
           
 OptionModel getEntry(int rowIndex)
           
 int getRowCount()
           
 Object getValueAt(int row, int column)
           
 boolean isCellEditable(int rowIndex, int columnIndex)
           
 void setValueAt(Object aValue, int row, int column)
           
 
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnName, getListeners, getTableModelListeners, removeTableModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

categoryModel

protected final CategoryModel categoryModel
le modele d'une categorie

Constructor Detail

ConfigTableModel

public ConfigTableModel(CategoryModel categoryModel)
Method Detail

getCategoryModel

public CategoryModel getCategoryModel()

getEntry

public OptionModel getEntry(int rowIndex)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

getColumnClass

public Class<?> getColumnClass(int columnIndex)
Specified by:
getColumnClass in interface TableModel
Overrides:
getColumnClass in class AbstractTableModel

isCellEditable

public boolean isCellEditable(int rowIndex,
                              int columnIndex)
Specified by:
isCellEditable in interface TableModel
Overrides:
isCellEditable in class AbstractTableModel

getValueAt

public Object getValueAt(int row,
                         int column)

setValueAt

public void setValueAt(Object aValue,
                       int row,
                       int column)
Specified by:
setValueAt in interface TableModel
Overrides:
setValueAt in class AbstractTableModel


Copyright © 2008-2010 CodeLutin. All Rights Reserved.