@ThreadSafe public abstract class NavBar extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
NavBar.SessionScope
Session scope for instances of NavBar.
|
Constructor and Description |
---|
NavBar() |
Modifier and Type | Method and Description |
---|---|
int |
defaultTabIndex()
The index of the default tab.
|
(package private) NavBar.HashKey |
hashKey()
The hash key for this bar's session scope.
|
abstract SuperTab |
superTab()
The tab that controls the visibility of this bar.
|
abstract List<NavTab> |
tabList()
A list of the navigation tabs contained within this bar.
|
NavTab |
tabOfType(Class<? extends Page> pageClass,
VRequestCycle cycle)
Returns the first tab of a particular tab type, within this bar.
|
public NavBar()
public int defaultTabIndex()
NavBar.HashKey hashKey()
public abstract SuperTab superTab()
public abstract List<NavTab> tabList()
public final NavTab tabOfType(Class<? extends Page> pageClass, VRequestCycle cycle)
IllegalStateException
- if this bar contains no tab of the specified type