Uses of Class
org.opencms.widgets.CmsSelectWidgetOption
-
Packages that use CmsSelectWidgetOption Package Description org.opencms.jsp.util Utility classes to be used for JSP pages.org.opencms.widgets 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
Methods in org.opencms.jsp.util that return types with arguments of type CmsSelectWidgetOption Modifier and Type Method Description java.util.List<CmsSelectWidgetOption>
CmsSchemaInfo.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.java.util.List<CmsSelectWidgetOption>
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
Methods in org.opencms.widgets that return CmsSelectWidgetOption Modifier and Type Method Description static CmsSelectWidgetOption
CmsSelectWidgetOption. getDefaultOption(java.util.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, java.lang.String typeName)
Creates a widget option for a resource type.Methods in org.opencms.widgets that return types with arguments of type CmsSelectWidgetOption Modifier and Type Method Description static java.util.List<CmsSelectWidgetOption>
CmsSelectWidgetOption. getDefaultOptions(java.util.List<CmsSelectWidgetOption> options)
Returns a list of default options from the given list of select options.protected abstract java.util.List<CmsSelectWidgetOption>
A_CmsFormatterWidget. getFormatterOptions(CmsObject cms, CmsADEConfigData config, java.lang.String rootPath, boolean allRemoved)
Gets the options corresponding to external (non-schema) formatters.protected java.util.List<CmsSelectWidgetOption>
CmsAddFormatterWidget. getFormatterOptions(CmsObject cms, CmsADEConfigData config, java.lang.String rootPath, boolean allRemoved)
protected java.util.List<CmsSelectWidgetOption>
CmsRemoveFormatterWidget. getFormatterOptions(CmsObject cms, CmsADEConfigData config, java.lang.String rootPath, boolean allRemoved)
protected static java.util.List<CmsSelectWidgetOption>
CmsAddFormatterWidget. getFormatterOptionsStatic(CmsObject cms, CmsADEConfigData config, java.lang.String rootPath, boolean allRemoved)
Gets the options corresponding to external (non-schema) formatters.java.util.List<CmsSelectWidgetOption>
CmsVfsImageWidgetConfiguration. getSelectFormat()
Returns the list of select options for the format select box, must containCmsSelectWidgetOption
objects.protected java.util.List<CmsSelectWidgetOption>
A_CmsSelectWidget. getSelectOptions()
Returns the list of configured select options.protected abstract java.util.List<CmsSelectWidgetOption>
A_CmsFormatterWidget. getTypeOptions(CmsObject cms, CmsADEConfigData config, boolean allRemoved)
Gets the options corresponding to the schemas which define formatters.protected java.util.List<CmsSelectWidgetOption>
CmsAddFormatterWidget. getTypeOptions(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved)
protected java.util.List<CmsSelectWidgetOption>
CmsRemoveFormatterWidget. getTypeOptions(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved)
protected static java.util.List<CmsSelectWidgetOption>
CmsAddFormatterWidget. getTypeOptionsStatic(CmsObject cms, CmsADEConfigData adeConfig, boolean allRemoved)
Gets the options corresponding to the schemas which define formatters.static java.util.List<CmsSelectWidgetOption>
CmsSelectWidgetOption. parseOptions(java.lang.String input)
Parses a widget configuration String for select option values.protected java.util.List<CmsSelectWidgetOption>
A_CmsFormatterWidget. parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
protected java.util.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 java.util.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 java.util.List<CmsSelectWidgetOption>
CmsDisplayTypeSelectWidget. parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
protected java.util.List<CmsSelectWidgetOption>
CmsElementViewSelectWidget. parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
protected java.util.List<CmsSelectWidgetOption>
CmsMultiSelectGroupWidget. parseSelectOptions(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param)
protected java.util.List<CmsSelectWidgetOption>
CmsMultiSelectGroupWidget. parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
protected java.util.List<CmsSelectWidgetOption>
CmsOrgUnitWidget. parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
protected java.util.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 java.util.List<CmsSelectWidgetOption>
CmsSelectGroupWidget. parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
protected java.util.List<CmsSelectWidgetOption>
CmsUserWidget. parseSelectOptions(CmsObject cms, I_CmsWidgetDialog widgetDialog, I_CmsWidgetParameter param)
Methods in org.opencms.widgets with parameters of type CmsSelectWidgetOption Modifier and Type Method Description void
A_CmsSelectWidget. addSelectOption(CmsSelectWidgetOption option)
Adds a new select option to this widget.Method parameters in org.opencms.widgets with type arguments of type CmsSelectWidgetOption Modifier and Type Method Description protected java.lang.String
CmsCategoryWidget. buildSelectBox(java.lang.String baseId, int level, java.util.List<CmsSelectWidgetOption> options, java.lang.String selected, boolean hasError, boolean last)
Generates html code for the category selection.static java.lang.String
CmsSelectWidgetOption. createConfigurationString(java.util.List<CmsSelectWidgetOption> options)
Returns a select widget configuration String created from the given list of select options.static CmsSelectWidgetOption
CmsSelectWidgetOption. getDefaultOption(java.util.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 java.util.List<CmsSelectWidgetOption>
CmsSelectWidgetOption. getDefaultOptions(java.util.List<CmsSelectWidgetOption> options)
Returns a list of default options from the given list of select options.java.util.List<java.lang.String>
I_CmsImageWidgetDynamicConfiguration. getFormatValues(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, java.util.List<CmsSelectWidgetOption> selectFormat, java.util.List<java.lang.String> formatValues)
Returns the matching format values for the given format select options.protected java.lang.String
CmsVfsImageWidget. getSelectedValue(CmsObject cms, java.util.List<CmsSelectWidgetOption> selectOptions, java.lang.String currentValue)
Returns the currently selected value of the select widget.protected void
A_CmsSelectWidget. setSelectOptions(java.util.List<CmsSelectWidgetOption> selectOptions)
Sets the list of configured select options.Constructor parameters in org.opencms.widgets with type arguments of type CmsSelectWidgetOption Constructor Description A_CmsSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.CmsComboWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a combo widget with the select options specified in the given configuration List.CmsMultiSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.CmsMultiSelectWidget(java.util.List<CmsSelectWidgetOption> configuration, boolean asCheckboxes)
Creates a select widget with the select options specified in the given configuration List.CmsRadioSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.CmsSelectComboWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a combo widget with the select options specified in the given configuration List.CmsSelectOnChangeReloadWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.CmsSelectWidget(java.util.List<CmsSelectWidgetOption> configuration)
Creates a select widget with the select options specified in the given configuration List.
-