|
Spiffy UI Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFlowPanel
org.spiffyui.client.nav.HasNavBarListenersPanel
org.spiffyui.client.MainHeader
public class MainHeader
This is the header for the main page.
Field Summary | |
---|---|
static java.lang.String |
HEADER_ACTIONS_BLOCK
The ID of the header actions block |
static java.lang.String |
HEADER_STRING
The ID of the header string section. |
static java.lang.String |
HEADER_TITLE
The ID of the header title section |
Constructor Summary | |
---|---|
MainHeader()
Creates a new MainHeader panel |
Method Summary | |
---|---|
void |
addHeaderTitleWidget(Widget w)
Add a widget to the header title |
java.lang.String |
getHeaderTitle()
Get the main title for the this header |
Anchor |
getLogout()
Get the Anchor object used for the logout link in the header bar |
protected HTMLPanel |
getPanel()
Get the HTML panel for this header |
java.lang.String |
getWelcomeString()
Gets the welcome string for the header |
void |
setHeaderTitle(java.lang.String string)
Set the main title for this header |
void |
setLogout(Anchor logout)
Set the Anchor used for the logout in the header |
void |
setWelcomeString(java.lang.String string)
Sets the username for display in the header |
Methods inherited from class org.spiffyui.client.nav.HasNavBarListenersPanel |
---|
addListener, fireEvent, fireEvent, firePreEvent, isEnabled, removeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String HEADER_STRING
public static final java.lang.String HEADER_TITLE
public static final java.lang.String HEADER_ACTIONS_BLOCK
Constructor Detail |
---|
public MainHeader()
Method Detail |
---|
public Anchor getLogout()
public void setLogout(Anchor logout)
logout
- the logout Anchorpublic void setWelcomeString(java.lang.String string)
string
- the welcome stringpublic java.lang.String getWelcomeString()
public void addHeaderTitleWidget(Widget w)
w
- widget for the header titlepublic void setHeaderTitle(java.lang.String string)
string
- The main title for this headerpublic java.lang.String getHeaderTitle()
protected HTMLPanel getPanel()
|
Spiffy UI Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |