org.olat.repository
Class ChooseStepsForm

java.lang.Object
  extended by org.olat.core.gui.components.Component
      extended by org.olat.core.gui.components.form.Form
          extended by org.olat.repository.ChooseStepsForm

public class ChooseStepsForm
extends Form


Field Summary
static java.lang.String KEY_COURSE_EDIT
           
static java.lang.String KEY_DETAILS_VIEW
           
static java.lang.String KEY_START_WIZARD
           
static java.lang.String KEY_START_WIZARD_ESEM
           
static java.lang.String MODUS_WITHOUT_ASSISTENTS
           
 
Fields inherited from class org.olat.core.gui.components.form.Form
CANCEL_IDENTIFICATION, ELEM_BUTTON_COMMAND_ID, EVNT_FORM_CANCELLED, EVNT_VALIDATION_NOK, EVNT_VALIDATION_OK, SUBMIT_IDENTIFICATION
 
Constructor Summary
ChooseStepsForm(java.lang.String name, Translator translator)
           
ChooseStepsForm(java.lang.String name, Translator translator, java.lang.String modus)
           
 
Method Summary
 java.lang.String getSelection()
          Return the selected key.
 boolean validate()
           
 
Methods inherited from class org.olat.core.gui.components.form.Form
addFormElement, addSubmitKey, addSubmitKey, addVisibilityDependsOnSelectionRule, getCheckBoxElement, getDateElement, getElementCount, getFormElement, getHTMLRendererSingleton, getIntegerElement, getMultipleSelectionElement, getNameIterator, getPasswordElement, getRadioButtonElement, getSelectedSubmitKey, getSingleSelectionElement, getTextAreaElement, getTextElement, getVisibilityDependsOnSelectionRules, getWikiMarkupTextAreaElement, hasMandatoryFields, hasWikiMarkupFields, isDisplayOnly, isValid, removeCancelButton, removeFormElements, setAllFormElements, setCancelButton, setCancelKey, setDisplayOnly, setSubmitKey, validate
 
Methods inherited from class org.olat.core.gui.components.Component
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getExtendedDebugInfo, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

KEY_START_WIZARD

public static final java.lang.String KEY_START_WIZARD
See Also:
Constant Field Values

KEY_COURSE_EDIT

public static final java.lang.String KEY_COURSE_EDIT
See Also:
Constant Field Values

KEY_DETAILS_VIEW

public static final java.lang.String KEY_DETAILS_VIEW
See Also:
Constant Field Values

KEY_START_WIZARD_ESEM

public static final java.lang.String KEY_START_WIZARD_ESEM
See Also:
Constant Field Values

MODUS_WITHOUT_ASSISTENTS

public static final java.lang.String MODUS_WITHOUT_ASSISTENTS
See Also:
Constant Field Values
Constructor Detail

ChooseStepsForm

public ChooseStepsForm(java.lang.String name,
                       Translator translator)

ChooseStepsForm

public ChooseStepsForm(java.lang.String name,
                       Translator translator,
                       java.lang.String modus)
Method Detail

validate

public boolean validate()
Specified by:
validate in class Form
Returns:
true: form validates, false: form contains invalid data

getSelection

public final java.lang.String getSelection()
Return the selected key.

Returns:
key value