org.tbee.swing.jpa
Class JpaBeanTableModelForEdit<T extends nl.knowledgeplaza.util.PropertyChangeProvider>
java.lang.Object
javax.swing.table.AbstractTableModel
org.tbee.swing.table.AbstractTableModel
org.tbee.swing.table.BeanTableModel<T>
org.tbee.swing.table.BeanTableModelForEdit<T>
org.tbee.swing.jpa.JpaBeanTableModelForEdit<T>
- All Implemented Interfaces:
- Serializable, TableModel, nl.knowledgeplaza.util.PropertyChangeProvider, TableModelForEdit
public class JpaBeanTableModelForEdit<T extends nl.knowledgeplaza.util.PropertyChangeProvider>
- extends BeanTableModelForEdit<T>
- See Also:
- Serialized Form
|
Method Summary |
void |
addJpaBean(T bean)
this method should be overriden by the implementing class in order to actually add a bean to the collection |
void |
removeJpaBean(T bean)
this method should be overriden by the implementing class in order to actually remove a bean to the collection |
void |
setData(nl.knowledgeplaza.util.collection.ObservableList<T> value)
|
| Methods inherited from class org.tbee.swing.table.BeanTableModelForEdit |
addRowAt, clear, clearErrorMessageAt, createNewBean, deleteRowAt, getBeanForRow, getErrorMessageAt, getRowCount, getRowIndexForBean, getWarnMessageAt, setErrorMessageAt |
| Methods inherited from class org.tbee.swing.table.BeanTableModel |
add, add, addPropertyChangeListener, addPropertyChangeListener, findColumnByProperty, findColumnByTitle, firePropertyChange, getBeanClass, getColumnClass, getColumnCount, getColumnName, getData, getPropertyChangeListeners, getPropertyChangeListeners, getTableColumns, getTooltipAt, getValueAt, isCellEditable, removePropertyChangeListener, removePropertyChangeListener, setBeanClass, setData, setTableColumns, setValueAt, setValueAt, withBeanClass, withData, withTableColumns |
| Methods inherited from class javax.swing.table.AbstractTableModel |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, 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 |
SOURCECODE_VERSION
public static final String SOURCECODE_VERSION
- Standard variable for determining version of a class file.
- See Also:
- Constant Field Values
JpaBeanTableModelForEdit
public JpaBeanTableModelForEdit(Class<? extends T> clazz,
TableColumn... columns)
- Parameters:
data - columns -
setData
public void setData(nl.knowledgeplaza.util.collection.ObservableList<T> value)
- Overrides:
setData in class BeanTableModelForEdit<T extends nl.knowledgeplaza.util.PropertyChangeProvider>
addJpaBean
public void addJpaBean(T bean)
- this method should be overriden by the implementing class in order to actually add a bean to the collection
removeJpaBean
public void removeJpaBean(T bean)
- this method should be overriden by the implementing class in order to actually remove a bean to the collection
Copyright © 2011 KnowledgePlaza. All Rights Reserved.