Class ShowColumnPositionsEvent
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
-
- org.eclipse.nebula.widgets.nattable.layer.event.ColumnStructuralChangeEvent
-
- org.eclipse.nebula.widgets.nattable.hideshow.event.ShowColumnPositionsEvent
-
- All Implemented Interfaces:
ILayerEvent
,IStructuralChangeEvent
,IVisualChangeEvent
public class ShowColumnPositionsEvent extends ColumnStructuralChangeEvent
Structural change event to indicate that columns are made visible again.
-
-
Constructor Summary
Constructors Constructor Description ShowColumnPositionsEvent(ShowColumnPositionsEvent event)
Clone constructor.ShowColumnPositionsEvent(ILayer layer, int... columnPositions)
Constructor.ShowColumnPositionsEvent(IUniqueIndexLayer layer, Collection<Integer> columnPositions)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShowColumnPositionsEvent
cloneEvent()
Collection<StructuralDiff>
getColumnDiffs()
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.ColumnStructuralChangeEvent
getChangedPositionRectangles, getRowDiffs, isHorizontalStructureChanged, isVerticalStructureChanged
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.layer.event.ColumnVisualChangeEvent
convertToLocal, getColumnIndexes, getColumnPositionRanges, getLayer, setColumnPositionRanges, 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
-
ShowColumnPositionsEvent
public ShowColumnPositionsEvent(IUniqueIndexLayer layer, Collection<Integer> columnPositions)
Constructor.- Parameters:
layer
- The layer to which the given column positions match.columnPositions
- The column positions that are made visible again.
-
ShowColumnPositionsEvent
public ShowColumnPositionsEvent(ILayer layer, int... columnPositions)
Constructor.- Parameters:
layer
- The layer to which the given column positions match.columnPositions
- The column positions that are made visible again.- Since:
- 2.0
-
ShowColumnPositionsEvent
public ShowColumnPositionsEvent(ShowColumnPositionsEvent event)
Clone constructor.- Parameters:
event
- TheShowColumnPositionsEvent
to clone.
-
-
Method Detail
-
getColumnDiffs
public Collection<StructuralDiff> getColumnDiffs()
-
cloneEvent
public ShowColumnPositionsEvent cloneEvent()
- Returns:
- A cloned copy of the event. This cloned copy is provided to each listener.
-
-