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 Type
    Method
    Description
    void
    hideRowIndexes(int... rowIndexes)
    Hide the rows with the given indexes.
    void
    Hide the rows with the given indexes.
    void
    hideRowPositions(int... rowPositions)
    Hide the rows at the given positions.
    void
    Hide the rows at the given positions.
    void
    Show all rows that where previously hidden.
    void
    showRowIndexes(int... rowIndexes)
    Show the rows with the given indexes again.
    void
    Show the rows with the given indexes again.
    void
    showRowPosition(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

      void hideRowPositions(Collection<Integer> rowPositions)
      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

      void hideRowIndexes(Collection<Integer> rowIndexes)
      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

      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.
      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