@ThreadSafe public abstract class NavTab extends Object
| Constructor and Description |
|---|
NavTab() |
| Modifier and Type | Method and Description |
|---|---|
abstract Bookmark |
bookmark()
The bookmark for the page to which this tab links.
|
boolean |
isEnabled(VRequestCycle _cycle)
Answers whether or not the tab is to be enabled, when it is off the selection
path.
|
NavBar |
navBar()
The navigation bar that contains this tab.
|
Class<? extends Page> |
pageClass()
The class of pages to which this tab links, or null if there is no single class.
|
NavTab |
setNavBar(NavBar navBar)
Sets the navigation bar that contains this tab.
|
abstract String |
shortTitle(VRequestCycle _cycle)
A short title for this tab, suitable as the body of a link.
|
public NavTab()
public boolean isEnabled(VRequestCycle _cycle)
public final NavBar navBar()
NullPointerException - if the navbar has not been set.setNavBar(NavBar)public final NavTab setNavBar(NavBar navBar)
IllegalStateException - if a second call to this method is detected,
though such detection not guaranteed.navBar()public Class<? extends Page> pageClass()
public abstract String shortTitle(VRequestCycle _cycle)