Class ConfigTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.nuiton.jaxx.widgets.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.- Since:
- 2.5.11
- Author:
- tchemit
- See Also:
CategoryModel, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CategoryModelcategoryModelle modele d'une categorie-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description ConfigTableModel(CategoryModel categoryModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()protected voidfinalize()CategoryModelgetCategoryModel()Class<?>getColumnClass(int columnIndex)intgetColumnCount()OptionModelgetEntry(int rowIndex)intgetRowCount()ObjectgetValueAt(int row, int column)booleanisCellEditable(int rowIndex, int columnIndex)voidsetValueAt(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
-
-
-
-
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:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getValueAt
public Object getValueAt(int row, int column)
-
setValueAt
public void setValueAt(Object aValue, int row, int column)
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
destroy
public void destroy()
-
-