org.apache.wicket.extensions.breadcrumb.panel
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:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BreadCrumbParticipantDelegate
public BreadCrumbParticipantDelegate(Component component)
- Construct.
- Parameters:
component
-
getComponent
public Component getComponent()
- Description copied from interface:
IBreadCrumbParticipant
- Gets the participating component. Typically, this is a panel.
- Specified by:
getComponent
in interface IBreadCrumbParticipant
- 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:
onActivate
in interface IBreadCrumbParticipant
- Parameters:
previous
- The previously active bread crumb participant, possibly null- See Also:
IBreadCrumbParticipant.onActivate(org.apache.wicket.extensions.breadcrumb.IBreadCrumbParticipant)
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.