org.olat.core.gui.components.form.flexible.impl.elements
Class TextAreaElementImpl
java.lang.Object
org.olat.core.gui.components.form.flexible.impl.FormItemImpl
org.olat.core.gui.components.form.flexible.impl.elements.AbstractTextElement
org.olat.core.gui.components.form.flexible.impl.elements.TextAreaElementImpl
- All Implemented Interfaces:
- InlineElement, TextElement, FormBaseComponentIdProvider, FormItem
public abstract class TextAreaElementImpl
- extends AbstractTextElement
Description:
TextArea-Element for FlexiForm
Initial Date: 31.01.2008
- Author:
- rhaag
|
Constructor Summary |
TextAreaElementImpl(java.lang.String name,
java.lang.String predefinedValue,
int rows,
int cols,
boolean isAutoHeightEnabled)
Constructor for specialized TextElements, i.e. |
|
Method Summary |
void |
evalFormRequest(UserRequest ureq)
gets called if the implementing component is part of a form which gets
partly submitted -> extract data for you and store it temporarly for
redisplay without a validation |
void |
setTranslator(Translator translator)
|
| Methods inherited from class org.olat.core.gui.components.form.flexible.impl.elements.AbstractTextElement |
getValue, getValue, isEmpty, isEmpty, reset, setDisplaySize, setIsEqualCheck, setItemValidatorProvider, setMaxLength, setNewOriginalValue, setNotEmptyCheck, setNotLongerThanCheck, setRegexMatchCheck, setValue, validate |
| Methods inherited from class org.olat.core.gui.components.form.flexible.impl.FormItemImpl |
addActionListener, clearError, doDispatchFormRequest, getAction, getActionListenersFor, getComponent, getEmptyDisplayText, getErrorC, getErrorText, getExampleC, getExampleText, getFormDispatchId, getLabelC, getLabelText, getName, getRootForm, getTranslator, getUserObject, hasError, hasExample, hasFocus, hasLabel, isEnabled, isInlineEditingOn, isMandatory, isVisible, setEmptyDisplayText, setEnabled, setErrorComponent, setErrorKey, setExampleKey, setFocus, setLabel, setLabelComponent, setMandatory, setRootForm, setUserObject, setVisible, showError, showExample, showLabel, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.olat.core.gui.components.form.flexible.FormItem |
addActionListener, clearError, doDispatchFormRequest, getAction, getActionListenersFor, getComponent, getErrorC, getErrorText, getExampleC, getExampleText, getLabelC, getLabelText, getName, getRootForm, getTranslator, getUserObject, hasError, hasExample, hasFocus, hasLabel, isEnabled, isMandatory, isVisible, setEnabled, setErrorComponent, setErrorKey, setExampleKey, setFocus, setLabel, setLabelComponent, setMandatory, setRootForm, setUserObject, setVisible, showError, showExample, showLabel |
TextAreaElementImpl
public TextAreaElementImpl(java.lang.String name,
java.lang.String predefinedValue,
int rows,
int cols,
boolean isAutoHeightEnabled)
- Constructor for specialized TextElements, i.e. IntegerElementImpl.
- Parameters:
name - predefinedValue - Initial valuerows - the number of lines or -1 to use default valuecols - the number of characters per line or -1 to use 100% of the
available spaceisAutoHeightEnabled - true: element expands to fit content height,
(max 100 lines); false: specified rows used
evalFormRequest
public void evalFormRequest(UserRequest ureq)
- Description copied from class:
FormItemImpl
- gets called if the implementing component is part of a form which gets
partly submitted -> extract data for you and store it temporarly for
redisplay without a validation
- Specified by:
evalFormRequest in interface FormItem- Specified by:
evalFormRequest in class FormItemImpl
- See Also:
org.olat.core.gui.components.form.flexible.FormItemImpl#evalFormRequest(org.olat.core.gui.UserRequest)
setTranslator
public void setTranslator(Translator translator)
- Specified by:
setTranslator in interface FormItem- Overrides:
setTranslator in class FormItemImpl