Class ProMComboBoxTableCellEditor<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor

    public class ProMComboBoxTableCellEditor<T>
    extends javax.swing.AbstractCellEditor
    implements javax.swing.table.TableCellEditor
    Author:
    michael
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ProMComboBox<T> comboBox  
      • Fields inherited from class javax.swing.AbstractCellEditor

        changeEvent, listenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)  
      • Methods inherited from class javax.swing.AbstractCellEditor

        addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.swing.CellEditor

        addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
    • Constructor Detail

      • ProMComboBoxTableCellEditor

        public ProMComboBoxTableCellEditor​(java.util.Collection<T> values)
        Parameters:
        values -
      • ProMComboBoxTableCellEditor

        public ProMComboBoxTableCellEditor​(T... values)
        Parameters:
        values -
    • Method Detail

      • getCellEditorValue

        public java.lang.Object getCellEditorValue()
        Specified by:
        getCellEditorValue in interface javax.swing.CellEditor
        See Also:
        CellEditor.getCellEditorValue()
      • getTableCellEditorComponent

        public ProMComboBox<T> getTableCellEditorComponent​(javax.swing.JTable table,
                                                           java.lang.Object value,
                                                           boolean isSelected,
                                                           int row,
                                                           int column)
        Specified by:
        getTableCellEditorComponent in interface javax.swing.table.TableCellEditor
        See Also:
        TableCellEditor.getTableCellEditorComponent(javax.swing.JTable, java.lang.Object, boolean, int, int)
      • setValue

        protected void setValue​(T value)