org.apache.wicket.extensions.breadcrumb.panel
Class BreadCrumbPanelFactory
java.lang.Object
org.apache.wicket.extensions.breadcrumb.panel.BreadCrumbPanelFactory
- All Implemented Interfaces:
- Serializable, IBreadCrumbPanelFactory, IClusterable
public final class BreadCrumbPanelFactory
- extends Object
- implements IBreadCrumbPanelFactory
Simple factory that creates instances of a bread crumb panel
based on the
class it is constructed with.
- Author:
- Eelco Hillenius
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BreadCrumbPanelFactory
public BreadCrumbPanelFactory(Class<? extends BreadCrumbPanel> panelClass)
- Construct.
- Parameters:
panelClass
- The class to use for creating instances. Must be of type BreadCrumbPanel
,
and must have constructor
BreadCrumbPanel.BreadCrumbPanel(String, IBreadCrumbModel)
create
public final BreadCrumbPanel create(String componentId,
IBreadCrumbModel breadCrumbModel)
- Description copied from interface:
IBreadCrumbPanelFactory
- Creates a new
bread crumb panel
instance. The provided component id
must be used when creating the panel.
- Specified by:
create
in interface IBreadCrumbPanelFactory
- Parameters:
componentId
- The component id for the new panel.breadCrumbModel
- The bread crumb model
- Returns:
- A new bread crumb panel instance
- See Also:
IBreadCrumbPanelFactory.create(java.lang.String,
org.apache.wicket.extensions.breadcrumb.IBreadCrumbModel)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.