com.vaadin.client.widget.escalator
Class RowVisibilityChangeEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<RowVisibilityChangeHandler>
com.vaadin.client.widget.escalator.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
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
com.google.gwt.event.shared.GwtEvent.Type<H> |
|
Constructor Summary |
RowVisibilityChangeEvent(int firstVisibleRow,
int visibleRowCount)
Creates a new row visibility change event |
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
assertLive, getSource, isLive, kill, revive |
| Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final com.google.gwt.event.shared.GwtEvent.Type<RowVisibilityChangeHandler> TYPE
- The type of this event.
RowVisibilityChangeEvent
public RowVisibilityChangeEvent(int firstVisibleRow,
int visibleRowCount)
- Creates a new row visibility change event
- Parameters:
firstVisibleRow - the index of the first visible rowvisibleRowCount - the number of visible rows
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 com.vaadin.shared.ui.grid.Range getVisibleRowRange()
- Gets the range of visible rows.
- Returns:
- the visible rows
- Since:
- 7.6
getAssociatedType
public com.google.gwt.event.shared.GwtEvent.Type<RowVisibilityChangeHandler> getAssociatedType()
- Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<RowVisibilityChangeHandler>
dispatch
protected void dispatch(RowVisibilityChangeHandler handler)
- Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<RowVisibilityChangeHandler>
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.