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
Event indicating that one ore more columns were deleted from the layer.
-
Constructor Summary
ModifierConstructorDescriptionprotected
Creates a new ColumnDeleteEvent based on the given instance.ColumnDeleteEvent
(ILayer layer, int columnPosition) Creates a new ColumnDeleteEvent based on the given information.ColumnDeleteEvent
(ILayer layer, Collection<Range> columnPositionRanges) Creates a new ColumnDeleteEvent based on the given information.ColumnDeleteEvent
(ILayer layer, Range... columnPositionRanges) Creates a new ColumnDeleteEvent based on the given information. -
Method Summary
Modifier and TypeMethodDescriptionboolean
convertToLocal
(ILayer localLayer) Convert the column/row positions carried by the event to the layer about to handle the event.Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.ColumnStructuralChangeEvent
getChangedPositionRectangles, getRowDiffs, isHorizontalStructureChanged, isVerticalStructureChanged
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
getColumnIndexes, getColumnPositionRanges, getLayer, setColumnPositionRanges, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.nebula.widgets.nattable.layer.event.IVisualChangeEvent
getLayer
-
Constructor Details
-
ColumnDeleteEvent
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
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
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
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.
-
-
Method Details
-
getColumnDiffs
-
cloneEvent
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-
convertToLocal
Description copied from interface:ILayerEvent
Convert the column/row positions carried by the event to the layer about to handle the event.- Specified by:
convertToLocal
in interfaceILayerEvent
- Overrides:
convertToLocal
in classColumnVisualChangeEvent
- Parameters:
localLayer
- layer about to receive the event- Returns:
- TRUE if successfully converted, FALSE otherwise
-