org.cruxframework.crux.widgets.client.paging
Class SequentialPager

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.cruxframework.crux.widgets.client.paging.AbstractPager
                  extended by org.cruxframework.crux.widgets.client.paging.NavigationButtonsPager
                      extended by org.cruxframework.crux.widgets.client.paging.SequentialPager
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.HasEnabled, com.google.gwt.user.client.ui.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget, HasPageHandlers, Pager

public class SequentialPager
extends NavigationButtonsPager

A pager which does not know the total number of pages. So, it can only move the cursor to next or to previous page.

Author:
Gesse S. F. Dafe

Nested Class Summary
 
Nested classes/interfaces inherited from class org.cruxframework.crux.widgets.client.paging.NavigationButtonsPager
NavigationButtonsPager.ButtonPanelCreator, NavigationButtonsPager.MobileButtonPanelCreator
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SequentialPager()
          Constructor
 
Method Summary
protected  void hideLoading()
          Hides the loading information
protected  void onUpdate()
          Refreshes the pager
protected  void showLoading()
          Shows some information to tell user that operation is in progress
 
Methods inherited from class org.cruxframework.crux.widgets.client.paging.NavigationButtonsPager
createFirstPageButton, createLastPageButton, createNextButton, createPreviousButton, update
 
Methods inherited from class org.cruxframework.crux.widgets.client.paging.AbstractPager
addPageHandler, checkPageable, firstPage, getCurrentPage, getPageCount, goToPage, isEnabled, isLastPage, lastPage, nextPage, previousPage, setEnabled, setPageable
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.cruxframework.crux.widgets.client.paging.Pager
setPageable
 
Methods inherited from interface com.google.gwt.user.client.ui.IsWidget
asWidget
 
Methods inherited from interface org.cruxframework.crux.widgets.client.event.paging.HasPageHandlers
addPageHandler
 
Methods inherited from interface com.google.gwt.event.shared.HasHandlers
fireEvent
 
Methods inherited from interface com.google.gwt.user.client.ui.HasVisibility
isVisible, setVisible
 
Methods inherited from interface com.google.gwt.user.client.ui.HasEnabled
isEnabled, setEnabled
 

Constructor Detail

SequentialPager

public SequentialPager()
Constructor

Method Detail

onUpdate

protected void onUpdate()
Description copied from class: AbstractPager
Refreshes the pager

Specified by:
onUpdate in class AbstractPager

showLoading

protected void showLoading()
Description copied from class: AbstractPager
Shows some information to tell user that operation is in progress

Specified by:
showLoading in class AbstractPager
See Also:
AbstractPager.showLoading()

hideLoading

protected void hideLoading()
Description copied from class: AbstractPager
Hides the loading information

Specified by:
hideLoading in class AbstractPager
See Also:
AbstractPager.hideLoading()


Copyright © 2015. All rights reserved.