org.olat.course.nodes.ta
Class TaskFormController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.core.gui.components.form.flexible.impl.FormBasicController
org.olat.course.nodes.ta.TaskFormController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable
public class TaskFormController
- extends FormBasicController
Provides a flexiform-based dialog for entering task assignment data,
including an info message and choices for assignment type, sampling and
preview.
- Author:
- twuersch
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TaskFormController
public TaskFormController(UserRequest ureq,
WindowControl wControl,
ModuleConfiguration config)
- Creates this controller.
- Parameters:
ureq - The user request.wControl - The window control.config - This task's configuration object.
getTaskType
public java.lang.String getTaskType()
- Returns:
- Task type field value.
getOptionalText
public java.lang.String getOptionalText()
- Returns:
- Optional text field value.
getIsSamplingWithReplacement
public boolean getIsSamplingWithReplacement()
- Returns:
- True if task is "Sampling With Replacement"
isTaskPreviewMode
public boolean isTaskPreviewMode()
- Returns:
- True if task is "Preview Mode".