|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FormItemContainer
Description:
FormContainer and FormComponent -> Composite Pattern
Implementors of FormContainer should also extend the olat Container and
override its put(.., Component) methods by throwing an exception -> use
add instead.
Initial Date: 24.11.2006
| Field Summary |
|---|
| Fields inherited from interface org.olat.core.gui.components.form.flexible.FormItem |
|---|
ERRORC, EXAMPLEC, LABELC |
| Fields inherited from interface org.olat.core.gui.components.form.flexible.FormBaseComponentIdProvider |
|---|
DISPPREFIX |
| Method Summary | |
|---|---|
void |
add(FormItem formComp)
add a formelement or container by adding subcomponents name_LABEL name_ERROR name_EXAMPLE |
void |
add(java.lang.String string,
java.util.Collection<FormItem> stepTitleLinks)
|
void |
add(java.lang.String name,
FormItem formComp)
add with different name |
void |
addDependencyRule(FormItemDependencyRule depRule)
add a dependency rule between a form item source and typically one or more form item targets. |
void |
evalDependencyRuleSetFor(UserRequest ureq,
FormItem formItem)
|
FormItem |
getFormComponent(java.lang.String name)
|
java.util.Map<java.lang.String,FormItem> |
getFormComponents()
the form components managed by this container |
void |
register(FormItem formComp)
register only, does not addsubcomponents, does not expose formItem in the velocity. |
void |
remove(FormItem formComp)
remove the component from this container |
void |
remove(java.lang.String name)
remove the component with the give name from this container |
void |
setRootForm(Form rootForm)
the getter is defined on FormItem |
| Methods inherited from interface org.olat.core.gui.components.form.flexible.FormItem |
|---|
addActionListener, clearError, doDispatchFormRequest, evalFormRequest, getAction, getActionListenersFor, getComponent, getErrorC, getErrorText, getExampleC, getExampleText, getLabelC, getLabelText, getName, getRootForm, getTranslator, getUserObject, hasError, hasExample, hasFocus, hasLabel, isEnabled, isMandatory, isVisible, reset, setEnabled, setErrorComponent, setErrorKey, setExampleKey, setFocus, setLabel, setLabelComponent, setMandatory, setTranslator, setUserObject, setVisible, showError, showExample, showLabel, validate |
| Methods inherited from interface org.olat.core.gui.components.form.flexible.FormBaseComponentIdProvider |
|---|
getFormDispatchId |
| Method Detail |
|---|
void add(FormItem formComp)
name - formComp -
void add(java.lang.String name,
FormItem formComp)
name - formComp - void register(FormItem formComp)
formComp - void remove(FormItem formComp)
formComp - void remove(java.lang.String name)
name - java.util.Map<java.lang.String,FormItem> getFormComponents()
FormItem getFormComponent(java.lang.String name)
name -
void setRootForm(Form rootForm)
setRootForm in interface FormItemrootForm - void addDependencyRule(FormItemDependencyRule depRule)
FormItemDependencyRule for more information.
depRule - FormItemDependencyRule
void evalDependencyRuleSetFor(UserRequest ureq,
FormItem formItem)
ureq - dispatchFormItem -
void add(java.lang.String string,
java.util.Collection<FormItem> stepTitleLinks)
string - stepTitleLinks -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||