Package | Description |
---|---|
org.opencms.widgets |
Contains the widget implementations, these are GUI elements used in editors and dialogs of the OpenCms workplace.
|
Modifier and Type | Method and Description |
---|---|
static CmsSelectWidgetOption |
CmsSelectWidgetOption.getDefaultOption(java.util.List<CmsSelectWidgetOption> options)
Returns the default option from the given list of select options,
or
null 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.
|
Modifier and Type | Method and 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 contain
CmsSelectWidgetOption 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> |
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> |
CmsMultiSelectGroupWidget.parseSelectOptions(CmsObject cms,
CmsMessages messages,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
CmsSelectGroupWidget.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> |
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> |
CmsMultiSelectGroupWidget.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) |
protected java.util.List<CmsSelectWidgetOption> |
CmsDisplayTypeSelectWidget.parseSelectOptions(CmsObject cms,
I_CmsWidgetDialog widgetDialog,
I_CmsWidgetParameter param) |
protected java.util.List<CmsSelectWidgetOption> |
CmsUserWidget.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.
|
Modifier and Type | Method and Description |
---|---|
void |
A_CmsSelectWidget.addSelectOption(CmsSelectWidgetOption option)
Adds a new select option to this widget.
|
Modifier and Type | Method and 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,
or
null 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 and 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.
|