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

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.HideRowPositionsEvent
All Implemented Interfaces:
ILayerEvent, IStructuralChangeEvent, IVisualChangeEvent

public class HideRowPositionsEvent
extends RowStructuralChangeEvent


Constructor Summary
protected HideRowPositionsEvent(HideRowPositionsEvent event)
           
  HideRowPositionsEvent(ILayer layer, Collection<Integer> rowPositions)
           
 
Method Summary
 HideRowPositionsEvent 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

HideRowPositionsEvent

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

HideRowPositionsEvent

protected HideRowPositionsEvent(HideRowPositionsEvent event)
Method Detail

cloneEvent

public HideRowPositionsEvent cloneEvent()
Returns:
A cloned copy of the event. This cloned copy is provided to each listener.

getRowDiffs

public Collection<StructuralDiff> getRowDiffs()

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 © 2014. All rights reserved.