public class VariableStateEditor
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor
Constructor and Description |
---|
VariableStateEditor(OptionModelController optionModelController,
VariableStatePanel variableStatePanel)
Instantiates a new VariableStateEditor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getCellEditorValue() |
static javax.swing.DefaultComboBoxModel<VariableStatePanel.SystemFixedVariedVariable> |
getComboBoxModelVariableState(SystemVariableDefinition svd)
Gets the ComboBox model variable state.
|
java.awt.Component |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
public VariableStateEditor(OptionModelController optionModelController, VariableStatePanel variableStatePanel)
optionModelController
- the OptionModelControllervariableStatePanel
- the VariableStatePanelpublic java.awt.Component getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
public static javax.swing.DefaultComboBoxModel<VariableStatePanel.SystemFixedVariedVariable> getComboBoxModelVariableState(SystemVariableDefinition svd)
svd
- the SystemVariableDefinitionpublic java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor