Package org.bidib.wizard.mvc.backup.view
Class BackupTableTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- com.jgoodies.binding.adapter.AbstractTableAdapter<NodeBackupModel>
-
- org.bidib.wizard.mvc.backup.view.BackupTableTableModel
-
- All Implemented Interfaces:
com.jgoodies.binding.adapter.ListModelBindable,com.jidesoft.grid.ContextSensitiveTableModel,com.jidesoft.grid.HeaderStyleModel,com.jidesoft.grid.StyleModel,Serializable,TableModel
public class BackupTableTableModel extends com.jgoodies.binding.adapter.AbstractTableAdapter<NodeBackupModel> implements com.jidesoft.grid.ContextSensitiveTableModel, com.jidesoft.grid.HeaderStyleModel, com.jidesoft.grid.StyleModel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLUMN_DESCRIPTIONstatic intCOLUMN_PROGRESSstatic intCOLUMN_SELECTEDstatic intCOLUMN_UNIQUE_ID-
Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
-
Constructor Summary
Constructors Constructor Description BackupTableTableModel(com.jgoodies.binding.list.SelectionInList<NodeBackupModel> nodeBackupList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<?>getCellClassAt(int rowIndex, int columnIndex)com.jidesoft.grid.CellStylegetCellStyleAt(int rowIndex, int columnIndex)Class<?>getColumnClass(int column)com.jidesoft.converter.ConverterContextgetConverterContextAt(int rowIndex, int columnIndex)com.jidesoft.grid.EditorContextgetEditorContextAt(int rowIndex, int columnIndex)com.jidesoft.grid.CellStylegetHeaderStyleAt(int rowIndex, int columnIndex)ObjectgetValueAt(int rowIndex, int columnIndex)booleanisCellEditable(int row, int column)booleanisCellStyleOn()booleanisHeaderStyleOn()voidsetValueAt(Object value, int rowIndex, int columnIndex)-
Methods inherited from class com.jgoodies.binding.adapter.AbstractTableAdapter
createChangeHandler, getColumnCount, getColumnName, getListModel, getRow, getRowCount, setListModel
-
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
-
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnCount, getColumnName, getRowCount, removeTableModelListener
-
-
-
-
Field Detail
-
COLUMN_SELECTED
public static final int COLUMN_SELECTED
- See Also:
- Constant Field Values
-
COLUMN_UNIQUE_ID
public static final int COLUMN_UNIQUE_ID
- See Also:
- Constant Field Values
-
COLUMN_DESCRIPTION
public static final int COLUMN_DESCRIPTION
- See Also:
- Constant Field Values
-
COLUMN_PROGRESS
public static final int COLUMN_PROGRESS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BackupTableTableModel
public BackupTableTableModel(com.jgoodies.binding.list.SelectionInList<NodeBackupModel> nodeBackupList)
-
-
Method Detail
-
getColumnClass
public Class<?> getColumnClass(int column)
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int row, int column)- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getConverterContextAt
public com.jidesoft.converter.ConverterContext getConverterContextAt(int rowIndex, int columnIndex)- Specified by:
getConverterContextAtin interfacecom.jidesoft.grid.ContextSensitiveTableModel
-
getEditorContextAt
public com.jidesoft.grid.EditorContext getEditorContextAt(int rowIndex, int columnIndex)- Specified by:
getEditorContextAtin interfacecom.jidesoft.grid.ContextSensitiveTableModel
-
getCellClassAt
public Class<?> getCellClassAt(int rowIndex, int columnIndex)
- Specified by:
getCellClassAtin interfacecom.jidesoft.grid.ContextSensitiveTableModel
-
getHeaderStyleAt
public com.jidesoft.grid.CellStyle getHeaderStyleAt(int rowIndex, int columnIndex)- Specified by:
getHeaderStyleAtin interfacecom.jidesoft.grid.HeaderStyleModel
-
isHeaderStyleOn
public boolean isHeaderStyleOn()
- Specified by:
isHeaderStyleOnin interfacecom.jidesoft.grid.HeaderStyleModel
-
getValueAt
public Object getValueAt(int rowIndex, int columnIndex)
- Specified by:
getValueAtin interfaceTableModel
-
setValueAt
public void setValueAt(Object value, int rowIndex, int columnIndex)
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
getCellStyleAt
public com.jidesoft.grid.CellStyle getCellStyleAt(int rowIndex, int columnIndex)- Specified by:
getCellStyleAtin interfacecom.jidesoft.grid.StyleModel
-
isCellStyleOn
public boolean isCellStyleOn()
- Specified by:
isCellStyleOnin interfacecom.jidesoft.grid.StyleModel
-
-