edu.udo.cs.yale.gui.templates
Class SaveAsTemplateDialog.TemplateParameterTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
edu.udo.cs.yale.gui.templates.SaveAsTemplateDialog.TemplateParameterTableModel
- All Implemented Interfaces:
- java.io.Serializable, javax.swing.table.TableModel
- Enclosing class:
- SaveAsTemplateDialog
private class SaveAsTemplateDialog.TemplateParameterTableModel
- extends javax.swing.table.AbstractTableModel
A table model for operator - parameter pairs.
Fields inherited from class javax.swing.table.AbstractTableModel |
listenerList |
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
parameters
private SaveAsTemplateDialog.OperatorParameterPair[] parameters
- 0: operator, 1: parameter key
selection
private boolean[] selection
SaveAsTemplateDialog.TemplateParameterTableModel
public SaveAsTemplateDialog.TemplateParameterTableModel(SaveAsTemplateDialog.OperatorParameterPair[] parameters)
getColumnName
public java.lang.String getColumnName(int column)
- Specified by:
getColumnName
in interface javax.swing.table.TableModel
- Overrides:
getColumnName
in class javax.swing.table.AbstractTableModel
getValueAt
public java.lang.Object getValueAt(int row,
int column)
setValueAt
public void setValueAt(java.lang.Object o,
int row,
int column)
- Specified by:
setValueAt
in interface javax.swing.table.TableModel
- Overrides:
setValueAt
in class javax.swing.table.AbstractTableModel
isCellEditable
public boolean isCellEditable(int row,
int column)
- Specified by:
isCellEditable
in interface javax.swing.table.TableModel
- Overrides:
isCellEditable
in class javax.swing.table.AbstractTableModel
getRowCount
public int getRowCount()
getColumnCount
public int getColumnCount()
getColumnClass
public java.lang.Class<?> getColumnClass(int column)
- Makes sure that a checkbox is used for the boolean values.
- Specified by:
getColumnClass
in interface javax.swing.table.TableModel
- Overrides:
getColumnClass
in class javax.swing.table.AbstractTableModel
getSelectedParameters
public java.util.List<java.lang.String[]> getSelectedParameters()
Copyright © 2001-2006