Class RowVisibilityChangeEvent


  • public class RowVisibilityChangeEvent
    extends com.google.gwt.event.shared.GwtEvent<RowVisibilityChangeHandler>
    Event fired when the range of visible rows changes e.g. because of scrolling.
    Since:
    7.4
    Author:
    Vaadin Ltd
    • Constructor Detail

      • RowVisibilityChangeEvent

        public RowVisibilityChangeEvent​(int firstVisibleRow,
                                        int visibleRowCount)
        Creates a new row visibility change event
        Parameters:
        firstVisibleRow - the index of the first visible row
        visibleRowCount - the number of visible rows
    • Method Detail

      • getFirstVisibleRow

        public int getFirstVisibleRow()
        Gets the index of the first row that is at least partially visible.
        Returns:
        the index of the first visible row
      • getVisibleRowCount

        public int getVisibleRowCount()
        Gets the number of at least partially visible rows.
        Returns:
        the number of visible rows
      • getVisibleRowRange

        public Range getVisibleRowRange()
        Gets the range of visible rows.
        Returns:
        the visible rows
        Since:
        7.6