Interface ILayerEvent

All Known Subinterfaces:
IStructuralChangeEvent, IVisualChangeEvent
All Known Implementing Classes:
AbstractContextFreeEvent, BlinkEvent, CellEditorCreatedEvent, CellSelectionEvent, CellVisualChangeEvent, CellVisualUpdateEvent, ColumnDeleteEvent, ColumnGroupCollapseEvent, ColumnGroupExpandEvent, ColumnHeaderSelectionEvent, ColumnInsertEvent, ColumnReorderEvent, ColumnResizeEvent, ColumnSelectionEvent, ColumnStructuralChangeEvent, ColumnStructuralRefreshEvent, ColumnVisualChangeEvent, ColumnVisualUpdateEvent, DataUpdateEvent, DiscardDataChangesCompletedEvent, FilterAppliedEvent, FreezeEvent, GroupColumnsEvent, GroupRowsEvent, HideColumnPositionsEvent, HideRowPositionsEvent, InlineCellEditEvent, KeyRowInsertEvent, LayerEventFixture, PropertyUpdateEvent, RenameColumnHeaderEvent, ResizeStructuralRefreshEvent, RowDeleteEvent, RowGroupCollapseEvent, RowGroupExpandEvent, RowInsertEvent, RowObjectDeleteEvent, RowReorderEvent, RowResizeEvent, RowSelectionEvent, RowStructuralChangeEvent, RowStructuralRefreshEvent, RowUpdateEvent, RowVisualChangeEvent, RowVisualUpdateEvent, SaveDataChangesCompletedEvent, ScrollEvent, SearchEvent, ShowColumnPositionsEvent, ShowRowPositionsEvent, SortColumnEvent, StructuralRefreshEvent, UnfreezeEvent, UngroupColumnsEvent, UngroupRowsEvent, VisualRefreshEvent

public interface ILayerEvent
Event fired by the ILayerCommandHandler classes (usually to signal to handling of a ILayerCommand). Every layer in the grid is given a chance to respond to an event via ILayerListener.handleLayerEvent(ILayerEvent).
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
    convertToLocal(ILayer localLayer)
    Convert the column/row positions carried by the event to the layer about to handle the event.
  • Method Details

    • convertToLocal

      boolean convertToLocal(ILayer localLayer)
      Convert the column/row positions carried by the event to the layer about to handle the event.
      Parameters:
      localLayer - layer about to receive the event
      Returns:
      TRUE if successfully converted, FALSE otherwise
    • cloneEvent

      ILayerEvent cloneEvent()
      Returns:
      A cloned copy of the event. This cloned copy is provided to each listener.