org.olat.course.nodes.cal
Class CalEditController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.control.generic.tabbable.TabbableDefaultController
org.olat.core.gui.control.generic.tabbable.ActivateableTabbableDefaultController
org.olat.course.nodes.cal.CalEditController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable, Activateable, TabbableController
public class CalEditController
- extends ActivateableTabbableDefaultController
- implements ControllerEventListener
Description:
Edit controller for calendar course nodes
Initial Date: 4 nov. 2009
- Author:
- srosse, stephane.rosse@frentix.com, www.frentix.com
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CalEditController
public CalEditController(ModuleConfiguration config,
UserRequest ureq,
WindowControl wControl,
CalCourseNode calCourseNode,
ICourse course,
UserCourseEnvironment euce)
- Constructor for calendar page editor controller
- Parameters:
config - The node module configurationureq - The user requestcalCourseNode - The current calendar page course nodecourse -
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)
event
public void event(UserRequest ureq,
Controller source,
Event event)
- Description copied from class:
DefaultController
- the only method of the interface controllereventlistener. always gets
called when a controller we 'subscribed' to fires an event. we provide a
default implementation here since there are many controllers which are
standalone and need no subcontrollers
- See Also:
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.control.Controller, org.olat.core.gui.control.Event)
addTabs
public void addTabs(TabbedPane tabbedPane)
- Description copied from interface:
TabbableController
- Add tabs to the given tabbed pane
- Specified by:
addTabs in interface TabbableController
- Parameters:
tabbedPane - The tabbed pane- See Also:
org.olat.core.gui.control.generic.tabbable.TabbableController#addTabs(org.olat.core.gui.components.TabbedPane)
getPaneKeys
public java.lang.String[] getPaneKeys()
- Specified by:
getPaneKeys in class ActivateableTabbableDefaultController
- Returns:
- translation keys for the panes
- See Also:
ActivateableTabbableDefaultController.getPaneKeys()
getTabbedPane
public TabbedPane getTabbedPane()
- Specified by:
getTabbedPane in class ActivateableTabbableDefaultController
- Returns:
- tabbed pane
- See Also:
ActivateableTabbableDefaultController.getTabbedPane()
getStartDate
public static java.util.Date getStartDate(ModuleConfiguration config)
setStartDate
public static void setStartDate(ModuleConfiguration config,
java.util.Date startDate)
getAutoDate
public static boolean getAutoDate(ModuleConfiguration config)
setAutoDate
public static void setAutoDate(ModuleConfiguration config,
boolean autoDate)
getAutoSubscribe
public static boolean getAutoSubscribe(ModuleConfiguration config)
setAutoSubscribe
public static void setAutoSubscribe(ModuleConfiguration config,
boolean subscribe)