org.olat.modules.wiki
Class BreadCrumbController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.modules.wiki.BreadCrumbController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable
public class BreadCrumbController
- extends BasicController
Description:
Keeps track of a list of visited elements like links. It's realized as a queue where the recently visited
element will be on top. It fires an event when a user clicks on an element of the queue. The
event is forwarded to the listening controller.
Initial Date: Jul 4, 2006
- Author:
- guido
|
Method Summary |
void |
addLink(java.lang.String name,
java.lang.String desc)
|
void |
event(UserRequest ureq,
Component source,
Event event)
abstract event method for subclasses. |
void |
removeLink(java.lang.String name)
should be called if a link should no longer be part of the queue |
| Methods inherited from class org.olat.core.gui.control.DefaultController |
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BreadCrumbController
public BreadCrumbController(UserRequest ureq,
WindowControl wControl)
addLink
public void addLink(java.lang.String name,
java.lang.String desc)
removeLink
public void removeLink(java.lang.String name)
- should be called if a link should no longer be part of the queue
- Parameters:
name - of the link
event
public void event(UserRequest ureq,
Component source,
Event event)
- Description copied from class:
DefaultController
- abstract event method for subclasses. the event received from the component
we are listening to are always rerouted to this method here, except when
the component has been disposed, in which case the events are simply
ignored.
- See Also:
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.components.Component,
org.olat.core.gui.control.Event)