public class PageEvent extends com.google.gwt.event.shared.GwtEvent<PageHandler>
| Constructor and Description |
|---|
PageEvent(HasPageHandlers source,
int requestedPage)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the current event.
|
protected void |
dispatch(PageHandler handler) |
static PageEvent |
fire(HasPageHandlers source,
int requestedPage) |
com.google.gwt.event.shared.GwtEvent.Type<PageHandler> |
getAssociatedType() |
int |
getRequestedPage()
Retrieve the page that was requested to the pager
|
HasPageHandlers |
getSource() |
static com.google.gwt.event.shared.GwtEvent.Type<PageHandler> |
getType() |
boolean |
isCanceled()
Return if the event is canceled
|
public PageEvent(HasPageHandlers source, int requestedPage)
source - requestedPage - public HasPageHandlers getSource()
getSource in class com.google.gwt.event.shared.GwtEvent<PageHandler>public static com.google.gwt.event.shared.GwtEvent.Type<PageHandler> getType()
protected void dispatch(PageHandler handler)
dispatch in class com.google.gwt.event.shared.GwtEvent<PageHandler>public com.google.gwt.event.shared.GwtEvent.Type<PageHandler> getAssociatedType()
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<PageHandler>public static PageEvent fire(HasPageHandlers source, int requestedPage)
public int getRequestedPage()
public boolean isCanceled()
public void cancel()
Copyright © 2015. All rights reserved.