Class ColumnGroupCollapseEvent

All Implemented Interfaces:
ILayerEvent, IStructuralChangeEvent, IVisualChangeEvent

public class ColumnGroupCollapseEvent extends HideColumnPositionsEvent
Specialization of the HideColumnPositionsEvent. Mainly used to inform about hidden columns but avoid handling it in the ColumnGroupHeaderLayer.
Since:
2.1
  • Constructor Details

    • ColumnGroupCollapseEvent

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

      public ColumnGroupCollapseEvent(ILayer layer, int... columnPositions)
      Creates a new ColumnGroupCollapseEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given column positions match.
      columnPositions - The positions of the columns that have changed.
    • ColumnGroupCollapseEvent

      public ColumnGroupCollapseEvent(ILayer layer, Collection<Integer> columnPositions, Collection<Integer> columnIndexes)
      Creates a new ColumnGroupCollapseEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given column positions match.
      columnPositions - The positions of the columns that have changed.
      columnIndexes - The indexes of the columns that have changed.
    • ColumnGroupCollapseEvent

      public ColumnGroupCollapseEvent(ILayer layer, int[] columnPositions, int[] columnIndexes)
      Creates a new ColumnGroupCollapseEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given column positions match.
      columnPositions - The positions of the columns that have changed.
      columnIndexes - The indexes of the columns that have changed.
    • ColumnGroupCollapseEvent

      protected ColumnGroupCollapseEvent(ColumnGroupCollapseEvent event)
      Clone constructor.
      Parameters:
      event - The event to clone.
  • Method Details