Class ClassCellEditor

java.lang.Object
jaxx.runtime.swing.editor.ClassCellEditor
All Implemented Interfaces:
javax.swing.CellEditor, javax.swing.table.TableCellEditor

public class ClassCellEditor
extends java.lang.Object
implements javax.swing.table.TableCellEditor
A class cell editor (fork from comandline project).
Author:
Tony Chemit - chemit@codelutin.com
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected javax.swing.table.TableCellEditor delegate  
  • Constructor Summary

    Constructors
    Constructor Description
    ClassCellEditor()  
  • Method Summary

    Modifier and Type Method Description
    void addCellEditorListener​(javax.swing.event.CellEditorListener l)  
    void cancelCellEditing()  
    java.lang.Object getCellEditorValue()  
    protected javax.swing.table.TableCellEditor getDelegate()  
    java.awt.Component getTableCellEditorComponent​(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)  
    protected boolean hasDelegate()  
    boolean isCellEditable​(java.util.EventObject anEvent)  
    void removeCellEditorListener​(javax.swing.event.CellEditorListener l)  
    boolean shouldSelectCell​(java.util.EventObject anEvent)  
    boolean stopCellEditing()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • delegate

      protected javax.swing.table.TableCellEditor delegate
  • Constructor Details

    • ClassCellEditor

      public ClassCellEditor()
  • Method Details

    • getTableCellEditorComponent

      public java.awt.Component getTableCellEditorComponent​(javax.swing.JTable table, java.lang.Object value, boolean isSelected, int row, int column)
      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
    • shouldSelectCell

      public boolean shouldSelectCell​(java.util.EventObject anEvent)
      Specified by:
      shouldSelectCell in interface javax.swing.CellEditor
    • stopCellEditing

      public boolean stopCellEditing()
      Specified by:
      stopCellEditing in interface javax.swing.CellEditor
    • cancelCellEditing

      public void cancelCellEditing()
      Specified by:
      cancelCellEditing in interface javax.swing.CellEditor
    • addCellEditorListener

      public void addCellEditorListener​(javax.swing.event.CellEditorListener l)
      Specified by:
      addCellEditorListener in interface javax.swing.CellEditor
    • removeCellEditorListener

      public void removeCellEditorListener​(javax.swing.event.CellEditorListener l)
      Specified by:
      removeCellEditorListener in interface javax.swing.CellEditor
    • getDelegate

      protected javax.swing.table.TableCellEditor getDelegate()
    • hasDelegate

      protected boolean hasDelegate()