| |
|
| org.apache.wicket.markup.html.panel.Panel org.apache.wicket.extensions.breadcrumb.BreadCrumbBar
BreadCrumbBar | public class BreadCrumbBar extends Panel implements IBreadCrumbModel(Code) | | A component that renders bread crumbs. By default, it renders a horizontal
list from left to right (oldest left) with bread crumb links and a ' / ' as a
seperator, e.g.
first / second / third
This component also functions as a implementation of
IBreadCrumbModel bread crumb model . This component holds the state
as well as doing the rendering. Override and provide your own markup file if
you want to work with other elements, e.g. uls instead of spans.
author: Eelco Hillenius |
BreadCrumbBar | public BreadCrumbBar(String id)(Code) | | Construct.
Parameters: id - Component id |
activate | final protected void activate(IBreadCrumbParticipant breadCrumbParticipant)(Code) | | Activates the bread crumb participant.
Parameters: breadCrumbParticipant - The participant to activate |
getEnableLinkToCurrent | protected boolean getEnableLinkToCurrent()(Code) | | Gets whether the current bread crumb should be displayed as a link (e.g.
for refreshing) or as a disabled link (effictively just a label). The
latter is the default. Override if you want different behavior.
Whether the current bread crumb should be displayed as a link;this method returns false |
newBreadCrumbComponent | protected Component newBreadCrumbComponent(String id, int index, int total, IBreadCrumbParticipant breadCrumbParticipant)(Code) | | Creates a new bread crumb component. That component will be rendered as
part of the bread crumbs list (which is a <ul> <li>
structure).
Parameters: id - The component id Parameters: index - The index of the bread crumb Parameters: total - The total number of bread crumbs in the current model Parameters: breadCrumbParticipant - the bread crumb A new bread crumb component |
|
|
|