public class RowReorderEvent extends RowStructuralChangeEvent
Constructor and Description |
---|
RowReorderEvent(ILayer layer,
int beforeFromRowPosition,
int beforeToRowPosition,
boolean reorderToTopEdge) |
RowReorderEvent(ILayer layer,
List<Integer> beforeFromRowPositions,
int beforeToRowPosition,
boolean reorderToTopEdge) |
RowReorderEvent(RowReorderEvent event)
Constructor for internal use to clone this event.
|
Modifier and Type | Method and Description |
---|---|
RowReorderEvent |
cloneEvent() |
boolean |
convertToLocal(ILayer targetLayer)
Convert the column/row positions carried by the event to the layer about to
handle the event.
|
Collection<Range> |
getBeforeFromRowPositionRanges() |
int |
getBeforeToRowPosition() |
Collection<StructuralDiff> |
getRowDiffs() |
boolean |
isReorderToTopEdge() |
getChangedPositionRectangles, getColumnDiffs, isHorizontalStructureChanged, isVerticalStructureChanged
getLayer, getRowPositionRanges, setRowPositionRanges, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLayer
public RowReorderEvent(ILayer layer, int beforeFromRowPosition, int beforeToRowPosition, boolean reorderToTopEdge)
layer
- beforeFromRowPosition
- beforeToRowPosition
- reorderToTopEdge
- public RowReorderEvent(ILayer layer, List<Integer> beforeFromRowPositions, int beforeToRowPosition, boolean reorderToTopEdge)
layer
- beforeFromRowPositions
- beforeToRowPosition
- reorderToTopEdge
- public RowReorderEvent(RowReorderEvent event)
event
- The event out of which the new one should be createdpublic Collection<Range> getBeforeFromRowPositionRanges()
public int getBeforeToRowPosition()
public boolean isReorderToTopEdge()
public Collection<StructuralDiff> getRowDiffs()
public boolean convertToLocal(ILayer targetLayer)
ILayerEvent
convertToLocal
in interface ILayerEvent
convertToLocal
in class RowVisualChangeEvent
targetLayer
- layer about to receive the eventpublic RowReorderEvent cloneEvent()
Copyright © 2013. All Rights Reserved.