T
- public class ProMComboBoxTableCellEditor<T>
extends javax.swing.AbstractCellEditor
implements javax.swing.table.TableCellEditor
Modifier and Type | Field and Description |
---|---|
protected ProMComboBox<T> |
comboBox |
Constructor and Description |
---|
ProMComboBoxTableCellEditor(java.util.Collection<T> values) |
ProMComboBoxTableCellEditor(T... values) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getCellEditorValue() |
ProMComboBox<T> |
getTableCellEditorComponent(javax.swing.JTable table,
java.lang.Object value,
boolean isSelected,
int row,
int column) |
protected void |
setValue(T value) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
protected ProMComboBox<T> comboBox
public ProMComboBoxTableCellEditor(java.util.Collection<T> values)
values
- public ProMComboBoxTableCellEditor(T... values)
values
- public java.lang.Object getCellEditorValue()
getCellEditorValue
in interface javax.swing.CellEditor
CellEditor.getCellEditorValue()
public ProMComboBox<T> getTableCellEditorComponent(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent
in interface javax.swing.table.TableCellEditor
TableCellEditor.getTableCellEditorComponent(javax.swing.JTable,
java.lang.Object, boolean, int, int)
protected void setValue(T value)