public interface IHeaderPanel
| Modifier and Type | Method and Description |
|---|---|
void |
add(com.google.gwt.user.client.ui.Widget w)
Adds a widget to the header panel (back/forward button)
|
String |
getCaption()
Returns the current caption.
|
Button |
getLeftButton()
Returns the left button
|
Button |
getRightButton()
Returns the right button
|
void |
setCaption(String caption)
Sets the caption.
|
void |
setLeftButton(String buttonName)
Sets the left button with the given caption.
|
void |
setLeftButtonClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
Click handler for the left button.
|
void |
setRightButton(Button buttonInstance)
Sets the right button .
|
void |
setRightButton(String buttonName)
Sets the right button with the given caption.
|
void |
setRightButtonClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
Click handler for the right button.
|
void |
setVisible(boolean visible)
Sets the header panel visible or invisible.
|
void add(com.google.gwt.user.client.ui.Widget w)
w - the widgetvoid setCaption(String caption)
caption - .String getCaption()
void setLeftButton(String buttonName)
buttonName - the name of the button (caption)void setRightButton(Button buttonInstance)
buttonInstance - the button instancevoid setRightButton(String buttonName)
buttonName - the name of the button (caption)Button getLeftButton()
Button getRightButton()
void setLeftButtonClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
handler - the handlervoid setRightButtonClickHandler(com.google.gwt.event.dom.client.ClickHandler handler)
handler - the handlervoid setVisible(boolean visible)
visible - true if visibleCopyright © 2011–2015 SWM. All rights reserved.