Interface IVisualChangeEvent

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

public interface IVisualChangeEvent extends ILayerEvent
An event which indicates a visible change to one or more cells in the layer. A visible change simply indicates that one or more cells should be redrawn. It does not imply a structural change to the layer. This means that cached structure does not need to be invalidated due to visible change events.
  • Method Details

    • getLayer

      ILayer getLayer()
      Returns:
      the layer that the visible change event is originating from.
    • getChangedPositionRectangles

      Collection<org.eclipse.swt.graphics.Rectangle> getChangedPositionRectangles()
      Returns:
      the position rectangles that have changed and need to be redrawn. If no rectangles are returned, then the receiver should assume that the entire layer is changed and will need to be redrawn.