Class CellEditorCreatedEvent

All Implemented Interfaces:

public class CellEditorCreatedEvent extends Object implements ILayerEvent
The CellEditorCreatedEvent is fired by the EditController whenever a editor has been created.

Please keep in mind that there is no event fired when the editor is destroyed. Clients should associate a dispose listener to the editor widget to be informed whenever the editor get destroyed.

This event is typically consumed by the NatTable itself to keep track of the active editor. Any other layer may also consume this event to do whatever necessary.

  • Constructor Details

    • CellEditorCreatedEvent

      public CellEditorCreatedEvent(ICellEditor editor)
      Creates a new event passing the created editor
      editor - the new editor
  • Method Details

    • convertToLocal

      public boolean convertToLocal(ILayer localLayer)
      Description copied from interface: ILayerEvent
      Convert the column/row positions carried by the event to the layer about to handle the event.
      Specified by:
      convertToLocal in interface ILayerEvent
      localLayer - layer about to receive the event
      TRUE if successfully converted, FALSE otherwise
    • cloneEvent

      public ILayerEvent cloneEvent()
      Specified by:
      cloneEvent in interface ILayerEvent
      A cloned copy of the event. This cloned copy is provided to each listener.
    • getEditor

      public ICellEditor getEditor()
      Returns the editor associated with this event.
      the created editor