|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectComplexPanel
org.spiffyui.client.nav.NavSection
public class NavSection
This widget represents a single section that contains multiple items in the navigation menu.
Constructor Summary | |
---|---|
NavSection(java.lang.String id,
java.lang.String displayName)
Creates a new section in the navigation bar |
Method Summary | |
---|---|
void |
add(Widget w)
|
java.lang.String |
getDisplayName()
Gets the display name of this section |
NavItem |
getNavItem(Anchor a)
Returns the NavItem that owns the specified Anchor |
java.lang.String |
getTitle()
|
protected void |
setNavBar(MainNavBar bar)
Set the navigation bar reference so the navigation bar can add listeners to the anchors in this section |
void |
setTitle(java.lang.String title)
|
protected void |
updateSelectedState(Anchor a)
Updates the selection state to mark the specified anchor selected and the rest unselected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NavSection(java.lang.String id, java.lang.String displayName)
id
- the id for the sectiondisplayName
- the display name for that sectionMethod Detail |
---|
public void setTitle(java.lang.String title)
public java.lang.String getTitle()
public void add(Widget w)
public java.lang.String getDisplayName()
protected void setNavBar(MainNavBar bar)
bar
- the navigation barprotected void updateSelectedState(Anchor a)
a
- the anchor to selectpublic NavItem getNavItem(Anchor a)
a
- - the Anchor of interest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |