org.cruxframework.crux.core.client.datasource.pager
Class PageEvent

java.lang.Object
  extended by com.google.web.bindery.event.shared.Event<H>
      extended by com.google.gwt.event.shared.GwtEvent<PageHandler>
          extended by org.cruxframework.crux.core.client.datasource.pager.PageEvent

Deprecated. Use DataProvider instead.

@Deprecated
public class PageEvent
extends com.google.gwt.event.shared.GwtEvent<PageHandler>

Author:
Gesse S. F. Dafe

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H>
 
Constructor Summary
PageEvent(HasPageHandlers source, int requestedPage)
          Deprecated. Constructor
 
Method Summary
 void cancel()
          Deprecated. Cancel the current event.
protected  void dispatch(PageHandler handler)
          Deprecated.  
static PageEvent fire(HasPageHandlers source, int requestedPage)
          Deprecated.  
 com.google.gwt.event.shared.GwtEvent.Type<PageHandler> getAssociatedType()
          Deprecated.  
 int getRequestedPage()
          Deprecated. Retrieve the page that was requested to the pager
 HasPageHandlers getSource()
          Deprecated.  
static com.google.gwt.event.shared.GwtEvent.Type<PageHandler> getType()
          Deprecated.  
 boolean isCanceled()
          Deprecated. Return if the event is canceled
 
Methods inherited from class com.google.gwt.event.shared.GwtEvent
assertLive, 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
 

Constructor Detail

PageEvent

public PageEvent(HasPageHandlers source,
                 int requestedPage)
Deprecated. 
Constructor

Parameters:
source -
requestedPage -
Method Detail

getSource

public HasPageHandlers getSource()
Deprecated. 
Overrides:
getSource in class com.google.gwt.event.shared.GwtEvent<PageHandler>

getType

public static com.google.gwt.event.shared.GwtEvent.Type<PageHandler> getType()
Deprecated. 

dispatch

protected void dispatch(PageHandler handler)
Deprecated. 
Specified by:
dispatch in class com.google.gwt.event.shared.GwtEvent<PageHandler>

getAssociatedType

public com.google.gwt.event.shared.GwtEvent.Type<PageHandler> getAssociatedType()
Deprecated. 
Overrides:
getAssociatedType in class com.google.gwt.event.shared.GwtEvent<PageHandler>

fire

public static PageEvent fire(HasPageHandlers source,
                             int requestedPage)
Deprecated. 

getRequestedPage

public int getRequestedPage()
Deprecated. 
Retrieve the page that was requested to the pager

Returns:
the page

isCanceled

public boolean isCanceled()
Deprecated. 
Return if the event is canceled

Returns:
true if canceled

cancel

public void cancel()
Deprecated. 
Cancel the current event. The Pageable widget does not change the page if canceled



Copyright © 2014. All rights reserved.