Class ShowRowPositionsEvent
- 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.ShowRowPositionsEvent
-
- All Implemented Interfaces:
ILayerEvent,IStructuralChangeEvent,IVisualChangeEvent
public class ShowRowPositionsEvent extends RowStructuralChangeEvent
Structural change event to indicate that rows are made visible again.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedShowRowPositionsEvent(ShowRowPositionsEvent event)Clone constructor.ShowRowPositionsEvent(ILayer layer, int... rowPositions)Constructor.ShowRowPositionsEvent(ILayer layer, Collection<Integer> rowPositions)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShowRowPositionsEventcloneEvent()Collection<StructuralDiff>getRowDiffs()-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.RowStructuralChangeEvent
getChangedPositionRectangles, getColumnDiffs, isHorizontalStructureChanged, isVerticalStructureChanged
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.RowVisualChangeEvent
convertToLocal, getLayer, getRowIndexes, getRowPositionRanges, setRowPositionRanges, 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.ILayerEvent
convertToLocal
-
Methods inherited from interface org.eclipse.nebula.widgets.nattable.layer.event.IVisualChangeEvent
getLayer
-
-
-
-
Constructor Detail
-
ShowRowPositionsEvent
public ShowRowPositionsEvent(ILayer layer, Collection<Integer> rowPositions)
Constructor.- Parameters:
layer- The layer to which the given row positions match.rowPositions- The row positions that are made visible again.
-
ShowRowPositionsEvent
public ShowRowPositionsEvent(ILayer layer, int... rowPositions)
Constructor.- Parameters:
layer- The layer to which the given row positions match.rowPositions- The row positions that are made visible again.- Since:
- 2.0
-
ShowRowPositionsEvent
protected ShowRowPositionsEvent(ShowRowPositionsEvent event)
Clone constructor.- Parameters:
event- TheShowRowPositionsEventto clone.
-
-
Method Detail
-
getRowDiffs
public Collection<StructuralDiff> getRowDiffs()
-
cloneEvent
public ShowRowPositionsEvent cloneEvent()
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-
-