Class ColumnStructuralChangeEvent

java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.ColumnStructuralChangeEvent
All Implemented Interfaces:
ILayerEvent, IStructuralChangeEvent, IVisualChangeEvent
Direct Known Subclasses:
ColumnDeleteEvent, ColumnInsertEvent, ColumnReorderEvent, ColumnResizeEvent, HideColumnPositionsEvent, ShowColumnPositionsEvent

public abstract class ColumnStructuralChangeEvent extends ColumnVisualChangeEvent implements IStructuralChangeEvent
Event indicating a change in the structure of the columns. This event carried ColumnDiffs (Collection<StructuralDiff>) indicating the columns which have changed.
  • Constructor Details

    • ColumnStructuralChangeEvent

      public ColumnStructuralChangeEvent(ILayer layer, Range... columnPositionRanges)
      Creates a new ColumnStructuralChangeEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given column positions match.
      columnPositionRanges - The column position ranges for the columns that have changed.
    • ColumnStructuralChangeEvent

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

      public ColumnStructuralChangeEvent(ILayer layer, Collection<Range> columnPositionRanges, Collection<Integer> columnIndexes)
      Creates a new ColumnStructuralChangeEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given column positions match.
      columnPositionRanges - The column position ranges for the columns that have changed.
      columnIndexes - The indexes of the columns that have changed.
      Since:
      1.6
    • ColumnStructuralChangeEvent

      public ColumnStructuralChangeEvent(ILayer layer, Collection<Range> columnPositionRanges, int... columnIndexes)
      Creates a new ColumnStructuralChangeEvent based on the given information.
      Parameters:
      layer - The ILayer to which the given column positions match.
      columnPositionRanges - The column position ranges for the columns that have changed.
      columnIndexes - The indexes of the columns that have changed.
      Since:
      2.0
    • ColumnStructuralChangeEvent

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