org.eclipse.nebula.widgets.nattable.hideshow
Interface IRowHideShowCommandLayer

All Known Implementing Classes:
BaseRowHideShowLayerFixture, GlazedListsRowHideShowLayer, RowHideShowLayer, RowHideShowLayerFixture

public interface IRowHideShowCommandLayer

Interface for creating a layer for row hide/show behaviour. The main idea behind it is that a layer that implements this interface is intended to handle the row hide/show commands, so it isn't necessary to create new commands for every layer.

Author:
Dirk Fauth

Method Summary
 void hideRowIndexes(Collection<Integer> rowIndexes)
          Hide the rows with the given indexes.
 void hideRowPositions(Collection<Integer> rowPositions)
          Hide the rows at the given positions.
 void showAllRows()
          Show all rows that where previously hidden.
 void showRowIndexes(Collection<Integer> rowIndexes)
          Show the rows with the given indexes again.
 

Method Detail

hideRowPositions

void hideRowPositions(Collection<Integer> rowPositions)
Hide the rows at the given positions.

Parameters:
rowPositions - The positions of the rows to hide.

hideRowIndexes

void hideRowIndexes(Collection<Integer> rowIndexes)
Hide the rows with the given indexes.

Parameters:
rowIndexes - The indexes of the rows to hide.

showRowIndexes

void showRowIndexes(Collection<Integer> rowIndexes)
Show the rows with the given indexes again.

Parameters:
rowIndexes - The indexes of the rows that should be showed again.

showAllRows

void showAllRows()
Show all rows that where previously hidden.



Copyright © 2014. All rights reserved.