Uses of Class
org.opencms.widgets.CmsSelectWidgetOption
Package
Description
Utility classes to be used for JSP pages.
Contains the widget implementations, these are GUI elements used in editors and dialogs of the OpenCms workplace.
-
Uses of CmsSelectWidgetOption in org.opencms.jsp.util
Modifier and TypeMethodDescriptionCmsSchemaInfo.Field.getParsedSelectOptions()
Tries to interpret the widget configuration as a select option configuration and returns the list of select options if this succeeds, and null otherwise.CmsSettingDefinitionWrapper.getParsedSelectOptions()
Tries to interpret the widget configuration as a select option configuration and returns the list of select options if this succeeds, and null otherwise. -
Uses of CmsSelectWidgetOption in org.opencms.widgets
Modifier and TypeMethodDescriptionstatic CmsSelectWidgetOption
CmsSelectWidgetOption.getDefaultOption
(List<CmsSelectWidgetOption> options) Returns the default option from the given list of select options, ornull
in case there is no default option in the given list.static CmsSelectWidgetOption
A_CmsFormatterWidget.getWidgetOptionForFormatter
(CmsObject cms, I_CmsFormatterBean formatter) Creates a widget option corresponding to a formatter bean for an external formatter.static CmsSelectWidgetOption
A_CmsFormatterWidget.getWidgetOptionForType
(CmsObject cms, String typeName) Creates a widget option for a resource type.Modifier and TypeMethodDescriptionstatic List<CmsSelectWidgetOption>
CmsSelectWidgetOption.getDefaultOptions
(List<CmsSelectWidgetOption> options) Returns a list of default options from the given list of select options.protected abstract List<CmsSelectWidgetOption>
A_CmsFormatterWidget.getFormatterOptions
(CmsObject cms, CmsADEConfigData config, String rootPath, boolean allRemoved) Gets the options corresponding to external (non-schema) formatters.protected List<CmsSelectWidgetOption>
CmsAddFormatterWidget.getFormatterOptions
(CmsObject cms, CmsADEConfigData config, String rootPath, boolean allRemoved) protected List<CmsSelectWidgetOption>
CmsRemoveFormatterWidget.getFormatterOptions
(CmsObject cms, CmsADEConfigData config, String rootPath, boolean allRemoved) protected static List<CmsSelectWidgetOption>
CmsAddFormatterWidget.getFormatterOptionsStatic
(CmsObject cms, CmsADEConfigData config, String rootPath, boolean allRemoved) Gets the options corresponding to external (non-schema) formatters.CmsVfsImageWidgetConfiguration.getSelectFormat()
Returns the list of select options for the format select box, must containCmsSelectWidgetOption
objects.protected List<CmsSelectWidgetOption>
A_CmsSelectWidget.getSelectOptions()
Returns the list of configured select options.protected abstract List<CmsSelectWidgetOption>
A_CmsFormatterWidget.getTypeOptions
(CmsObject cms, CmsADEConfigData config, boolean allRemoved) Gets the options corresponding to the schemas which define formatters.protected List<CmsSelectWidgetOption>
CmsAddFormatterWidget.getTypeOptions
(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved) protected List<CmsSelectWidgetOption>
CmsRemoveFormatterWidget.getTypeOptions
(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved) protected static List<CmsSelectWidgetOption>
CmsAddFormatterWidget.getTypeOptionsStatic
(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved) Gets the options corresponding to the schemas which define formatters.static List<CmsSelectWidgetOption>
CmsSelectWidgetOption.parseOptions
(String input) Parses a widget configuration String for select option values.protected List<CmsSelectWidgetOption>
A_CmsFormatterWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption>
A_CmsFormatterWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param, boolean allRemoved) Returns the list of configured select options, parsing the configuration String if required.protected List<CmsSelectWidgetOption>
A_CmsSelectWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Returns the list of configured select options, parsing the configuration String if required.protected List<CmsSelectWidgetOption>
CmsDisplayTypeSelectWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption>
CmsElementViewSelectWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption>
CmsMultiSelectGroupWidget.parseSelectOptions
(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption>
CmsMultiSelectGroupWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption>
CmsOrgUnitWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption>
CmsSelectGroupWidget.parseSelectOptions
(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) Returns the list of configured select options, parsing the configuration String if required.protected List<CmsSelectWidgetOption>
CmsSelectGroupWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption>
CmsUserWidget.parseSelectOptions
(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param) Modifier and TypeMethodDescriptionvoid
A_CmsSelectWidget.addSelectOption
(CmsSelectWidgetOption option) Adds a new select option to this widget.Modifier and TypeMethodDescriptionprotected String
CmsCategoryWidget.buildSelectBox
(String baseId, int level, List<CmsSelectWidgetOption> options, String selected, boolean hasError, boolean last) Generates html code for the category selection.static String
CmsSelectWidgetOption.createConfigurationString
(List<CmsSelectWidgetOption> options) Returns a select widget configuration String created from the given list of select options.static CmsSelectWidgetOption
CmsSelectWidgetOption.getDefaultOption
(List<CmsSelectWidgetOption> options) Returns the default option from the given list of select options, ornull
in case there is no default option in the given list.static List<CmsSelectWidgetOption>
CmsSelectWidgetOption.getDefaultOptions
(List<CmsSelectWidgetOption> options) Returns a list of default options from the given list of select options.I_CmsImageWidgetDynamicConfiguration.getFormatValues
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, List<CmsSelectWidgetOption> selectFormat, List<String> formatValues) Returns the matching format values for the given format select options.protected String
CmsVfsImageWidget.getSelectedValue
(CmsObject cms, List<CmsSelectWidgetOption> selectOptions, String currentValue) Returns the currently selected value of the select widget.protected void
A_CmsSelectWidget.setSelectOptions
(List<CmsSelectWidgetOption> selectOptions) Sets the list of configured select options.ModifierConstructorDescriptionA_CmsSelectWidget
(List<CmsSelectWidgetOption> configuration) Creates a select widget with the select options specified in the given configuration List.CmsComboWidget
(List<CmsSelectWidgetOption> configuration) Creates a combo widget with the select options specified in the given configuration List.CmsMultiSelectWidget
(List<CmsSelectWidgetOption> configuration) Creates a select widget with the select options specified in the given configuration List.CmsMultiSelectWidget
(List<CmsSelectWidgetOption> configuration, boolean asCheckboxes) Creates a select widget with the select options specified in the given configuration List.CmsRadioSelectWidget
(List<CmsSelectWidgetOption> configuration) Creates a select widget with the select options specified in the given configuration List.CmsSelectComboWidget
(List<CmsSelectWidgetOption> configuration) Creates a combo widget with the select options specified in the given configuration List.CmsSelectOnChangeReloadWidget
(List<CmsSelectWidgetOption> configuration) Creates a select widget with the select options specified in the given configuration List.CmsSelectWidget
(List<CmsSelectWidgetOption> configuration) Creates a select widget with the select options specified in the given configuration List.