All Implemented Interfaces:
ILayerEvent, IStructuralChangeEvent, IVisualChangeEvent

public class RowGroupCollapseEvent extends HideRowPositionsEvent
Specialization of the HideRowPositionsEvent. Mainly used to inform about hidden rows but avoid handling it in the RowGroupHeaderLayer.
Since:
2.1
  • Constructor Details

    • RowGroupCollapseEvent

      public RowGroupCollapseEvent(ILayer layer, Collection<Integer> rowPositions)
      Creates a new RowGroupCollapseEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given row positions match.
      rowPositions - The positions of the rows that have changed.
    • RowGroupCollapseEvent

      public RowGroupCollapseEvent(ILayer layer, int... rowPositions)
      Creates a new RowGroupCollapseEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given row positions match.
      rowPositions - The positions of the rows that have changed.
    • RowGroupCollapseEvent

      public RowGroupCollapseEvent(ILayer layer, Collection<Integer> rowPositions, Collection<Integer> rowIndexes)
      Creates a new RowGroupCollapseEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given row positions match.
      rowPositions - The positions of the rows that have changed.
      rowIndexes - The indexes of the rows that have changed.
    • RowGroupCollapseEvent

      public RowGroupCollapseEvent(ILayer layer, int[] rowPositions, int[] rowIndexes)
      Creates a new RowGroupCollapseEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given row positions match.
      rowPositions - The positions of the rows that have changed.
      rowIndexes - The indexes of the rows that have changed.
    • RowGroupCollapseEvent

      protected RowGroupCollapseEvent(RowGroupCollapseEvent event)
      Clone constructor.
      Parameters:
      event - The event to clone.