Module org.apache.wicket.extensions
Class BreadCrumbParticipantDelegate
java.lang.Object
org.apache.wicket.extensions.breadcrumb.panel.BreadCrumbParticipantDelegate
- All Implemented Interfaces:
Serializable
,IBreadCrumbParticipant
,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.void
onActivate
(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, wait
Methods inherited from interface org.apache.wicket.extensions.breadcrumb.IBreadCrumbParticipant
getTitle
-
Constructor Details
-
BreadCrumbParticipantDelegate
Construct.- Parameters:
component
-
-
-
Method Details
-
getComponent
Description copied from interface:IBreadCrumbParticipant
Gets the participating component. Typically, this is a panel.- Specified by:
getComponent
in 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:
onActivate
in interfaceIBreadCrumbParticipant
- Parameters:
previous
- The previously active bread crumb participant, possibly null- See Also:
-