|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MultipleSelectionElement
Description:
TODO: patrickb Class Description for MultipleSelectionElement
Initial Date: 04.01.2007
| 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 | |
|---|---|
java.util.Set<java.lang.String> |
getSelectedKeys()
|
boolean |
isAtLeastSelected(int howmany)
|
void |
selectAll()
Select all selection elements. |
void |
setEnabled(java.util.Set<java.lang.String> keys,
boolean isEnabled)
Enables or disables several checkboxes at once by applying setEnabled(String, boolean)
to the checkboxes with the keys given in keys. |
void |
setEnabled(java.lang.String key,
boolean isEnabled)
Enables or disables a checkbox. |
void |
setKeysAndValues(java.lang.String[] keys,
java.lang.String[] values,
java.lang.String[] cssClasses)
|
void |
setVisible(java.util.Set<java.lang.String> keys,
boolean isEnabled)
Shows or hides several checkboxes at once by applying setVisible(String, boolean)
to the checkboxes with the keys given in keys. |
void |
setVisible(java.lang.String key,
boolean isVisible)
Shows or hides a checkbox. |
void |
uncheckAll()
Incheck all selection elements. |
| Methods inherited from interface org.olat.core.gui.components.form.flexible.elements.SelectionElement |
|---|
getKey, getSize, getValue, isMultiselect, isSelected, select |
| 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, setRootForm, setTranslator, setUserObject, setVisible, showError, showExample, showLabel, validate |
| Methods inherited from interface org.olat.core.gui.components.form.flexible.FormBaseComponentIdProvider |
|---|
getFormDispatchId |
| Method Detail |
|---|
java.util.Set<java.lang.String> getSelectedKeys()
void setKeysAndValues(java.lang.String[] keys,
java.lang.String[] values,
java.lang.String[] cssClasses)
keys - values - cssClasses - The CSS classes that should be used in the form element for
each key-value pair or NULL not not use special stylingboolean isAtLeastSelected(int howmany)
howmany -
void selectAll()
void uncheckAll()
void setEnabled(java.lang.String key,
boolean isEnabled)
org.olat.core.gui.components.form.flexible.FormItem#setesetEnabled(boolean) which enables or disables
all checkboxes of this form element.
key - The key of the checkbox.isEnabled - true means enabled.
void setEnabled(java.util.Set<java.lang.String> keys,
boolean isEnabled)
setEnabled(String, boolean)
to the checkboxes with the keys given in keys.
keys - Keys of the checkboxes.isEnabled - Whether the checkboxes given in keys are to be enabled (true) or disabled (false).
void setVisible(java.lang.String key,
boolean isVisible)
FormItem.setVisible(boolean) which shows or hides
all checkboxes of this form element.
key - The key of the checkbox.isEnabled - true means visible.
void setVisible(java.util.Set<java.lang.String> keys,
boolean isEnabled)
setVisible(String, boolean)
to the checkboxes with the keys given in keys.
keys - Keys of the checkboxes.isEnabled - Whether the checkboxes given in keys are to be shown (true) or hidden (false).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||