Class RowGroupCollapseEvent
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.RowVisualChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.RowStructuralChangeEvent
org.eclipse.nebula.widgets.nattable.hideshow.event.HideRowPositionsEvent
org.eclipse.nebula.widgets.nattable.group.performance.event.RowGroupCollapseEvent
- All Implemented Interfaces:
ILayerEvent,IStructuralChangeEvent,IVisualChangeEvent
Specialization of the
HideRowPositionsEvent. Mainly used to inform
about hidden rows but avoid handling it in the RowGroupHeaderLayer.- Since:
- 2.1
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClone constructor.RowGroupCollapseEvent(ILayer layer, int... rowPositions) Creates a new RowGroupCollapseEvent based on the given information.RowGroupCollapseEvent(ILayer layer, int[] rowPositions, int[] rowIndexes) Creates a new RowGroupCollapseEvent based on the given information.RowGroupCollapseEvent(ILayer layer, Collection<Integer> rowPositions) Creates a new RowGroupCollapseEvent based on the given information.RowGroupCollapseEvent(ILayer layer, Collection<Integer> rowPositions, Collection<Integer> rowIndexes) Creates a new RowGroupCollapseEvent based on the given information. -
Method Summary
Methods inherited from class org.eclipse.nebula.widgets.nattable.hideshow.event.HideRowPositionsEvent
cloneEvent, convertToLocal, getRowDiffsMethods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.RowStructuralChangeEvent
getChangedPositionRectangles, getColumnDiffs, isHorizontalStructureChanged, isVerticalStructureChangedMethods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.RowVisualChangeEvent
getLayer, getRowIndexes, getRowPositionRanges, setRowPositionRanges, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.nebula.widgets.nattable.layer.event.IVisualChangeEvent
getLayer
-
Constructor Details
-
RowGroupCollapseEvent
Creates a new RowGroupCollapseEvent based on the given information.- Parameters:
layer- The ILayer to which the given row positions match.rowPositions- The positions of the rows that have changed.
-
RowGroupCollapseEvent
Creates a new RowGroupCollapseEvent based on the given information.- Parameters:
layer- The ILayer to which the given row positions match.rowPositions- The positions of the rows that have changed.
-
RowGroupCollapseEvent
public RowGroupCollapseEvent(ILayer layer, Collection<Integer> rowPositions, Collection<Integer> rowIndexes) Creates a new RowGroupCollapseEvent based on the given information.- Parameters:
layer- The ILayer to which the given row positions match.rowPositions- The positions of the rows that have changed.rowIndexes- The indexes of the rows that have changed.
-
RowGroupCollapseEvent
Creates a new RowGroupCollapseEvent based on the given information.- Parameters:
layer- The ILayer to which the given row positions match.rowPositions- The positions of the rows that have changed.rowIndexes- The indexes of the rows that have changed.
-
RowGroupCollapseEvent
Clone constructor.- Parameters:
event- The event to clone.
-