org.gcube.portlets.user.collectionexplorer.client.panels
Class HeaderBar

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.collectionexplorer.client.panels.HeaderBar
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 HeaderBar
extends com.google.gwt.user.client.ui.Composite

HeaderBar class is the top bar component of the UI

Version:
January 2009 (0.1)
Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it

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 IMAGE_HELP
          help image
static String IMAGE_TOOLTIP_EN
          help tooltip
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
HeaderBar(Controller control)
          Constructor
 
Method Summary
 void hideFirstPageButton()
          Hide the next botton in the UI
 void hideNextButton()
          Hide the next botton in the UI
 void hidePrevButton()
          Hide the previous botton in the UI
 void setPageDisplayer(String html)
          changes the pages label in the UI : e.g.
 void showFirstPageButton()
          Shows the previous botton in the UI
 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

IMAGE_HELP

public static final String IMAGE_HELP
help image


IMAGE_TOOLTIP_EN

public static final String IMAGE_TOOLTIP_EN
help tooltip

See Also:
Constant Field Values
Constructor Detail

HeaderBar

public HeaderBar(Controller control)
Constructor

Parameters:
c - the controller instance for this UI component
Method Detail

setPageDisplayer

public void setPageDisplayer(String html)
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


showFirstPageButton

public void showFirstPageButton()
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


hideFirstPageButton

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



Copyright © 2014. All Rights Reserved.