Class ReadonlyTableCellEditor

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.CellEditor, javax.swing.table.TableCellEditor

    public class ReadonlyTableCellEditor
    extends javax.swing.AbstractCellEditor
    implements javax.swing.table.TableCellEditor
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class javax.swing.AbstractCellEditor

        changeEvent, listenerList
    • Method Summary

      Modifier and Type Method Description
      java.lang.Object getCellEditorValue()  
      java.awt.Component getTableCellEditorComponent​(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int rowIndex, int vColIndex)  
      boolean isCellEditable​(java.util.EventObject anEvent)  
      • Methods inherited from class javax.swing.AbstractCellEditor

        addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, 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, removeCellEditorListener, shouldSelectCell, stopCellEditing
    • Constructor Detail

      • ReadonlyTableCellEditor

        public ReadonlyTableCellEditor​(boolean iscelleditable)
    • Method Detail

      • getTableCellEditorComponent

        public java.awt.Component getTableCellEditorComponent​(javax.swing.JTable table,
                                                              java.lang.Object value,
                                                              boolean isSelected,
                                                              int rowIndex,
                                                              int vColIndex)
        Specified by:
        getTableCellEditorComponent in interface javax.swing.table.TableCellEditor
      • getCellEditorValue

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

        public boolean isCellEditable​(java.util.EventObject anEvent)
        Specified by:
        isCellEditable in interface javax.swing.CellEditor
        Overrides:
        isCellEditable in class javax.swing.AbstractCellEditor