Module org.apache.wicket.extensions
Class BreadCrumbParticipantDelegate
java.lang.Object
org.apache.wicket.extensions.breadcrumb.panel.BreadCrumbParticipantDelegate
- All Implemented Interfaces:
Serializable,IBreadCrumbParticipant,org.apache.wicket.util.io.IClusterable
public abstract class BreadCrumbParticipantDelegate
extends Object
implements IBreadCrumbParticipant
Base implementation for
Panel/ Component based IBreadCrumbParticipant
that decouples the implementation from the actual panel class.- Author:
- eelcohillenius
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the participating component.voidonActivate(IBreadCrumbParticipant previous) If the previous participant is not null (and a component, which it should be), replace that component on it's parent with this one.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.wicket.extensions.breadcrumb.IBreadCrumbParticipant
getTitle
-
Constructor Details
-
BreadCrumbParticipantDelegate
Construct.- Parameters:
component-
-
-
Method Details
-
getComponent
Description copied from interface:IBreadCrumbParticipantGets the participating component. Typically, this is a panel.- Specified by:
getComponentin interfaceIBreadCrumbParticipant- Returns:
- The participating component, must return a non-null value
- See Also:
-
onActivate
If the previous participant is not null (and a component, which it should be), replace that component on it's parent with this one.- Specified by:
onActivatein interfaceIBreadCrumbParticipant- Parameters:
previous- The previously active bread crumb participant, possibly null- See Also:
-