org.olat.course.editor
Class NodeConfigFormController

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.editor.NodeConfigFormController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class NodeConfigFormController
extends FormBasicController

Provides a FlexiForm that lets the user configure details for a course node.

Author:
twuersch

Field Summary
static int SHORT_TITLE_MAX_LENGTH
          Maximum length of a course's short title.
 
Fields inherited from class org.olat.core.gui.components.form.flexible.impl.FormBasicController
LAYOUT_CUSTOM, LAYOUT_DEFAULT, LAYOUT_HORIZONTAL, LAYOUT_VERTICAL
 
Constructor Summary
NodeConfigFormController(UserRequest ureq, WindowControl wControl, CourseNode courseNode, boolean withCancel)
          Initializes this controller.
 
Method Summary
 java.lang.String getDisplayOption()
          Return the selected option
 java.lang.String getDisplayTitle()
          Gets the title.
 java.lang.String getLearningObjectives()
          Gets the description of this course's objectives.
 java.lang.String getMenuTitle()
          Get the short title.
 
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
 

Field Detail

SHORT_TITLE_MAX_LENGTH

public static final int SHORT_TITLE_MAX_LENGTH
Maximum length of a course's short title.

See Also:
Constant Field Values
Constructor Detail

NodeConfigFormController

public NodeConfigFormController(UserRequest ureq,
                                WindowControl wControl,
                                CourseNode courseNode,
                                boolean withCancel)
Initializes this controller.

Parameters:
ureq - The user request.
wControl - The window control.
courseNode - The course node this controller will access.
withCancel - Decides whether to show a cancel button.
Method Detail

getMenuTitle

public java.lang.String getMenuTitle()
Get the short title.

Returns:
The short title.

getDisplayTitle

public java.lang.String getDisplayTitle()
Gets the title.

Returns:
The title.

getLearningObjectives

public java.lang.String getLearningObjectives()
Gets the description of this course's objectives.

Returns:
The description of this course's objectives.

getDisplayOption

public java.lang.String getDisplayOption()
Return the selected option

Returns: