org.eclipse.nebula.widgets.nattable.hideshow.event
Class ShowRowPositionsEvent

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.layer.event.RowVisualChangeEvent
      extended by org.eclipse.nebula.widgets.nattable.layer.event.RowStructuralChangeEvent
          extended by org.eclipse.nebula.widgets.nattable.hideshow.event.ShowRowPositionsEvent
All Implemented Interfaces:
ILayerEvent, IStructuralChangeEvent, IVisualChangeEvent

public class ShowRowPositionsEvent
extends RowStructuralChangeEvent


Constructor Summary
  ShowRowPositionsEvent(ILayer layer, Collection<Integer> rowPositions)
           
protected ShowRowPositionsEvent(ShowRowPositionsEvent event)
           
 
Method Summary
 ShowRowPositionsEvent cloneEvent()
           
 boolean convertToLocal(ILayer localLayer)
          Convert the column/row positions carried by the event to the layer about to handle the event.
 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
getLayer, 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.IVisualChangeEvent
getLayer
 

Constructor Detail

ShowRowPositionsEvent

public ShowRowPositionsEvent(ILayer layer,
                             Collection<Integer> rowPositions)

ShowRowPositionsEvent

protected ShowRowPositionsEvent(ShowRowPositionsEvent event)
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.

convertToLocal

public boolean convertToLocal(ILayer localLayer)
Description copied from interface: ILayerEvent
Convert the column/row positions carried by the event to the layer about to handle the event.

Specified by:
convertToLocal in interface ILayerEvent
Overrides:
convertToLocal in class RowVisualChangeEvent
Parameters:
localLayer - layer about to receive the event
Returns:
TRUE if successfully converted, FALSE otherwise


Copyright © 2015. All rights reserved.