Module org.apache.wicket.extensions
Class BreadCrumbPanelFactory
java.lang.Object
org.apache.wicket.extensions.breadcrumb.panel.BreadCrumbPanelFactory
- All Implemented Interfaces:
Serializable,IBreadCrumbPanelFactory,org.apache.wicket.util.io.IClusterable
Simple factory that creates instances of a
bread crumb panel based on the
class it is constructed with.- Author:
- Eelco Hillenius
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBreadCrumbPanelFactory(Class<? extends BreadCrumbPanel> panelClass) Construct. -
Method Summary
Modifier and TypeMethodDescriptionfinal BreadCrumbPanelcreate(String componentId, IBreadCrumbModel breadCrumbModel) Creates a newbread crumb panelinstance.
-
Constructor Details
-
BreadCrumbPanelFactory
Construct.- Parameters:
panelClass- The class to use for creating instances. Must be of typeBreadCrumbPanel, and must have constructorBreadCrumbPanel(String, IBreadCrumbModel)
-
-
Method Details
-
create
Description copied from interface:IBreadCrumbPanelFactoryCreates a newbread crumb panelinstance. The provided component id must be used when creating the panel.- Specified by:
createin interfaceIBreadCrumbPanelFactory- Parameters:
componentId- The component id for the new panel.breadCrumbModel- The bread crumb model- Returns:
- A new bread crumb panel instance
- See Also:
-