Class JWatVariableInputTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
jwat.workloadAnalysis.tables.JWatVariableInputTableModel
- All Implemented Interfaces:
Serializable, TableModel
Data model of the j wat variable input table.
- See Also:
-
Field Summary
FieldsFields inherited from class AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbooleanbooleanbooleanTraffic analysis control.voidvoiddeleteRow(int index) voidClass<?> getColumnClass(int index) intNumero delle colonnegetColumnName(int columnIndex) Returns name for each column (given its index) to be displayed inside table headergetNames()intNumero delle righeintgetSize()getType(int index) int[]getTypes()getValueAt(int row, int col) booleanisCellEditable(int rowIndex, int columnIndex) Tells whether data contained in a specific cell(given row and column index) is editable or not.voidvoidsetValueAt(Object value, int r, int c) Methods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener
-
Field Details
-
columnNames
-
colClasses
-
-
Constructor Details
-
JWatVariableInputTableModel
public JWatVariableInputTableModel()
-
-
Method Details
-
getColumnName
Returns name for each column (given its index) to be displayed inside table header- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel
-
getColumnClass
- Specified by:
getColumnClassin interfaceTableModel- Overrides:
getColumnClassin classAbstractTableModel
-
isCellEditable
public boolean isCellEditable(int rowIndex, int columnIndex) Tells whether data contained in a specific cell(given row and column index) is editable or not. In this case distribution column is not editable, as editing functionality is implemented via edit button- Specified by:
isCellEditablein interfaceTableModel- Overrides:
isCellEditablein classAbstractTableModel
-
getRowCount
public int getRowCount()Numero delle righe -
getColumnCount
public int getColumnCount()Numero delle colonne -
getValueAt
-
setValueAt
- Specified by:
setValueAtin interfaceTableModel- Overrides:
setValueAtin classAbstractTableModel
-
addNewRow
public void addNewRow() -
deleteRow
public void deleteRow(int index) -
resetTable
public void resetTable() -
clearTable
public void clearTable() -
getVarNames
-
getType
-
getSize
public int getSize() -
checkInfos
public boolean checkInfos() -
addNewRow
-
getParameter
-
getNames
-
getComments
-
getDelimiters
-
getRegExpr
-
getDefaults
-
getReplaces
-
getTypes
public int[] getTypes() -
deselectAll
public void deselectAll() -
checkTrafficRequirements
public boolean checkTrafficRequirements()Traffic analysis control. Check if one and only one date variable is currently selected -
checkFittingRequirements
public boolean checkFittingRequirements()
-