Class ColumnGroupCollapseEvent
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.ColumnStructuralChangeEvent
org.eclipse.nebula.widgets.nattable.hideshow.event.HideColumnPositionsEvent
org.eclipse.nebula.widgets.nattable.group.performance.event.ColumnGroupCollapseEvent
- All Implemented Interfaces:
ILayerEvent
,IStructuralChangeEvent
,IVisualChangeEvent
Specialization of the
HideColumnPositionsEvent
. Mainly used to inform
about hidden columns but avoid handling it in the ColumnGroupHeaderLayer.- Since:
- 2.1
-
Constructor Summary
ModifierConstructorDescriptionprotected
Clone constructor.ColumnGroupCollapseEvent
(ILayer layer, int... columnPositions) Creates a new ColumnGroupCollapseEvent based on the given information.ColumnGroupCollapseEvent
(ILayer layer, int[] columnPositions, int[] columnIndexes) Creates a new ColumnGroupCollapseEvent based on the given information.ColumnGroupCollapseEvent
(ILayer layer, Collection<Integer> columnPositions) Creates a new ColumnGroupCollapseEvent based on the given information.ColumnGroupCollapseEvent
(ILayer layer, Collection<Integer> columnPositions, Collection<Integer> columnIndexes) Creates a new ColumnGroupCollapseEvent based on the given information. -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.hideshow.event.HideColumnPositionsEvent
convertToLocal, getColumnDiffs
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
-
ColumnGroupCollapseEvent
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
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
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
Clone constructor.- Parameters:
event
- The event to clone.
-
-
Method Details
-
cloneEvent
- Specified by:
cloneEvent
in interfaceILayerEvent
- Overrides:
cloneEvent
in classHideColumnPositionsEvent
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-