org.eclipse.nebula.widgets.nattable.layer.event
Class RowStructuralChangeEvent
java.lang.Object
org.eclipse.nebula.widgets.nattable.layer.event.RowVisualChangeEvent
org.eclipse.nebula.widgets.nattable.layer.event.RowStructuralChangeEvent
- All Implemented Interfaces:
- ILayerEvent, IStructuralChangeEvent, IVisualChangeEvent
- Direct Known Subclasses:
- HideRowPositionsEvent, RowDeleteEvent, RowInsertEvent, RowReorderEvent, RowResizeEvent, ShowRowPositionsEvent
public abstract class RowStructuralChangeEvent
- extends RowVisualChangeEvent
- implements IStructuralChangeEvent
- See Also:
ColumnStructuralChangeEvent
RowStructuralChangeEvent
public RowStructuralChangeEvent(ILayer layer,
Range... rowPositionRanges)
RowStructuralChangeEvent
public RowStructuralChangeEvent(ILayer layer,
Collection<Range> rowPositionRanges)
RowStructuralChangeEvent
protected RowStructuralChangeEvent(RowStructuralChangeEvent event)
getChangedPositionRectangles
public Collection<org.eclipse.swt.graphics.Rectangle> getChangedPositionRectangles()
- Specified by:
getChangedPositionRectangles in interface IVisualChangeEvent- Overrides:
getChangedPositionRectangles in class RowVisualChangeEvent
- Returns:
- the position rectangles that have changed and need to be redrawn.
If no rectangles are returned, then the receiver should assume that the
entire layer is changed and will need to be redrawn.
isHorizontalStructureChanged
public boolean isHorizontalStructureChanged()
- Specified by:
isHorizontalStructureChanged in interface IStructuralChangeEvent
getColumnDiffs
public Collection<StructuralDiff> getColumnDiffs()
- Specified by:
getColumnDiffs in interface IStructuralChangeEvent
isVerticalStructureChanged
public boolean isVerticalStructureChanged()
- Specified by:
isVerticalStructureChanged in interface IStructuralChangeEvent
Copyright © 2014. All rights reserved.