Class RowInsertEvent
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.RowVisualChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.RowStructuralChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.RowInsertEvent
- All Implemented Interfaces:
ILayerEvent,IStructuralChangeEvent,IVisualChangeEvent
- Direct Known Subclasses:
KeyRowInsertEvent
Event indicating that one ore more rows were inserted to the layer.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRowInsertEvent(RowInsertEvent event) Creates a new RowInsertEvent based on the given instance.RowInsertEvent(ILayer layer, int rowPosition) Creates a new RowInsertEvent based on the given information.RowInsertEvent(ILayer layer, Collection<Range> rowPositionRanges) Creates a new RowInsertEvent based on the given information.RowInsertEvent(ILayer layer, Range... rowPositionRanges) Creates a new RowInsertEvent based on the given information. -
Method Summary
Modifier and TypeMethodDescriptionMethods 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
convertToLocal, 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.ILayerEvent
convertToLocalMethods inherited from interface org.eclipse.nebula.widgets.nattable.layer.event.IVisualChangeEvent
getLayer
-
Constructor Details
-
RowInsertEvent
Creates a new RowInsertEvent based on the given information.- Parameters:
layer- The ILayer to which the given row position matches.rowPosition- The row position of the row that was inserted.
-
RowInsertEvent
Creates a new RowInsertEvent based on the given information.- Parameters:
layer- The ILayer to which the given row positions match.rowPositionRanges- The row position ranges for the rows that were inserted.
-
RowInsertEvent
Creates a new RowInsertEvent based on the given information.- Parameters:
layer- The ILayer to which the given row positions match.rowPositionRanges- The row position ranges for the rows that were inserted.
-
RowInsertEvent
Creates a new RowInsertEvent based on the given instance. Mainly needed for cloning.- Parameters:
event- The RowInsertEvent out of which the new instance should be created.
-
-
Method Details
-
cloneEvent
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-
getRowDiffs
-