org.eclipse.nebula.widgets.nattable.layer.event
Class ColumnDeleteEvent
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.ColumnStructuralChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.ColumnDeleteEvent
- All Implemented Interfaces:
- ILayerEvent, IStructuralChangeEvent, IVisualChangeEvent
public class ColumnDeleteEvent
- extends ColumnStructuralChangeEvent
Event indicating that one ore more columns were deleted from the layer.
- Author:
- Dirk Fauth
ColumnDeleteEvent
public ColumnDeleteEvent(ILayer layer,
int columnPosition)
- Creates a new ColumnDeleteEvent based on the given information.
- Parameters:
layer
- The ILayer to which the given column position matches.columnPosition
- The column position of the column that was deleted.
ColumnDeleteEvent
public ColumnDeleteEvent(ILayer layer,
Range... columnPositionRanges)
- Creates a new ColumnDeleteEvent 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 were deleted.
ColumnDeleteEvent
public ColumnDeleteEvent(ILayer layer,
Collection<Range> columnPositionRanges)
- Creates a new ColumnDeleteEvent 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 were deleted.
ColumnDeleteEvent
protected ColumnDeleteEvent(ColumnStructuralChangeEvent event)
- Creates a new ColumnDeleteEvent based on the given instance.
Mainly needed for cloning.
- Parameters:
event
- The ColumnDeleteEvent out of which the new instance should be created.
getColumnDiffs
public Collection<StructuralDiff> getColumnDiffs()
cloneEvent
public ILayerEvent cloneEvent()
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
Copyright © 2014. All rights reserved.