Interface IRowHideShowLayer
- All Known Implementing Classes:
GlazedListsRowHideShowLayer,RowHideShowLayer,RowHideShowLayerFixture,RowIdHideShowLayer
public interface IRowHideShowLayer
Interface to define a layer that is able to deal with hidden rows.
- Since:
- 1.6
-
Method Summary
Modifier and TypeMethodDescriptionvoidhideRowIndexes(int... rowIndexes) Hide the rows with the given indexes.voidhideRowIndexes(Collection<Integer> rowIndexes) Hide the rows with the given indexes.voidhideRowPositions(int... rowPositions) Hide the rows at the given positions.voidhideRowPositions(Collection<Integer> rowPositions) Hide the rows at the given positions.voidShow all rows that where previously hidden.voidshowRowIndexes(int... rowIndexes) Show the rows with the given indexes again.voidshowRowIndexes(Collection<Integer> rowIndexes) Show the rows with the given indexes again.voidshowRowPosition(int rowPosition, boolean showToTop, boolean showAll) Show the row(s) that are hidden next to the given row position.
-
Method Details
-
hideRowPositions
void hideRowPositions(int... rowPositions) Hide the rows at the given positions.- Parameters:
rowPositions- The positions of the rows to hide.- Since:
- 2.0
-
hideRowPositions
Hide the rows at the given positions.- Parameters:
rowPositions- The positions of the rows to hide.- Since:
- 2.0
-
hideRowIndexes
void hideRowIndexes(int... rowIndexes) Hide the rows with the given indexes.- Parameters:
rowIndexes- The indexes of the rows to hide.- Since:
- 2.0
-
hideRowIndexes
Hide the rows with the given indexes.- Parameters:
rowIndexes- The indexes of the rows to hide.- Since:
- 2.0
-
showRowIndexes
void showRowIndexes(int... rowIndexes) Show the rows with the given indexes again.- Parameters:
rowIndexes- The indexes of the rows that should be showed again.- Since:
- 2.0
-
showRowIndexes
Show the rows with the given indexes again.- Parameters:
rowIndexes- The indexes of the rows that should be showed again.- Since:
- 2.0
-
showRowPosition
void showRowPosition(int rowPosition, boolean showToTop, boolean showAll) Show the row(s) that are hidden next to the given row position.- Parameters:
rowPosition- The row position whose neighbors should be shown again.showToTop- Whether the row positions to the top or the bottom of the given row position should be shown again.showAll- Whether all hidden adjacent rows should be shown again or only the single direct adjacent row.
-
showAllRows
void showAllRows()Show all rows that where previously hidden.- Since:
- 2.0
-