org.gcube.portlets.user.reportgenerator.client.uibinder
Class SectionSwitchPanel

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.gcube.portlets.user.reportgenerator.client.uibinder.SectionSwitchPanel
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.HasVisibility, com.google.gwt.user.client.ui.IsRenderable, com.google.gwt.user.client.ui.IsWidget

public class SectionSwitchPanel
extends com.google.gwt.user.client.ui.Composite


Nested Class Summary
 
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
static String NEXT
           
static String PREV
           
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
SectionSwitchPanel(Presenter presenter)
           
 
Method Summary
 void hideNextButton()
          Hide the next botton in the UI
 void hidePrevButton()
          Hide the previous botton in the UI
 void setPageDisplayer(int currentPage, int totalPages)
          changes the pages label in the UI : e.g.
 void showNextButton()
          Shows the next botton in the UI
 void showPrevButton()
          Shows the previous botton in the UI
 
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
 
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, unsinkEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PREV

public static final String PREV

NEXT

public static final String NEXT
Constructor Detail

SectionSwitchPanel

public SectionSwitchPanel(Presenter presenter)
Method Detail

setPageDisplayer

public void setPageDisplayer(int currentPage,
                             int totalPages)
changes the pages label in the UI : e.g. Page x of y

Parameters:
currentPage - .
totalPages - .

showPrevButton

public void showPrevButton()
Shows the previous botton in the UI


showNextButton

public void showNextButton()
Shows the next botton in the UI


hidePrevButton

public void hidePrevButton()
Hide the previous botton in the UI


hideNextButton

public void hideNextButton()
Hide the next botton in the UI



Copyright © 2014. All Rights Reserved.