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 forPanel/ComponentbasedIBreadCrumbParticipantthat decouples the implementation from the actual panel class.- Author:
- eelcohillenius
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BreadCrumbParticipantDelegate(org.apache.wicket.Component component)Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.wicket.ComponentgetComponent()Gets 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, wait
-
Methods inherited from interface org.apache.wicket.extensions.breadcrumb.IBreadCrumbParticipant
getTitle
-
-
-
-
Constructor Detail
-
BreadCrumbParticipantDelegate
public BreadCrumbParticipantDelegate(org.apache.wicket.Component component)
Construct.- Parameters:
component-
-
-
Method Detail
-
getComponent
public org.apache.wicket.Component 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:
IBreadCrumbParticipant.getComponent()
-
onActivate
public 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.- Specified by:
onActivatein interfaceIBreadCrumbParticipant- Parameters:
previous- The previously active bread crumb participant, possibly null- See Also:
IBreadCrumbParticipant.onActivate(org.apache.wicket.extensions.breadcrumb.IBreadCrumbParticipant)
-
-