com.jurismarches.vradi.ui.email
Class FormEmailContentTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
com.jurismarches.vradi.ui.email.FormEmailContentTableModel
- All Implemented Interfaces:
- Serializable, TableModel
public class FormEmailContentTableModel
- extends AbstractTableModel
Le modèle du tableau pour afficher et éditer les bindings d'un flux XML.
User: chemit
Date: 15 nov. 2009
Time: 16:56:08
- See Also:
- Serialized Form
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
protected List<FormEmailContentTableModel.FormEmailContent> data
- Liste des clients et formulaires à afficher
valueIsAdjusting
protected boolean valueIsAdjusting
- Un drapeau pour bloquer le déclanchement des fireXXX)
FormEmailContentTableModel
public FormEmailContentTableModel()
getRowCount
public int getRowCount()
getColumnCount
public int getColumnCount()
isCellEditable
public boolean isCellEditable(int rowIndex,
int columnIndex)
- Specified by:
isCellEditable in interface TableModel- Overrides:
isCellEditable in class AbstractTableModel
clear
public void clear()
- Pour vider le modèle.
isValueIsAdjusting
public boolean isValueIsAdjusting()
setValueIsAdjusting
public void setValueIsAdjusting(boolean valueIsAdjusting)
getData
public List<FormEmailContentTableModel.FormEmailContent> getData()
- Returns:
- une copie de la liste des bindings
addEntry
public void addEntry(String formName,
List<Client> clients)
- Ajouter une entrée dans le modèle
getValueAt
public Object getValueAt(int rowIndex,
int columnIndex)
setValueAt
public void setValueAt(Object aValue,
int rowIndex,
int columnIndex)
- Specified by:
setValueAt in interface TableModel- Overrides:
setValueAt in class AbstractTableModel
ensureRowIndex
protected void ensureRowIndex(int rowIndex)
ensureColumnIndex
protected void ensureColumnIndex(int columnIndex)
Copyright © 2009-2010 JurisMarches. All Rights Reserved.