use of org.eclipse.nebula.widgets.nattable.hideshow.event.HideColumnPositionsEvent in project nebula.widgets.nattable by eclipse.
the class ColumnHideShowLayer method hideColumnPositions.
@Override
public void hideColumnPositions(Collection<Integer> columnPositions) {
Set<Integer> columnIndexes = new HashSet<Integer>();
for (Integer columnPosition : columnPositions) {
columnIndexes.add(getColumnIndexByPosition(columnPosition));
}
this.hiddenColumnIndexes.addAll(columnIndexes);
invalidateCache();
fireLayerEvent(new HideColumnPositionsEvent(this, columnPositions));
}
Aggregations