org.gcube.portlets.user.results.client.panels
public class HeaderBar extends com.google.gwt.user.client.ui.Composite
HeaderBar class is the top bar component of the UI| Modifier and Type | Field and Description |
|---|---|
static String |
IMAGE_HELP
help image
|
static String |
IMAGE_TOOLTIP_EN
help tooltip
|
| Constructor and Description |
|---|
HeaderBar(Controller control)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.user.client.ui.HorizontalPanel |
cloneSwitchPagePanel()
clone the page switchpanel to place it also at the bottom of the page
|
void |
enableMovePageresults(boolean enable) |
void |
enableSaveButton(boolean enabled) |
void |
enableSaveQuery(Controller control,
boolean enable) |
String |
getCurrentBasket() |
com.google.gwt.user.client.Command |
getNullCommand()
temporary command
|
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 |
setCurrentBasket(String html) |
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
|
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidgetaddAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEventsaddStyleDependentName, 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, unsinkEventspublic static final String IMAGE_HELP
public static final String IMAGE_TOOLTIP_EN
public HeaderBar(Controller control)
c - the controller instance for this UI componentpublic void setPageDisplayer(String html)
currentPage - .totalPages - .public void showPrevButton()
public void showFirstPageButton()
public void showNextButton()
public void hidePrevButton()
public void hideNextButton()
public void hideFirstPageButton()
public com.google.gwt.user.client.Command getNullCommand()
public void enableSaveButton(boolean enabled)
public String getCurrentBasket()
public void setCurrentBasket(String html)
public com.google.gwt.user.client.ui.HorizontalPanel cloneSwitchPagePanel()
public void enableMovePageresults(boolean enable)
public void enableSaveQuery(Controller control, boolean enable)
control - the controller instanceCopyright © 2013. All Rights Reserved.