|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.google.gwt.user.client.ui.Composite
org.gcube.portlets.user.templates.client.TitleBar
public class TitleBar
TitleBar
class is the top top bar component of the UI
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 |
---|
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
TitleBar(Presenter c)
Constructor |
Method Summary | |
---|---|
void |
clearEditedOnBy()
|
com.google.gwt.user.client.Command |
getNullCommand()
temporary command |
void |
hideNextButton()
Hide the next botton in the UI |
void |
hidePrevButton()
Hide the previous botton in the UI |
void |
setEditedOnBy(Date date,
String username)
changes the template name label in the UI |
void |
setPageDisplayer(int currentPage,
int totalPages)
changes the pages label in the UI : e.g. |
void |
setTemplateName(String name)
changes the template name label 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 |
---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, performDetachedInitialization, render, render, resolvePotentialElement, setWidget, wrapElement |
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 |
Constructor Detail |
---|
public TitleBar(Presenter c)
c
- the controller instance for this UI componentMethod Detail |
---|
public void setPageDisplayer(int currentPage, int totalPages)
currentPage
- .totalPages
- .public void setTemplateName(String name)
name
- .public void clearEditedOnBy()
public void setEditedOnBy(Date date, String username)
name
- .public void showPrevButton()
public void showNextButton()
public void hidePrevButton()
public void hideNextButton()
public com.google.gwt.user.client.Command getNullCommand()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |