org.olat.course.nodes.st
Class STCourseNodeDisplayConfigFormController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.core.gui.components.form.flexible.impl.FormBasicController
              extended by org.olat.course.nodes.st.STCourseNodeDisplayConfigFormController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class STCourseNodeDisplayConfigFormController
extends FormBasicController

Description:

The STCourseNodeDisplayConfigFormController displays the layout configuration form for an ST node. It lets the user decide if he wants to display a custom file layout, a system generated TOC layout or a system generated peekview layout. In both system generated layouts he can further define the number of columns (1 or 2).

When the peek view configuration is used, the children that should be displayed in the peekview must be selected manually. For performance reasons only 5 direct children can be selected by default. This behavior can be overridden by using the spring setter method setMaxPeekviewChildNodes() on the org.olat.course.nodes.st.STCourseNodeConfiguration bean

Events fired by this Controller

Initial Date: 15.09.2009

Author:
gnaegi, gnaegi@frentix.com, www.frentix.com

Field Summary
 
Fields inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
LAYOUT_CUSTOM, LAYOUT_DEFAULT, LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
 
Method Summary
 void updateModuleConfiguration(ModuleConfiguration moduleConfig)
          Update the given module config object from the data in the form
 
Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
dispose, event
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

updateModuleConfiguration

public void updateModuleConfiguration(ModuleConfiguration moduleConfig)
Update the given module config object from the data in the form

Parameters:
moduleConfig -