Class FeatureTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.bidib.wizard.mvc.features.view.panel.FeatureTableModel
- All Implemented Interfaces:
com.jidesoft.grid.StyleModel,Serializable,TableModel
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class javax.swing.table.AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()com.jidesoft.grid.CellStylegetCellStyleAt(int rowIndex, int columnIndex) Class<?> getColumnClass(int columnIndex) intgetColumnName(int column) protected static StringgetDocumentationDescription(List<org.bidib.jbidibc.core.schema.bidib2.DocumentationType> descriptions, String lang) protected static StringgetDocumentationText(List<org.bidib.jbidibc.core.schema.bidib2.DocumentationType> descriptions, String lang) List<org.bidib.jbidibc.messages.Feature> org.bidib.jbidibc.messages.FeaturegetRowAt(int rowIndex) intgetValueAt(int rowIndex, int columnIndex) booleanisCellEditable(int row, int column) booleanvoidsetValueAt(Object value, int rowIndex, int columnIndex) voidupdateRow(org.bidib.jbidibc.messages.Feature feature) Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
COLUMN_FEATURE_ID
public static final int COLUMN_FEATURE_ID- See Also:
-
COLUMN_FEATURE_NAME
public static final int COLUMN_FEATURE_NAME- See Also:
-
COLUMN_FEATURE_DESCRIPTION
public static final int COLUMN_FEATURE_DESCRIPTION- See Also:
-
COLUMN_FEATURE_VALUE
public static final int COLUMN_FEATURE_VALUE- See Also:
-
COLUMN_FEATURE_UNIT
public static final int COLUMN_FEATURE_UNIT- See Also:
-
-
Constructor Details
-
FeatureTableModel
public FeatureTableModel()
-
-
Method Details
-
isCellEditable
public boolean isCellEditable(int row, int column) - Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
updateRow
public void updateRow(org.bidib.jbidibc.messages.Feature feature) -
getColumnCount
public int getColumnCount()- Specified by:
getColumnCountin interfaceTableModel
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceTableModel
-
getValueAt
- Specified by:
getValueAtin interfaceTableModel
-
getDocumentationText
-
getDocumentationDescription
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
getRowAt
public org.bidib.jbidibc.messages.Feature getRowAt(int rowIndex) -
clear
public void clear() -
getFeatures
-
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
-