public final class BreadCrumbPanelFactory extends Object implements IBreadCrumbPanelFactory
bread crumb panel
based on the
class it is constructed with.Constructor and Description |
---|
BreadCrumbPanelFactory(Class<? extends BreadCrumbPanel> panelClass)
Construct.
|
Modifier and Type | Method and Description |
---|---|
BreadCrumbPanel |
create(String componentId,
IBreadCrumbModel breadCrumbModel)
Creates a new
bread crumb panel instance. |
public BreadCrumbPanelFactory(Class<? extends BreadCrumbPanel> panelClass)
panelClass
- The class to use for creating instances. Must be of type BreadCrumbPanel
,
and must have constructor
BreadCrumbPanel.BreadCrumbPanel(String, IBreadCrumbModel)
public final BreadCrumbPanel create(String componentId, IBreadCrumbModel breadCrumbModel)
IBreadCrumbPanelFactory
bread crumb panel
instance. The provided component id
must be used when creating the panel.create
in interface IBreadCrumbPanelFactory
componentId
- The component id for the new panel.breadCrumbModel
- The bread crumb modelIBreadCrumbPanelFactory.create(java.lang.String,
org.apache.wicket.extensions.breadcrumb.IBreadCrumbModel)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.