Class BpmnPropertyPanel.StartElementsTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- jadex.bpmn.editor.gui.propertypanels.BpmnPropertyPanel.StartElementsTableModel
-
- All Implemented Interfaces:
java.io.Serializable,javax.swing.table.TableModel
- Enclosing class:
- BpmnPropertyPanel
protected class BpmnPropertyPanel.StartElementsTableModel extends javax.swing.table.AbstractTableModelTable model for start elements.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected ConfigurationModelconfmodelThe configuration model.
-
Constructor Summary
Constructors Constructor Description StartElementsTableModel(ConfigurationModel confmodel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColumnCount()Returns the column count.java.lang.StringgetColumnName(int column)Gets the column name.intgetRowCount()Returns the row count.java.lang.ObjectgetValueAt(int rowIndex, int columnIndex)Gets the value.booleanisCellEditable(int rowIndex, int columnIndex)Returns whether a cell is editable.-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, removeTableModelListener, setValueAt
-
-
-
-
Field Detail
-
confmodel
protected ConfigurationModel confmodel
The configuration model.
-
-
Constructor Detail
-
StartElementsTableModel
public StartElementsTableModel(ConfigurationModel confmodel)
-
-
Method Detail
-
getColumnName
public java.lang.String getColumnName(int column)
Gets the column name.- Specified by:
getColumnNamein interfacejavax.swing.table.TableModel- Overrides:
getColumnNamein classjavax.swing.table.AbstractTableModel- Returns:
- The column name.
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex)Returns whether a cell is editable.- Specified by:
isCellEditablein interfacejavax.swing.table.TableModel- Overrides:
isCellEditablein classjavax.swing.table.AbstractTableModel- Parameters:
rowIndex- The row being queried.columnIndex- The column being queried.- Returns:
- If a cell is editable.
-
getRowCount
public int getRowCount()
Returns the row count.- Returns:
- The row count.
-
getColumnCount
public int getColumnCount()
Returns the column count.- Returns:
- The column count.
-
getValueAt
public java.lang.Object getValueAt(int rowIndex, int columnIndex)Gets the value.- Parameters:
rowIndex- The row.columnIndex- The column.- Returns:
- The value.
-
-