Class RowStructuralChangeEvent

java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.RowVisualChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.RowStructuralChangeEvent
All Implemented Interfaces:
ILayerEvent, IStructuralChangeEvent, IVisualChangeEvent
Direct Known Subclasses:
HideRowPositionsEvent, RowDeleteEvent, RowInsertEvent, RowReorderEvent, RowResizeEvent, ShowRowPositionsEvent

public abstract class RowStructuralChangeEvent extends RowVisualChangeEvent implements IStructuralChangeEvent
Event indicating a change in the structure of the rows. This event carried RowDiffs (Collection<StructuralDiff>) indicating the rows which have changed.
  • Constructor Details

    • RowStructuralChangeEvent

      public RowStructuralChangeEvent(ILayer layer, Range... rowPositionRanges)
      Creates a new RowStructuralChangeEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given row positions match.
      rowPositionRanges - The row position ranges for the rows that have changed.
    • RowStructuralChangeEvent

      public RowStructuralChangeEvent(ILayer layer, Collection<Range> rowPositionRanges)
      Creates a new RowStructuralChangeEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given column positions match.
      rowPositionRanges - The row position ranges for the rows that have changed.
    • RowStructuralChangeEvent

      public RowStructuralChangeEvent(ILayer layer, Collection<Range> rowPositionRanges, Collection<Integer> rowIndexes)
      Creates a new RowStructuralChangeEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given row positions match.
      rowPositionRanges - The row position ranges for the rows that have changed.
      rowIndexes - The indexes of the rows that have changed.
      Since:
      1.6
    • RowStructuralChangeEvent

      public RowStructuralChangeEvent(ILayer layer, Collection<Range> rowPositionRanges, int... rowIndexes)
      Creates a new RowStructuralChangeEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given row positions match.
      rowPositionRanges - The row position ranges for the rows that have changed.
      rowIndexes - The indexes of the rows that have changed.
      Since:
      2.0
    • RowStructuralChangeEvent

      protected RowStructuralChangeEvent(RowStructuralChangeEvent event)
      Creates a new RowStructuralChangeEvent based on the given instance. Mainly needed for cloning.
      Parameters:
      event - The RowStructuralChangeEvent out of which the new instance should be created.
  • Method Details